myerve
Lurks a lot
- Joined
- May 23, 2022
- Messages
- 39
- Likes received
- 62
This is mostly a small convenience feature, but most modern browsers support prefers-color-scheme, a CSS-media-feature that asks the operating system/browser if it's set to dark or light mode, some OS's support automatic light dark mode switching, and most themes on this forum have both a dark and a light variant.
If the admins add a combined variant of the dark and light variant for most themes, by e.g. wrapping the dark style sheet in a media query*, and made that variant the default, 1. people wouldn't be exposed to light time before they logged in if they prefer the dark theme and have their OS set to it; and 2. people that prefer the light theme at day and the dark theme at night will have it automatically switch.
*: okay, it might be more complicated than that, I don't exactly know how themes work here, but I did do that once for another site.
If the admins add a combined variant of the dark and light variant for most themes, by e.g. wrapping the dark style sheet in a media query*, and made that variant the default, 1. people wouldn't be exposed to light time before they logged in if they prefer the dark theme and have their OS set to it; and 2. people that prefer the light theme at day and the dark theme at night will have it automatically switch.
*: okay, it might be more complicated than that, I don't exactly know how themes work here, but I did do that once for another site.