Live data from Hacker News

When Dark Mode for HN?

news.ycombinator.com

11–19 of 19 posts

Re: When Dark Mode for HN?

#13

Dang said he’d do it at one point and then it was never done. I desperately want it for reading in bed (iOS). Some day…

Install this app (Safari extension): https://itunes.apple.com/us/app/userscripts/id1463298887

Then you can write custom CSS (and JS) to tweak any site, and don't need to beg the webmaster.

Re: When Dark Mode for HN?

#15
Probably never. Sadly the folks at HN have proved over the years that they don't really care about making this site's ui functional. There's no reason I should have to permanently zoom in on this site or make custom CSS just to do work that they should have done years ago. I can do it, but that's not the point. Is the gain in "retro styling" really worth the drop in UX? Do the people at HN truly believe that it's perfect and everyone who doesn't like it is just wrong? Or is it just laziness, (i.e. it works and our core users aren't leaving the platform over it, so it's not worth working on).

I'd love to be proved wrong though.

Re: When Dark Mode for HN?

#16
You can paste this snippet into the javascript console (ie F12). It's my 5 minute attempt at artsy dark colors. Code blocks are red as in Sith (star wars). And as a warning that code is dangerous.

    (function hackerNewsDarkMode() {
        let bg = '#35352B';
        let fg = '#EEEED1';

        let tables = document.getElementsByTagName('table');
        for (let i=0; i

Re: When Dark Mode for HN?

#19

If you don't mind the header color: html {filter:invert(.9) contrast(90%);}

Similarly, most modern smartphones have an easily toggled Invert Colors filter near or adjacent to Accessibility.

On Android, one can set this as a pulldown chip.

Post reply on HN