Update README.md

This commit is contained in:
Tomasz O
2019-08-14 23:46:44 +02:00
committed by GitHub
parent 8aa49fe8ae
commit 896b24dc86

View File

@@ -2,7 +2,6 @@
High Quality **Dashboard / Admin / Analytics template** that works great on any smartphone, tablet or desktop. Available as **Open Source as MIT license.** High Quality **Dashboard / Admin / Analytics template** that works great on any smartphone, tablet or desktop. Available as **Open Source as MIT license.**
- [View Demo](http://dashboards.webkom.co/jquery/airframe)
- [View Demo](http://dashboards.webkom.co/react/airframe/) - [View Demo](http://dashboards.webkom.co/react/airframe/)
- [jQuery Version](http://dashboards.webkom.co/jquery/airframe) - [jQuery Version](http://dashboards.webkom.co/jquery/airframe)
- [Next Version](http://airframe.nextjs.webkom.co) - _Documentation in preparation_ - [Next Version](http://airframe.nextjs.webkom.co) - _Documentation in preparation_
@@ -154,20 +153,20 @@ export const RoutedSidebars = () => (
You can set the color scheme for the sidebar and navbar by providing `initialStyle` and `initialColor` to the `<ThemeProvider>` component which should be wrapping the `<Layout>` component. You can set the color scheme for the sidebar and navbar by providing `initialStyle` and `initialColor` to the `<ThemeProvider>` component which should be wrapping the `<Layout>` component.
Possible `initialStyle` values: Possible `initialStyle` values:
* light * `light`
* dark * `dark`
* color * `color`
Possible `initialColor` values: Possible `initialColor` values:
* primary * `primary`
* success * `success`
* info * `info`
* warning * `warning`
* danger * `danger`
* indigo * `indigo`
* purple * `purple`
* pink * `pink`
* yellow * `yellow`
### Programatic Theme Changing ### Programatic Theme Changing
You can change the color scheme on runtime by using the `ThemeConsumer` from the components. Example: You can change the color scheme on runtime by using the `ThemeConsumer` from the components. Example: