hipstersmoothie / storybook-dark-mode

A storybook addon that lets your users toggle between dark and light mode.
MIT License
443 stars 56 forks source link

add dark/light class to manager + optionally set classes on the preview #107

Closed hipstersmoothie closed 4 years ago

hipstersmoothie commented 4 years ago

This PR makes the work done in #102 optional and off by default. It also applies the dark/light class to the manager.

📦 Published PR as canary version: 0.5.1-canary.107.1984.0
:sparkles: Test out this PR locally via: ```sh npm install storybook-dark-mode@0.5.1-canary.107.1984.0 # or yarn add storybook-dark-mode@0.5.1-canary.107.1984.0 ```
hipstersmoothie commented 4 years ago

Tested and works as expected

hipstersmoothie commented 4 years ago

:rocket: PR was released in v0.6.0 :rocket: