Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
HN should be dark mode by default
5 points by busters4 25 days ago | hide | past | favorite | 5 comments
QED


If there was a dark mode, it should use the `prefers-color-scheme` css media query[1] to detect user preferences.

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


I have written a little userscript to do this:

https://github.com/susam/userscript/blob/main/darkhn.user.js

Additionally, I have another userscript to increase the font size:

https://github.com/susam/userscript/blob/main/bighn.user.js

Together, this is how my HN pages look:

https://susam.github.io/blob/img/misc/2026-01-19-custom-hn.p...


If you can't override CSS, you aren't a hacker.


“how to center a div” is in front page of HN every couple of years without fail… so no :)


I just want darkness on every device




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: