frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Dark Mode for HN?

26•todotask2•1h ago
Can we have a dark mode for HackerNews?

Comments

rfarley04•1h ago
I know it's likely not what you're looking for, but I "turned on" Dark Mode HN after reading this post: https://news.ycombinator.com/item?id=45111854
minimaxir•1h ago
A year ago, dang said the team would prefer a more robust theming solution: https://news.ycombinator.com/item?id=41105536
SigmundA•1h ago
Perfect is the enemy of the good.
arduanika•1h ago
https://xkcd.com/974/

I'm developing a system to pass arbitrary condiments.

bombcar•47m ago
We can change the color of the top bar - so everything’s already basically there.
UltraMagnus•1h ago
There is also https://hackerweb.app/

It has the extra benefit of only showing 60 latest HN items in 2 pages of 30, which helps me not spend too much time on HN going down interesting rabbit holes.

platelminto•1h ago
Uhh isn't default HN always 30 items?
magackame•57m ago
They mean you can press "more" only once for a maximum of 60 vs HNs "infinite" more button.

EDIT: now I know there is max 35 pages of HN

liquid_thyme•1h ago
A+++ , would buy again, :)
squigz•1h ago
All you need is https://darkreader.org/
augusto-moura•1h ago
Yep, I usually have it setup to whitelist mode, most pages will open normally, but if I want to read some long text and prefer it to be on dark mode, I activate it only for that page.
twapi•1h ago
You may try this extension: https://chromewebstore.google.com/detail/hacker-news-tools/f...
bbx•1h ago
I made this 5 years ago: https://jgthms.com/hacker-news-dark-mode/
MitPitt•57m ago
Stylus extension with Catpuccin theme for HN. Stylus has a bunch of other themes available too. For other websites too. IDK if I trust the proxy websites people are posting in other comments. And they're not comfortable to use with RSS feeds.
sirshmooey•56m ago
I use the Stylus Chrome extension with CSS:

