You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the Theme Controller and save the selected theme. I believe I have it implemented. However, when changing the browser's theme without having a theme saved in localStorage, the initial icon is always the moon. I've tried to change this, but I just can't get it to work. If anyone can help me, I’d really appreciate it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use the Theme Controller and save the selected theme. I believe I have it implemented. However, when changing the browser's theme without having a theme saved in localStorage, the initial icon is always the moon. I've tried to change this, but I just can't get it to work. If anyone can help me, I’d really appreciate it.
This is my full code:
Beta Was this translation helpful? Give feedback.
All reactions