next-themes
next-themes copied to clipboard
[Feature request]:setTheme multiple classes for next-themes
What feature would you like to see?
I need to add multiple classes like this:
setTheme(["dark","blueSchema"]) // <html class="dark blueSchema"
setTheme(["light","blueSchema"])
you may say use it like this:
setTheme("dark-blueSchema") // <html class="dark-blueSchema"
setTheme("light-blueSchema")
but components that using tailwindcss they only understant the 'dark' class to apply to and I want also another class for other css variables like when we have dark and blueSchema or dark and redSchema or light and redSchema
if I use dark-redSchema then component will not know it is dark mode as we have no dark class applied