Live data from Hacker News

Ask HN: Dark mode for HN please?

news.ycombinator.com

451–460 of 469 posts

Re: Ask HN: Dark mode for HN please?

#454

Of all places, this is the one site that doesn't need dark mode. There are hundreds of clients. Dark reader on both chrome and Firefox. Stylish allows you to change the css to your own. This is a site for hackers. Quite literally. So hack it.

Yes, exactly. The OP shouldn't probably be using it. There are many other fancy, trendy, modern websites with dark themes like Twitter or Reddit which would be better fit. Leave HN alone, please! It is a fragile environment.

Re: Ask HN: Dark mode for HN please?

#455

I took a shot at it: https://monokai.nl/lab/hacker-news/hn-dark1.png https://monokai.nl/lab/hacker-news/hn-dark2.png https://monokai.nl/lab/hacker-news/hn-dark3.png The principles I followed: - Alligator energy. No need to redo the layout or apply the latest design trends. HN is fine as is. - Respect the original design. The dark version uses the same color hierarchy as the elements in the original design. - No-nonse…

> Alligator energy

This is a great metaphor.

Re: Ask HN: Dark mode for HN please?

#456
post #316

Earlier quoted context omitted.

I've thought about this, too; some of my favorite sites are forums that are a pain to use on mobile (e.g. RuTracker). Seems like a fun project, so I may start planning it when I have time.

Be careful with that: it very probably goes against all sorts of TOS and can get you in trouble

Thanks for the heads up.

I was more thinking about a local web-app that consumes the site and then outputs it in a nice mobile layout, without actually archiving or saving anything.

Re: Ask HN: Dark mode for HN please?

#457
post #32

Ok, you guys, this isn't the first time we've heard this request ( https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que... ). I'm willing to do it (edit: not to change the default! just to add the option). It's just that any CSS issue that goes more than a quarter-inch deep is outside both my expertise and my interest. We can add CSS to https://news.ycombinator.com/news.css for prefers-color-scheme: dark , bu…

I have run an HN clone for China's Linux hacker community, we use dark & green color and it's pretty cool in my view, you can check the page archive here: https://web.archive.org/web/20170905074904/http://hack.fdzh....

The source code: https://github.com/fdzh/anarki/commit/5a58ef38111215258a2694...

BTW, I would recommend using Eigengrau rather than total black. https://twitter.com/AustinTByrd/status/1105822085362925568

Re: Ask HN: Dark mode for HN please?

#458

Earlier quoted context omitted.

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

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?

#459

Earlier quoted context omitted.

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

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?

#460
post #399

Earlier quoted context omitted.

The tracking is too tight for light-on-dark. You focused on colors and forgot about the content. You can't just invert colors and think that the typography automatically works. It often doesn't.

I didn't touch the typography indeed, but I also didn't just invert the colors. What would you suggest to do with the typography to make it better?

Light letters on dark background need more light to maintain legibility. So you might have to increase the point size and adjust the weight and increase leading and tracking. The counters are important for legibility so pay attention to how the font is affected by inversion.
Post reply on HN