html {background: #000;} body {filter: invert(.95) hue-rotate(12deg);}

https://chromewebstore.google.com/detail/stylus/clngdbkpkpee...

mpicker0•54m ago
I use this extension for Stylus on Firefox: https://github.com/pyxelr/hacker-news-bluish-gray
xnx•54m ago
Dark mode is great, but better to leave the site with low or no style and to apply personal styling preference in the browser via Dark Reader or Stylus extension.
wakawaka28•48m ago
It would be extremely simple to add dark mode. We're talking about CSS changes here. Instead of having to rely on random extensions being installed everywhere you browse, it could just do what you want from your preferences.
xnx•32m ago
True, but Dark Reader and Stylus are great extensions that can improve any site.

Being self sufficient is a superpower that should be encouraged on the web. Change colors, fix formatting, remove ads! Power to the user!

frizlab•31m ago
In that case give me the JSON data, I’ll do the rest.
Gualdrapo•28m ago
Some sites (and something I did while refactoring my portfolio) is levarage that to CSS. You can set is as to read the light/dark mode setting from the OS and provide a "toggle" to let the user choose between light and dark. This doesn't even need JS, just a couple hidden `<input type="radio">`s and some bits of CSS.

Although as I've said in another comment, things like this, "go to the top" buttons, cookie banners and the like should be task of the web browser, not of the website.

gausswho•52m ago
I currently use:

On the laptop: Modern HN (https://www.modernhn.com) for Firefox. Not fond of the phoning home to firebase and extensionpay.

On the GrapheneOS Pixel: Harmonic (https://github.com/SimonHalvdansson/Harmonic-HN)

efreak•18m ago
I really like Harmonic, but there's other features from Materialistic that I miss: - ability to switch back and forth from the article to the comments (in harmonic you have to scroll up or use a second app as browser) - ability to see the comment you're replying to - per-comment menu without long-press - draft comments (pause editing and save the comment to continue later...if you can remember where it was)

Why does every HN app re-implement bookmarks? Why can't they just save them to the HN website? Sure, you'd maybe need to fetch the static page from HN itself instead of using the API, and parse it for the favorite link to get the URL necessary, but it should be fairly simple regardless of whatever other changes are made (the link text is favorite, it's probably the first occurrence of a link with that text and has predictable URL format)

asdff•50m ago
You already do on a mac at least. ctrl-option-command-8.
bombcar•48m ago
Fond memories of doing this on all the display Macs at CompUSA.
asdff•29m ago
Surprisingly this is extremely laggy on my m3 pro on macos 14.2.1 now that I test it out...
onelesd•47m ago
i forget where i found this in an HN comment, but you can use this in uBlock Origin under Filters:

  news.ycombinator.com##body:style(background: black)
  news.ycombinator.com##td:style(color: #fafafa !important)
  news.ycombinator.com##table:style(background-color: #120F0D)
  news.ycombinator.com##div.toptext:style(color: #fafafa)
  news.ycombinator.com##div.c00:style(color: #fafafa !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: #fafafa !important)
  news.ycombinator.com##textarea:style(color: #fafafa !important; background: inherit; )
  news.ycombinator.com###hnmain:style(background: #120F0D !important)
bwoah•43m ago
An earlier mention of this: https://news.ycombinator.com/item?id=36344815
todotask2•15m ago
This time is iOS 26 adds any website shortcut to Home Screen as web app, which definitely need a dark mode.
dredmorbius•43m ago
Linked from my HN profile page is the style I use (via the Stylus browser extension):

Dred's HN CSS Madhackery -- Dark Mode: <https://pastebin.com/6PF3dCXH>

You'll also find there my standard "light mode" styling which is how I typically browse the site.

Martin_Silenus•13m ago
Given CSS rules, it would be simple using CSS light-dark() + variables instead of raw colors.

I'm using Dark Reader since a long time now, but more and more often disabling it for some sites supporting HTML relatively recent additions.

elhenrico•11m ago
I made this userscript: https://greasyfork.org/en/scripts/504879-simple-darkmode-for...
todotask2•10m ago
This time, iOS 26 adds the ability to create a shortcut to the Home Screen as a web app, which definitely needs a dark mode. It appears that none of the extensions are loaded

How to Make an Antibody

https://worksinprogress.co/issue/how-to-make-an-antibody/
1•salonium_•1m ago•0 comments

Democratic Backsliding

https://en.wikipedia.org/wiki/Democratic_backsliding
1•Bondi_Blue•3m ago•0 comments

Discovery of Unstable Singularities

https://arxiv.org/abs/2509.14185
1•EvgeniyZh•4m ago•0 comments

They don't make 'em like that any more: tone controls

https://kevinboone.me/tone_control.html
1•ingve•4m ago•0 comments

We built automated testing for vibe-coded apps

2•MatveyF•7m ago•0 comments

tldraw SDK 4.0

https://tldraw.dev/blog/tldraw-sdk-4-0
2•bpierre•7m ago•0 comments

Apple iPhone 17 Review

https://www.tomsguide.com/phones/iphones/apple-iphone-17-review
1•tosh•8m ago•0 comments

Donations at Work: Funding Josh Matthews' Contributions to Servo

https://servo.org/blog/2025/09/17/your-donations-at-work-funding-jdm/
1•msub2•9m ago•0 comments

Hired Through GitHub: Part 1

https://zed.dev/blog/hired-through-github-part-1
1•saikatsg•9m ago•0 comments

'Restorative justice appeals' trump 'retributive vigilance' on social media

https://academic.oup.com/pnasnexus/article/4/9/pgaf255/8224035
2•gnabgib•9m ago•0 comments

Some dogs can classify their toys by function

https://arstechnica.com/science/2025/09/some-dogs-can-classify-their-toys-by-function/
2•worik•11m ago•0 comments

The Sad, Sad World of Tech Blogging During an Era of Technological Stagnation

https://freddiedeboer.substack.com/p/the-sad-sad-world-of-tech-blogging
3•PaulHoule•11m ago•0 comments

Postgres 18 OAuth2 Authentication – Building a Custom OAuth2 Validator in Rust

https://www.enterprisedb.com/blog/preview-postgresql-18s-oauth2-authentication-2-building-custom-...
1•chatmasta•12m ago•0 comments

Organs Cannot Simply Be Classified as Male or Female

https://www.mpg.de/25425064/0918-limn-the-sex-of-the-body-why-our-organs-cannot-simply-be-classif...
2•Improvement•15m ago•0 comments

How to Build a 'Simple' Focus Stacking System

https://petapixel.com/2025/09/18/how-to-build-a-simple-focus-stacking-system/
2•mikece•16m ago•0 comments

I think "agent" may have a widely enough agreed upon useful definition

https://simonwillison.net/2025/Sep/18/agents/
1•simonw•17m ago•0 comments

Station Your Canaries (Leading Indicators)

https://kupajo.com/station-your-canaries-leading-indicators-and-system-interrupts/
1•kolyder•18m ago•0 comments

Quebec to stop offering free Covid-19 vaccines to the general population

https://www.cbc.ca/news/canada/montreal/quebec-covid-19-vaccines-1.7636666
3•ivewonyoung•22m ago•0 comments

Comparison of Compressed Air/CO2 Energy Storage and Carnot Battery

https://www.mdpi.com/2227-9717/13/9/2882
1•PaulHoule•25m ago•0 comments

More Was Possible: A Review of If Anyone Builds, It Everyone Dies

https://asteriskmag.com/issues/11/iabied
1•mitchbob•25m ago•0 comments

Reflection: C++'s Decade-Defining Rocket Engine – CppCon 2025 [video]

https://www.youtube.com/watch?v=7z9NNrRDHQU
1•delta_p_delta_x•25m ago•0 comments

Life without sex: study examines individuals' characteristics

https://www.pnas.org/doi/10.1073/pnas.2418257122
3•giuliomagnifico•26m ago•1 comments

A Trustworthiness-Based Metaphysics of Artificial Intelligence Systems

https://arxiv.org/abs/2506.03233
1•mathattack•28m ago•0 comments

Inside the world’s most powerful AI datacenter

https://blogs.microsoft.com/blog/2025/09/18/inside-the-worlds-most-powerful-ai-datacenter/
1•tart-lemonade•29m ago•1 comments

They traveled to Thailand. They wound up cyber scam slaves in Myanmar

https://www.reuters.com/graphics/SOUTHEASTASIA-SCAMS/mypmxwdwwvr/
7•petethomas•31m ago•1 comments

Show HN: My lightweight prompt management and analytics tool.

https://testune.xyz
1•squishy47•32m ago•0 comments

Show HN: Neon Shower, a fun tool for animating light rays

https://pinsandcurves.app/tools/neonshower/
1•martintrif•32m ago•1 comments

Notion 3.0

https://www.notion.com/blog/introducing-notion-3-0
4•markoa•34m ago•0 comments

Research: AI and Software Verification/Validation

1•bolfe11•34m ago•0 comments

Disentangling the Dual Role of NIC Receive Rings

https://www.usenix.org/conference/osdi25/presentation/pismenny
1•blakepelton•35m ago•1 comments