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
You're right. An incognito window brings up the dark theme on a dark OS. I guess I've clicked on the button just to test the switch at some point. A localStorage.removeItem("theme") did the trick. Wonder if that could be made a bit more convient to reset? Additional icon next to the switch in case a value is set and a click on it removing the value?
philwebb
changed the title
Automatically detect dark/light mode based on OS settings
Don't store dark/light taggle if it matches the OS setting
Jan 7, 2023
wilkinsona
changed the title
Don't store dark/light taggle if it matches the OS setting
Don't store dark/light toggle if it matches the OS setting
Jan 9, 2023
It would be nice if the CSS could automatically detect whether to use dark or light mode based on the user theme (via media queries).
The text was updated successfully, but these errors were encountered: