You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-13Lines changed: 12 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
High Quality **Dashboard / Admin / Analytics template** that works great on any smartphone, tablet or desktop. Available as **Open Source as MIT license.**
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.
155
154
156
155
Possible `initialStyle` values:
157
-
* light
158
-
* dark
159
-
* color
156
+
*`light`
157
+
*`dark`
158
+
*`color`
160
159
161
160
Possible `initialColor` values:
162
-
* primary
163
-
* success
164
-
* info
165
-
* warning
166
-
* danger
167
-
* indigo
168
-
* purple
169
-
* pink
170
-
* yellow
161
+
*`primary`
162
+
*`success`
163
+
*`info`
164
+
*`warning`
165
+
*`danger`
166
+
*`indigo`
167
+
*`purple`
168
+
*`pink`
169
+
*`yellow`
171
170
172
171
### Programatic Theme Changing
173
172
You can change the color scheme on runtime by using the `ThemeConsumer` from the components. Example:
0 commit comments