hipstersmoothie / storybook-dark-mode

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

feat: add update_dark_mode event #182

Closed frassinier closed 2 years ago

frassinier commented 2 years ago

In docs mode, Storybook won't display its toolbar by default. I suggest listening to UPDATE_DARK_MODE event to act as a click on the toolbar menu item. In that case, I can put a CTA on the Doc page, to control the whole Storybook appearance.

frassinier commented 2 years ago

@hipstersmoothie What do you think about that?

hipstersmoothie commented 2 years ago

:rocket: PR was released in v1.1.0 :rocket: