Remix.run Logo
red_trumpet 2 days ago

>Under the hood, rather than explicitly toggling between “light” or “dark”, it toggles between falling back to the system setting, and the opposite of the system setting.

Not sure I like this. Suppose my system is in dark mode because of low battery, but I want to read a page in light mode, so I change it. The next time I open the page with full battery (and thus system light mode), the page will render dark again...

brycewray 2 days ago | parent | next [-]

Yep. This is why my three-state-toggling site has a local-storage setting for just that reason --- inspired by others’ writings and codes:

https://www.brycewray.com/posts/2024/01/its-tri-state-switch...

systoll 2 days ago | parent | prev [-]

The options are:

* Automatically Follow the system theme

* Lock in the opposite of the current system theme.

If you change a page to light while the system is dark, that page will render light forever. (Or at least until you change the setting again)