NHacker Next on Rails
  • top
  • new
  • best
  • ask
  • show
  • jobs
login
GuidelinesFAQListsAPISecurityLegalApply to YCContact

Hacker News on Rails, powered by React on Rails Pro. Open the source on GitHub by ShakaCode.

Commit 06fc0df

Rendered at 09:12:20 GMT+0000 (Coordinated Universal Time) with Rails + React on Rails RSC.

Ask HN: Dark mode for HN please? (2026)

22 points by Stitch4223 1d ago | 11 comments

Bender 1d ago
I think the easiest option for now will have to be this [1] assuming one already has uBlock Origin. Adjust as desired.

[1] - https://news.ycombinator.com/item?id=49686631

dlcarrier 1d ago
Here's a high-contrast one, for those who find higher contrast easier to read, or otherwise prefer it.

    # HN dark Mode:
    news.ycombinator.com##body:style(background: black)
    news.ycombinator.com##td:style(color: #ffffff !important)
    news.ycombinator.com##table:style(background-color: #000000)
    news.ycombinator.com##div.toptext:style(color: #ffffff)
    news.ycombinator.com##div.c00:style(color: #ffffff !important)
    news.ycombinator.com##a:style(color: #ffa000 !important)
    news.ycombinator.com##span#karma:style(color: #faa000 !important)
    news.ycombinator.com##span.pagetop:style(color: #ffffff !important)
    news.ycombinator.com##textarea:style(color: #ffffff !important; background: inherit; )
    news.ycombinator.com###hnmain:style(background: #000000 !important)
skunkworker 9h ago
I went and used claude a few months ago to resurrect the work on HNES and add more quality of life improvements, formatting, collapsing. All of the work done is out in the open and free for anyone to grab and modify.

https://github.com/skunkworker/HNES/tree/aug_2026_rework

leoprctmp 1d ago
I wrote a simple Tampermonkey script:

(function() { 'use strict';

    // Background Color
    let el = document.querySelector("#hnmain")
    el.style.backgroundColor = "#1A1B16"
    el.style.color = "lightgrey"
    document.querySelector("body").style.backgroundColor = "#1A1B16"

    // Font Color
    document.querySelectorAll("a").forEach(one => { one.style.color = "lightgrey" })
    document.querySelectorAll(".c00").forEach(one => { one.style.color = "lightgrey" })
})();
ernsheong 12h ago
This isn't a direct solution, but here is a HN mirror with dark mode support: https://hnmirror.com/

Use it if you like it ;)

OsrsNeedsf2P 1d ago
Darkreader
Stitch4223 1d ago
Thanks for the suggestion.

Just bought and installed it as an iOS extension :) All themes and all custom themes remove the upvote button. Does it do the same for you?

runjake 16h ago
Not OP, but I use DarkReader and Noir and it doesn't remove/hide the upvote button for me on either. I do have color filters enabled in accessibility on iOS, though.
novia 1d ago
you can modify chrome flags to force sites into dark mode
john01dav 1d ago
I have found that Dark Reader works much better than this.

(I use Firefox generally, but my employer forces Chrome for many work tasks, and is also very concerned about data security from 3rd party extensions, so Dark Reader is not readily accessible. I use Dark Reader with Firefox at home, and find that it much more frequently has a reasonable result. Another issue with teh Chrome flag is that it is inconvenient to toggle when encountering such a broken website, or when you want light mode.)

abstractspoon 1d ago
Try Harmonic