renatomoor / storybook-tailwind-dark-mode

MIT License
20 stars 16 forks source link

in build mode - dark mode isn't working as it should #6

Closed ghost closed 2 years ago

ghost commented 2 years ago

Works great in dev mode. But after building the storybook-static folder. Tailwind styles are applied to components. But dark mode button isn't working anymore.

It seems to not be tailwind's fault - I've a page with component for 'dark mode toggle' and inside storybook the dark-toggling work fine. Any troubleshooting on the issue dark mode button not operable in build mode?

ghost commented 2 years ago

Huh, re-started the browser and runs fine in build as well. Weird these bugs. Closing issue.