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
* css and className changes for color mode
* docs color mode theme switch
* lint
* Added more info on themes
* Update docs/components_page/components/form.md
Co-authored-by: Tom Begley <tomcbegley@gmail.com>
* fixed stack style
* align theme toggle to right & format as btn
* lint
* fixed stack examples
* make examples pages always a light theme
---------
Co-authored-by: Tom Begley <tomcbegley@gmail.com>
Copy file name to clipboardExpand all lines: docs/components_page/components/form.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ The `FormFeedback` component should be added to a `html.Div` containing the `Inp
49
49
50
50
`Form` and other components can also be used with _dash-core-components_.
51
51
52
+
Note that Bootstrap themes are not automatically applied to components such as _dash-core-components_, _dash-ag-grid_, or _DataTable_. For more information on styling other Dash components with a Bootstrap theme see the [Dash Bootstrap Theme Explorer](https://hellodash.pythonanywhere.com/) site.
Copy file name to clipboardExpand all lines: docs/content/docs/themes.md
+39Lines changed: 39 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,45 @@ To start with, we recommend experimenting with some of the Bootswatch themes ava
59
59
60
60
Check out the [theme explorer](/docs/themes/explorer/) for a live demo of dash-bootstrap-components using all of the different available themes. You may also like to check out the [dash-bootstrap-css](https://github.com/tcbegley/dash-bootstrap-css) project which contains Bootstrap stylesheets that apply consistent styling to various components from dash-core-components.
61
61
62
+
## Light and Dark Color Modes
63
+
64
+
_Available in dash-bootstrap-components>=1.5.0_
65
+
66
+
To toggle between a light and dark mode in your app, create a component to switch the theme. For example, add a component like this to the layout:
0 commit comments