News for hackers. Stuff that matters.
Re:Ask HN: Dark mode for HN please? by simonebrunozzi on Friday May 15, 2020 @10:35PM (#23199986)
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!

Re:Ask HN: Dark mode for HN please? by jacoblambda on Saturday May 16, 2020 @03:01AM (#23201092)
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

Re:Ask HN: Dark mode for HN please? by dorgo on Saturday May 16, 2020 @10:11AM (#23203508)
Upvote and downvote buttons become invisible.

Edit: my fault. I have too many dark mode addons/stylesheets enabled at the same time.

Re:Ask HN: Dark mode for HN please? by retpirato on Sunday May 17, 2020 @07:05AM (#23211157)
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.

Re:Ask HN: Dark mode for HN please? by jacoblambda on Sunday May 17, 2020 @04:05PM (#23214929)
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.
Re:Ask HN: Dark mode for HN please? by retpirato on Sunday May 17, 2020 @07:09AM (#23211172)
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.
Re:Ask HN: Dark mode for HN please? by jacoblambda on Sunday May 17, 2020 @03:49PM (#23214782)
Re:Ask HN: Dark mode for HN please? by throwaway_pdp09 on Saturday May 16, 2020 @05:16AM (#23201824)
Doesn't work without JS.
Re:Ask HN: Dark mode for HN please? by jacoblambda on Saturday May 16, 2020 @09:10AM (#23203093)
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.
Re:Ask HN: Dark mode for HN please? by alpaca128 on Saturday May 16, 2020 @04:24AM (#23201490)
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.

Re:Ask HN: Dark mode for HN please? by agustif on Saturday May 16, 2020 @06:08AM (#23202141)
Have you tried Dark Reader, I'm pretty happy with it: https://addons.mozilla.org/en-US/android/addon/darkreader/
Re:Ask HN: Dark mode for HN please? by codq on Saturday May 16, 2020 @09:55AM (#23203394)
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.

Re:Ask HN: Dark mode for HN please? by hawski on Saturday May 16, 2020 @07:57AM (#23202687)
It's also supported by current Firefox Preview on Android. Works well.
Re:Ask HN: Dark mode for HN please? by Forge36 on Friday May 15, 2020 @10:39PM (#23200014)
I flipped a flag in chrome for mobile. HN Looks very good (The reply button is white on grey)