Why doesn't HN have a dark-theme?
I’m currently using DarkReader, but whenever I’m scrolling HN before bed I feel like I’m pointing a flashlight at my face.
I’m currently using DarkReader, but whenever I’m scrolling HN before bed I feel like I’m pointing a flashlight at my face.
This has been asked several times in the past.
> whenever I’m scrolling HN before bed I feel like I’m pointing a flashlight at my face
Maybe don't scroll through HN before bed? You might sleep better :-)
I am also using DarkReader and don't have this problem on HN (but have on others). Using Windows so there is a night light setting you can enable to help and there is also the brightness settings of course on your monitor
A true hacker would be reading Hacker News in Emacs on a monochrome 80 column CRT monitor. A true hacker cares only for the purity of information, not the vulgar pains and pleasures of the flesh. This is your punishment for debasing yourself with normie technology.
Pie Jesu Domine, Dona eis requiem.
I sometimes read hacker news with Emacs eww. An easy way to get dark mode.
In Emacs-eww, the nested replies are rendered flat, not indented, but you can set up a search on the "parent" hyperlinks. then search forward to move down the comment tree, or click the hyperlink to jump backup the tree.
When viewing in a modern browser a bit of javascript can make HN dark.
Ask HN:
https://news.ycombinator.com/item?id=23197966
We can add CSS to https://news.ycombinator.com/news.css for prefers-color-scheme: dark, but that leaves open the question of specifically what css to put in there. Anyone who wants to make a suggestion is welcome to
Obviously the text from `user_profile.custom_css`. Users then will test and share their CSS in a (past)-able threads. We don’t even need prefer-*, just make a user css textbox and cat it after hn.css.
Did no one take them up on the offer? There's several HN dark themes out there.
I fiddled for a while with DarkReader but found Stylus to be more complete, although one has to spend some time to find or build their preferred dark theme. Also beware that, for reasons I don't understand, activating a theme doesn't deactivate the previous one unless that is explicitly done, which can lead to misleading results.
https://addons.mozilla.org/en-US/firefox/addon/styl-us/
I use Georgify through Stylus with some minor tweaks, been so long and so good, I've forgotten what HN actually looks like without it - https://uso.kkx.one/style/71155
I added some lines to my uBO custom filters and fixed this, thanks to some comment in a prior discussion about this.
I do wonder why light mode is the default though, since historically computers had bright characters on black screens, and this is supposed to be "hacker news". It wasn't until the 90s when white backgrounds became normalized. Even though many users may not be old enough to remember the days of using MS-DOS, "dark mode" is generally quite popular among techies. I really wonder what a poll would show here.
Do you mind sharing your uBO lines please?
Try this: (sorry, HN's suggestion to post code after a blank line that is indented by two or more spaces doesn't work)
The technique is to add a blank line AND start every "code line" with FOUR spaces
Thanks! I've fixed my post. I wonder why HN doesn't list this in their FAQ. I looked here: https://news.ycombinator.com/formatdoc
In my eternal war against excessive white pixels, HN is one of my only remaining enemies. Why?
I created my own and have been using it for a while: https://github.com/vishaldpatel/HNDarkMode
I created my own https://excuse-seven.vercel.app
I believe this is hacker news...
I'm currently reading this in dark mode.
why don't you have a dark mode extension?
[flagged]