1.0.1 • Published 4 years ago
light-dark-theme v1.0.1
LightDarkTheme
The LightDarkTheme
component provides light/dark theme to its children components created using Blueprint UI toolkit.
More details about dark theme in blueprint can be found here: https://blueprintjs.com/docs/#core/typography.dark-theme
Properties
The component accepts the following properties:
darkMode
- PropTypes.bool
- Three values are recognized:
- true = dark mode (dark color & background are set to children +
.bp3-dark
class is injected into children) - false = light mode (light color & background are set to children)
- undefined = transparent (nothing is set)
- true = dark mode (dark color & background are set to children +
style
- PropTypes.object
- custom style used for children