hipstersmoothie / storybook-dark-mode

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

Add Ability to Hide Sun/Moon Toggle #238

Open spaceninja opened 1 year ago

spaceninja commented 1 year ago

By default the Storybook UI will switch between the light and dark theme, but once you customize the theme, that feature goes away.

I'm using this plugin to provide a custom light and dark theme and preserve the ability for them to shift automatically with the system.

However, I don't actually want the sun/moon toggle. Is there a way to suppress it, while keeping the functionality?

hipstersmoothie commented 1 year ago

Not currently. Would merge a PR that adds this thought!