logoalt Hacker News

etatester • today at 9:07 AM • 3 replies • view on HN

No need. Just add the media query. Your OS/browser already provides "a little dark/light" toggle.


Replies

layer8 • today at 10:46 AM

There is a need as long as browsers don’t universally support per-website dark/light preferences, because not all dark modes are created equal, so you want to use a dark-mode extension that implements your particular style preferences (such as pure black background) discretionally per website, and that works better (or only works) when it is based on the website’s light-mode styles. (That’s also why the current light-only HN works well when using such an extension.)

Ideally, dark mode would be purely a built-in browser feature instead of a website-specific style set, but here we are.

aunderscored • today at 10:09 AM

No, this is not good enough. I should not need to modify my os because I do not like your theme. The toggle should use the current os state as a default ('auto'), but do not remove autonomy because someone has a top-level switch. Just respect where that switch is first.

brettermeier • today at 9:50 AM

[dead]