Why is there no dark theme for Hacker News?
Simple question: why is there no dark theme for Hacker News?
(Is there a recommended browser plugin or way to override the site CSS to generate a dark theme on my machine "manually"?)
This recurring question is like the Eternal September theme song
I don’t actually know, but honestly the entire website theme, to quote the New Yorker, “looks like a 1990s web forum.”
I have written a tiny userscript for myself to browse HN with a dark colour theme. Visit https://github.com/susam/userscripts#dark-hn to see the userscript. It runs fine with a userscript manager like Greasemonkey, Violentmonkey, or Tampermonkey.
On the same page there is another userscript named "Big HN" that shows HN with larger fonts. I use both together for a pleasant HN reading experience.
Use use the "Auto Dark Mode For WebContent" that is available on all chromium based browsers. Go to: about://flags and search for darkmode and select enabled
I couldn't live without the Dark Reader [1] plugin. Every website is now dark. Once in a great while it does something weird, but that's on specific websites with weird stuff going on. It makes Hacker News look great.
It's available for Firefox, Chrome, Safari, and Edge.
- [1]: https://darkreader.org/
If you are running uBlock Origin (and why wouldn't you?) edit your "My filters" and add these lines to the end:
! Hacker News dark mode
news.ycombinator.com##html:style(filter:invert(100%) hue-rotate(180deg))
news.ycombinator.com##body:style(background: white)
Not my original work, I found these from older HN post. Easy way to add dark mode without installing any other addons.
Use Modern for HN, it has everything you need.
I use the Dark Reader plugin at the browser level to enforce dark mode (syncs with OS mode) across all websites.