Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Latest commit

 

History

History
35 lines (22 loc) · 844 Bytes

themes.md

File metadata and controls

35 lines (22 loc) · 844 Bytes

Themes

formidable-charts has a set of beautiful preset themes ready to go. We default to the simple theme, but if you want to try out the whole set, here's how:

import { LineChart, Themes } from "formidable-charts";

class MyChart extends Component {
  render() {
    return (
      <LineChart theme={Themes.dark} />
    )
  }
}

Right now we have 4 themes you can choose from:

bright - A bright, fun theme.

bright

simple - A simple, yet elegant theme.

simple

dark - Uh oh who turned the lights out. A dark theme for your charts.

dark

danceparty - Use this one carefully. You might have too much fun.

danceparty

Keep your eyes peeled, there are more themes on the way!