logoalt Hacker News

tasukitoday at 4:55 PM1 replyview on HN

> colors

I'm always amazed when people go through the trouble of adding a light/dark theme switcher rather than just respecting the user's system preference with `prefers-color-scheme`[0].

[0]: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/A...


Replies

wonger_today at 5:18 PM

You can do both, because some people like having per-site color controls.

Like I prefer to read prose and literary website content in light mode while keeping my OS in dark mode.

Admittedly it's a niche use case.