News for hackers. Stuff that matters.
Re:Dark Mode by Local Sunlight by kccqzy on Saturday November 08, 2025 @10:52AM (#45857542)
Black is too much contrast. The high contrast simply hurts my eyes. For a gray theme nicely done, look at the GitHub gray theme (called "soft dark") as an example.
Re:Dark Mode by Local Sunlight by JoshTriplett on Saturday November 08, 2025 @11:02AM (#45857620)
Fascinating. Different use cases for different people. On GitHub, I use the default dark mode ("dark default") and then enable "high contrast", which makes the background black. (I also get annoyed when light modes are dark grey on light grey, rather than black on white for maximum contrast.)

There's a CSS preference for contrast. It seems easy enough to handle `@media(prefers-contrast: low)` and set a gray background. The contentious part would presumably be the default; I would have thought #000000 was the obvious default for a dark mode but apparently that's not what everyone prefers. Ideally, OSes and browsers would expose controls for this in a straightforward way, the way they handle dark mode. https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/A...