HN Dark Mode

by barcoderon 10/29/2021, 5:56 AMwith 7 comments

There's apps, but I love reading HN from a browser. Please can we have a dark button?

by susamon 10/29/2021, 3:12 PM

I have a tiny Greasemonkey script to do this myself.

  // ==UserScript==
  // @name Dark HN
  // @match https://news.ycombinator.com/*
  // ==/UserScript==
  window.addEventListener('load', function () {  
    document.body.style.background = '#111'
    document.body.style.filter = 'invert(1) hue-rotate(180deg)'
  })

by Jugurthaon 10/29/2021, 2:10 PM

I don't quite get why people ask for a dark mode in websites. I've been using "Dark Reader" on Chrome[0] for a long time ib all websites, without them offering a dark mode, to the point these requests, or even websites announcements of their "dark mode" have become "meh" for me.

- [0]: https://chrome.google.com/webstore/detail/dark-reader/eimadp...

by hotdoxon 10/29/2021, 8:35 AM

I have a custom Stylys(there was some shenanigans with Stylish) CSS. It is called "Hacker News Readable Dark" https://userstyles.org/styles/160459/hacker-news-readable-da...

by DataCrayonon 10/29/2021, 6:07 AM

Just in case this is useful to you: https://darkreader.org

by ksecon 10/29/2021, 4:48 PM

It used to be the case the only browser that does have some decent Dark Mode extension is Safari.

Now you have Darker News and HNDark. Both are free on App Store.

I am using them both at the same time to get "Gray" Mode instead of "Dark".

But yes I really wish we have official Dark Mode on HN.

by amerkhalidon 10/31/2021, 3:15 AM

Based on comments, yes there are apps & JS/CSS hacks that I can do. But I rather not install another app on my phone, I too would really appreciate a dark mode.