histoire icon indicating copy to clipboard operation
histoire copied to clipboard

Custom theme switch

Open silveltman opened this issue 1 year ago • 0 comments

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

silveltman avatar May 09 '23 09:05 silveltman