-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
[Bug]: Changing Theme Switch is broken #498
Comments
Hello Jonathan, If I try to run in the console from your website (https://jonathanwoollett-light.github.io/cv/) If I run So the theme change seems to work properly... I hope this comment helps you. Olivier |
It seems to not work when my device theme is darkmode but does work when in lightmode. I think the example assumes the device theme is lightmode so that when But when the device theme is darkmode when you run A fix would be changing |
Before submitting...
Context
I recently attempted to add a theme switch to my webpage (JonathanWoollett-Light/cv@1e93235). I copied the code from https://materializeweb.com/themes.html and the element from the page.
It functions like the theme switch on https://materializeweb.com/themes.html except that the page theme doesn't change.
Current Behavior
The icon changes and the correct case occurs but the theme isn't changed.
Expected behavior
The page theme should be flipped between light and dark.
Possible Solutions or Causes
No response
Steps to reproduce
Open https://github.com/JonathanWoollett-Light/cv/blob/1e9323509877f1644fdba3fa83cc6bc0bf39282d/index.html in a webbrowser and click the theme switch icon.
It looks like:
Your Environment
The text was updated successfully, but these errors were encountered: