Comment by simonebrunozzi
5 years ago
There are many ways for end users to force dark mode without any change on HN. "invert page colors" chrome extension, for example, does a nice job. Not ideal, but good enough.
I second the other commenter, don't do anything. Or get someone really good to help you!
There's a very solid Stylus theme for HN that I've been using as long as I can remember. Until just now I had honestly forgotten that this wasn't what HN looked like by default.
https://userstyles.org/styles/113994/hacker-news-dark
Upvote and downvote buttons become invisible.
Edit: my fault. I have too many dark mode addons/stylesheets enabled at the same time.
There are 2 HN dark themes available at https://github.com/UserStyles.
Midnight lizard (chrome) https://chrome.google.com/webstore/detail/midnight-lizard/pb... is a good extension that can create a dark theme by changing the contrast & things like that. It does it in a way that the same theme will work on a lot of sites. They do have more dark (& light) themes on their site & you can create your own by entering a few colors & it will create a theme based on that. Stylus is good (NOT stylish), but Midnight lizard creates themes in a way that are compatible with a lot more sites that Stylus.
I just tried out Midnight Lizard. It works surprisingly well but I can see myself wasting hours fighting with it trying to get it tuned perfectly.
Is there a non userstyles.org link for this? I've blocked cookies on userstyles.org (For obvious reasons) & when you black cookies on that site it gives you a blank page. If you enable cookies it comes back.
https://github.com/Poorchop/userstyles/tree/master/HackerNew...
Doesn't work without JS.
hmm. I just tried turning off JS and reloaded Firefox. Everything seems to still work fine on HN with the theme on. I don't know much about web dev so I'm not sure what could be causing it.
I tried various of dark mode plugins in Firefox and none of them seem to be able to do their job without obvious shortcomings. For example most of them don't check the original color of the website and just invert colors of dark pages as well. Or in some cases it doesn't invert all text colors, making hyperlinks hard to read.
None of the extensions I've tested can match the dead simple CSS override I used in qutebrowser.
Have you tried Dark Reader, I'm pretty happy with it: https://addons.mozilla.org/en-US/android/addon/darkreader/
I just started using Dark Reader yesterday, and for the most part, it's excellent.
old.reddit.com comments are mostly unreadable, and it cripples gmail, but I've learned to take advantage of Options-Shift-D to flip it on and off when needed.
It's now part of my web browsing workflow.
It's also supported by current Firefox Preview on Android. Works well.
I flipped a flag in chrome for mobile. HN Looks very good (The reply button is white on grey)