-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme does not change (is it cached) #179
Comments
So you have the Not sure why that wouldn't work, that's basically what the demo is doing when you switch themes. What version of the component are you using, and can you share the relevant bit of your code? |
You're right, I'm sorry, I just tried again and it just worked. Sorry!! |
Nice, glad to hear :) |
Actually no, I just thought it worked, because I made the background in my themes transparent. I'll have another look at the demo. |
I see what you mean I can pick it from the select and it works. |
Yeah, the demo doesn't respond to system dark/light mode. But it could. If you set |
This was a bug/problem with HeroUI's useTheme provider. I've made a theme that uses css variables to work around it. |
Describe the bug
I'm using some dark/light theme hook but the theme always stays whatever it started out as.
Expected behavior
Switch
The text was updated successfully, but these errors were encountered: