Re:Inlining SVGs for Dark Mode
by bremensaki on Friday April 07, 2023 @01:01AM
(#35478203)
100% this. I have severe issues personally reading dark-themed sites to the point where I just have to give up on many sites that are locked as dark only, or require a login or clicking an obscure button to change a theme preference which I can't locate.
> Summary: In people with normal vision (or corrected-to-normal vision), visual performance tends to be better with light mode, whereas some people with cataract and related disorders may perform better with dark mode. On the flip side, long-term reading in light mode may be associated with myopia.
What is seldom discussed is the different types of dark modes, which are quite radically different in their appearance, purposes, pros and cons (unlike light mode, which is much less variable, and where there is marked variation it’s seldom for any particularly good reason). I wrote a bit about the three or four categories I’ve settled on a couple of years ago: https://news.ycombinator.com/item?id=28516862. It depends heavily on what you’re trying to achieve (æsthetics/low-contrast or accessibility), and the ambient lighting conditions and specific screen technology (both statically unknowable).
All up, dark mode is actually pretty risky, because it can actually at least three radically different and incompatible things. If you implement only one, go light.