histoire
histoire copied to clipboard
Custom theme switch
Clear and concise description of the problem
I use tailwindcss-themer for applying custom themes to my project. What this plugin allows use to do is set a theme by applying a class to an element.
I currently have to create control in every story and have to apply the class that way. So a lot of repetition in every story.
Suggested solution
A custom theme-switch, so just like the light/dark switch.
Maybe a select menu which simply applies a class to the body.
Alternative
I currently have to create control in every story and have to apply the class that way. So a lot of repetition in every story.
Additional context
No response
Validations
- [X] Follow our Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.