The dark/light mode toggle doesn't toggle between dark/light mode (although the toggle does animate) when you have more restrictive browser settings/permissions.
In my day-to-day browser, I whitelist which sites can write to local storage (similar for 3rd party cookies) and this seems to be the cause. When I try the site in my application-testing browser, which allows local storage, the dark/light mode toggle works and I can see "dark" and "light" values being written under the "theme" key.
The dark/light mode toggle doesn't toggle between dark/light mode (although the toggle does animate) when you have more restrictive browser settings/permissions.
In my day-to-day browser, I whitelist which sites can write to local storage (similar for 3rd party cookies) and this seems to be the cause. When I try the site in my application-testing browser, which allows local storage, the dark/light mode toggle works and I can see "dark" and "light" values being written under the "theme" key.