renatomoor / storybook-tailwind-dark-mode

MIT License
20 stars 16 forks source link

Add Tailwind functionality to change dark mode class name #18

Closed freddyamarante closed 1 year ago

freddyamarante commented 1 year ago

You can now change the class name for the dark mode like the docs reference here: https://tailwindcss.com/docs/dark-mode#customizing-the-class-name

All you have to do now is to add the global type in a slightly different syntax, check the .README for an example