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 just thought I ran into a bug on my app because it's night time and in Safari it kept showing light theme. But for some reason on Chrome it was dark.
After numerous hacks and changes, it dawned upon me that the browser was saving my last set theme value and used that on next relaunch.
But I may not necessarily want this behavior, i.e., when I launch my site I just want it to take the system value always first. Then if I toggle the theme, it's just persistent for the session my app is active until I close the tab or browser.
Any chance there is an option that supports disabling local storage or workaround to facilitate my desired behavior?
The text was updated successfully, but these errors were encountered:
I just thought I ran into a bug on my app because it's night time and in Safari it kept showing light theme. But for some reason on Chrome it was dark.
After numerous hacks and changes, it dawned upon me that the browser was saving my last set theme value and used that on next relaunch.
But I may not necessarily want this behavior, i.e., when I launch my site I just want it to take the system value always first. Then if I toggle the theme, it's just persistent for the session my app is active until I close the tab or browser.
Any chance there is an option that supports disabling local storage or workaround to facilitate my desired behavior?
The text was updated successfully, but these errors were encountered: