Readit News logoReadit News
lastdong · 3 days ago
Google returned this extension as top result when searching for HN dark mode. Apart from possible privacy concerns (the app does not collect data), it seems to work well (although sometimes noticing a white flash on iOS). What is anyone else using for enabling dark mode on HN?
reify · 3 days ago
I just add this to Ublock origin in the "My filters" section

! HN website Colour changes

  news.ycombinator.com##html:style(background-color: #24273a !important)
  news.ycombinator.com###hnmain:style(background-color: #24273a !important)
  news.ycombinator.com##.age,.c00,.hnuser,.subtext,.subtext > a:style(color: #999 !important)
  news.ycombinator.com##.comhead,.comhead > a:style(color: #dedede !important)
  news.ycombinator.com##.subtext > a:link:style(color: #ccc !important)
  news.ycombinator.com##.title > a:style(color: #999 !important; background-color: #000 !important)
  news.ycombinator.com##a:link:style(color: #bdbdbd !important)
  news.ycombinator.com##a:visited:style(color: #adadad !important)
  news.ycombinator.com##a:hover:style(color: #fd0000 !important; background-color: #000855 !important)
The background colour is the base colour from Macchiato, change colours to suit.

https://catppuccin.com/palette/

lastdong · 3 days ago
Thanks, works perfectly!