Ask HN: Can we get a HN background color (dark mode)
Hi there, loving the ability to change my topbar pink, but I also would love to browse my favorite website late at night without the bright flashes.
PS: Also happy to hear people's favorite indie plugin to fix this! <3
I use my own CSS to override the default look.
I added thumbs up emoji for voting, book emoji for read comments, larger user names, larger headers, and dark color scheme.
https://postimg.cc/f3nmR6DG
https://pastebin.com/zeXGi4WQ
I use a custom config on Dark Reader extension in all my devices. Having the same color scheme in all webpages are much better UX than what any web can implement by themselves.
Built https://hacked.stream has default black BG rn
firefox dark reader works perfect.
There are two wins in this. 1) Firefox. Which means you also get the extension on mobile. 2) Dark Reader works on all websites (and you can turn it off for sites don't play well, which isn't many).
Here is a Tampermonkey¹ script I've used for some ime to make HN look the way I want it to (plain white background). It should be easy to adapt for a dark preference. It also adds a "bookmark" at the top of each page which is also easily removed if you don't want that.
https://pastebin.com/fnf4CeBM
¹ https://www.tampermonkey.net
Everyone on HN should be able to write a custom stylesheet, this is really not an issue.
Perhaps Greasemonkey can do the customization(s) you would like:
HTH0 - http://greasemonkey.win-start.de/patterns/add-css.html
For desktop folks, I use the Stylebot Chrome Extension https://chromewebstore.google.com/detail/stylebot/oiaejidbmk...
I crank up the font size and set a serif font on the index page to make it easier to scan.
The Chrome extension Dark Hacker News (https://chromewebstore.google.com/detail/dark-hacker-news/ib...) works pretty well.
Before anyone comments chrome extensions.
These don't work on chrome mobile or safari mobile which make up a sizeable number of users.
Please, can we just have native dark mode?
I made a pretty mediocre HN client just for this feature https://github.com/rsimmons1/FlutterHnReader
I don't feel like working on it anymore, let's just have dark mode.
Edit: apologies spoke out of my domain on safari iOS, it supports extensions I'm an Android user.
Firefox has extensions on Android. I appreciate that switching your browser is potentially a whole thing, but the option is there.
Went to Firefox on mobile for a while, just found the overall experience slower and less performant.
I know thats kind of a personal thing based on which websites are used but it was still my experience.
Chrome on Android supports this flag. It works pretty well.
chrome://flags/#enable-force-dark
Also this one
chrome://flags/#darken-websites-checkbox-in-themes-setting
The UI might even support it.
Also this has been asked many times over many years. I just don't think it's going to happen
Just use a proper browser that lets you add custom stylesheets, it literally takes 5min in CSS to invert the colors.
I've been using dark reader on mobile safari for years.
Safari mobile supports extensions.
I would love this. Apple is notoriously bad at supporting dark mode extensions on their mobile browser.
> Apple is notoriously bad at supporting dark mode extensions on their mobile browser.
How so? There are several Safari extensions (Noir, Dark Reader, etc) for this that are compatible with Safari on Mobile.
dark-reader-for-safari works well. mobile add-on
If you use Firefox, have my userContent.css DIY dark mode. Or you can massage it into the syntax expected by { Arc’s custom CSS, uBlock Origin, your CSS injecter of choice }:
Obvious caveats apply: it’s mine, it’s certainly incomplete, yadayada. But hey, been working for me for years! Also, now that you know that the feature exists, you can probably search "Hacker News dark mode userContent.css" and find better / more complete ones :)Always a pleasure helping tasoeur.
please
My attempt at providing the CSS to do this. This is where it turns into bikeshedding (T_T);
I get, it's long. Just taking the css that was served and editing it.There's some, pretty oldskool HTML in there. There are font tags, bgcolor="", color="" .. I guess you can say if it ain't broken don't fix it.
[dead]