1.0.1 • Published 4 years ago

light-dark-theme v1.0.1

Weekly downloads
3
License
MIT
Repository
-
Last release
4 years ago

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)

style

  • PropTypes.object
  • custom style used for children
1.0.1

4 years ago

1.0.0

4 years ago