Dark mode with web standards

thm 33 points 20 comments July 05, 2026
olliewilliams.xyz · View on Hacker News

Discussion Highlights (4 comments)

memoriyato3

I use an app to switch the Windows system theme between light/dark automatically based on time of day (similar to auto blue color reduction). It's funny noticing how most Electron/WebViews/web-sites immediately switch too, and have good dark mode support, while non-web-tech native apps either only support light-mode, have a bad looking incomplete dark-mode, or require a restart to switch. So much for "native GUIs are superior, consistent and respect the user". Microsoft is still struggling with adding dark mode support to most Windows included apps.

recursivedoubts

i'm sure this is unpopular, but I think dark mode was an (understandable) mistake in my made up, undersourced version of tech history, what happened was that the first LCDs that came out were very dim compared to the CRTs they were replacing, which OS makers responded to by going to very bright/white UIs over the previous gray/color schemes that were used and everyone cranked their brightness to 11. Over time LCDs improved and the new white-standard/high brightness regime became untenable for people who were on their screens for long periods of time, which drove the creation of dark mode, first in coding themes and later for the entire OS. Dark mode support makes it VERY hard to do a website well because it is almost always going to look mediocre in one mode or the other and it is very easy for a gremlin to sneak in in the mode that a developer isn't using. I would love to go back to a gray-base color and use a mildly muted white for a reading background and dark for code/special content. The hyperscript website is kind of a gesture in this direction: https://hyperscript.org/

styfle

I hate to be this guy, but I opened then immediately closed this website because it wasn’t in dark mode.

phyzix5761

> Respecting the user’s OS setting is straightforward: use the prefers-color-scheme media query in CSS. Funny that this website does not respect the user's OS settings at all.

Semantic search powered by Rivestack pgvector
14,015 stories · 131,331 chunks indexed