← Back to context

Comment by dmitshur

3 years ago

> I'm glad HN kept the same design since 2007.

As someone who enjoys and prefers high-density of information, I generally agree.

I do, however, wish HN would add support for @media (prefers-color-scheme: dark). By now it's one of the few sites that are still unpleasantly bright to look at when in a dark environment. (When I don't forget, I visit https://darkhn.herokuapp.com/ instead, which helps but can't be used to upvote/comment.)

Agreed. In the meantime, I use the following uBlockOrigin rules:

    news.ycombinator.com##html:style(filter:invert(100%) hue-rotate(180deg))
    news.ycombinator.com##body:style(background: white)
    news.ycombinator.com##div.toptext:style(color: black)
    news.ycombinator.com###hnmain td[bgcolor="#000000"]

I'm not sure on your browser, but I've used this for quite a long time, since long before dark mode was available on most websites: https://addons.mozilla.org/en-US/firefox/addon/darkreader/

It turns most websites into a dark mode equivalent (mostly) correctly. Some websites it just doesn't work for and you need to disable it, but it's otherwise great. It also auto-detects (most of the time) when a site supports dark mode and shuts itself off for that site.