6 ms·
Ask HN: Dark Mode for HN is overdue
It’s 2025. HN lights up a dark room like a flashlight. Can we add a few lines of CSS to support dark mode? 5 years ago and I believe the alligator needs to move https://news.ycombinator.com/item?id=23197966
- f30e3dfed1c9 11mo agoJust use a browser that lets you apply a custom style sheet and apply one.
- specproc 11mo agoI think the point is that it's a very simple interface. I'm in the camp of it ain't broke, so let's not fix it. It gives you an API, doesn't get in your way if you wanna add CSS. Everyone is free to consume HN as they they please, adding extra cruft really isn't in the spirit.
- walletdrainer 11mo agoI’m not sure a couple of lines of CSS really counts as “extra cruft” Basically this and prefers-color-scheme: dark https://news.ycombinator.com/item?id=23202647 https://news.ycombinator.com/item?id=23202647
- florians 11mo agoThis. Thanks for illustrating how little is required for a basic dark mode support.
- vednig 11mo agojust go to https://hacked.stream https://hacked.stream if you need it, you'll still need to upvote via HN interface until proxy is implemented
- calmingsolitude 11mo agoVisiting this site on mobile is not great. A good portion of the screen is covered by a sticky header and there is no underline or feedback when a link is clicked. Additionally, it is missing the story position and with infinite scroll there is no way to differentiate whether you are looking at the 10th story or the one in the 100th position.
- e40 11mo agoOctal is great on iOS.
- deleted 11mo ago[deleted]
- coolThingsFirst 11mo agoNo, dark mode is redundant and makes sites feel too new-agey.
- busymom0 11mo agoI recently built a site for myself which defaults to dark mode and shows me the top posts from HN, Lobste.rs, Tildes, SlashDot, Bear and a few tech/STEM related subreddits in a time-ordered list. Maybe you will find its useful: https://limereader.com/ https://limereader.com/
- HelloUsername 11mo agoOne can always add those stylesheets themselves in their browser, or through the uBlock Origin extension. Otherwise (one of the many darkmode extensions) "Dark Reader" is available for Safari (macOS and iOS), Microsoft Edge, Google Chrome, and Mozilla Firefox (Windows, macOS, Android). On iOS you can also use Firefox (or Brave) that has builtin darkmode for all websites.
- bob1029 11mo agoYou are allowed to reduce your display brightness. I run my iPhone at the lowest possible setting at night (right now). Try it sometime. It might seem really dim at first but your eyes will adjust in a few minutes. I think dark mode can be deceptive. Blazing hot white text on a pitch black oled background is like visual caffeine to me. I would not want to be staring at this if I was adjacent to bedtime.
- ungreased0675 11mo agoThe display brightness doesn’t go dim enough
- burnt-resistor 11mo agoOn iPhone/iPad, use the zoom accessibility feature set to 1x but with the darken filter on. On Mac, there's an app old app that still works called Shady to get darker than normal.
- joker99 11mo agoI‘d also like a dark mode. And: on iOS you can reduce the white point quite a bit which makes the display appear very dark indeed. You can even tie it to a shortcut which is quite handy
- szszrk 11mo agoWhy doesn't HN support reading mode in Firefox, anyway? Dimming doesn't solve much. I won't dim screen every time I switch apps. It doesn't work when you use multiple apps side-by-side (which is nowadays a thing even on mobile/tables). It doesn't bring relief to people that have visual problems that can be fixed with dark mode (I am super annoyed by floaters that I don't notice 95% of the time. Except from very bright websites like HN). > Blazing hot white text on a pitch black oled background is like visual caffeine to me. Same thing for me and my vision - I just can't use pure dark themes. But there is so much middle-ground here.
- hdgvhicv 11mo agoI triple click my power button and it inverts colours, does the job reasonably enough.
- fainpul 11mo ago! dark mode (adapts to your browser preference) news.ycombinator.com##html:matches-media((prefers-color-scheme: dark)):style(filter: invert(90%) hue-rotate(180deg))
- squigz 11mo agoUse https://darkreader.org/ https://darkreader.org/ Automagic dark mode on every site
- theturtlemoves 11mo agoPersonally, I think dark mode is unnecessary feature creep. But it's also because I never use it and hate it when it's the default and I have to go hunt for the hidden button to switch it off: I need lots of light, otherwise letters get blurry for me, so I'm just another biased human being =)
- Davidbrcz 11mo agoDark mode is also about accessibility for some visually impaired users https://drgrizz.xyz/dark-mode.html https://drgrizz.xyz/dark-mode.html
- QuantumNoodle 11mo agoTIL. I'd also add for the defense of white themes that with OLED panels showing up everywhere (where dark pixels are effectively shut off), that a dark BG with light FG/text has quite a bit of a "halo" effect on the letters and this fuzziness wreaks havock on my eyesight/fatigue.
- deleted 11mo ago[deleted]
- theturtlemoves 11mo agoYes I know. Like I said, I'm just another biased user with their particular type of vision impairment ;) It's impossible to please everyone
- riidom 11mo agoWhile there are options, and pretty much all of them mentioned several times here (going the darkreader route myself) - it is no complex task for someone who has done CSS before, on a site like HN.
- VerifiedReports 11mo agoIt's sad that everyone has to run around implementing hard-coded "dark themes" 30 years after computers users could routinely set up system-wide color schemes themselves.
- walletdrainer 11mo agoThe whole point here is for websites to respect those user configured system-wide color schemes. This is why prefers-color-scheme exists.
- brudgers 11mo agoIt’s browsers that ignore user choices. They also are constantly moving targets for any web designer who tries to keep up…
- VerifiedReports 11mo agoI understand. The elimination of the color-scheme editor from Windows and the ascendancy of devices that never had one has allowed designers to get away with defective (AKA incomplete) color overrides on Web pages and in software.
- lwansbrough 11mo agoI see a lot of people in here saying no. Just don’t use it if you don’t want it. It’s really that simple. This is a very simple feature request for HN.
- chistev 11mo ago[flagged]
- Jean-Papoulos 11mo agohttps://darkreader.org/ https://darkreader.org/
- avocadoLife 11mo agoIf you're on firefox, this extension is lovely https://www.modernhn.com/ https://www.modernhn.com/
- setnone 11mo agoA quote from the post you mentioned > I don't want my eyes to burn when I'm browsing HN at night on my phone Is it just me who feels completely opposite? I struggle to read dark, text-heavy websites for the exact same reason. Also, if dark mode ends up happening, please put the checkbox on the account page, the UI is busy enough :)
- lrpe 11mo agoNo. It's not just you. I have nothing against dark mode in principle, but please don't make it the default. Respect the user's preference. Or, at the very least, don't use white on black. Soften the contrast so that, if you force me to read it, it's not burned into my vision.
- florians 11mo agoThe problem is that most sites implement dark mode wrong with too much contrast. It doesn’t work if you make it “black”. It’s more about dimming the lights. Reading dark pages will never be as good as reading in a well lit room. But there are ways to make it work.
- pvdebbe 11mo agoI checked my calendar. It didn't say anything about dark modes. What does the current year have to do with anything?
- chistev 11mo agoNice joke. I'll steal it
- deleted 11mo ago[deleted]
- arooaroo 11mo agoI put my phone’s brightness down to minimum at night. Nonetheless I use HN purposely as a dim light when the phone’s torch would be too bright and a beige glow does the job splendidly. (Typically, when I’m moving around the house late at night and everyone else is asleep - when pitch black the torch is too extreme.) That said, given the amount of time I spend reading on the site I do wish there was a dark mode option.
- Bender 11mo agoThis is the dark mode ublock I use [1] along with a few other uBlock+HN related things. Adjust as needed. I assume most browsers have support for uBlock. [1] - https://mirror.newsdump.org/hn-ublock-colors-other.txt https://mirror.newsdump.org/hn-ublock-colors-other.txt
- a1n 11mo agoI use octal app for this
- postalcoder 11mo agoI've been actively developing https://hcker.news https://hcker.news, a replacement for the hacker news frontpage. It does its best to be familiar with the hn reading experience while adding a lot of missing features. A lot of people use it on the regular and I have been lucky to have a lot of their feedback since I shared it here a few months ago. I just added support for comments too! I'd love to know what folks think.
- moralestapia 11mo agoIt's even brighter than the original. Th-thanks ...
- postalcoder 11mo agohaha, i can't believe i forgot to mention you can turn on a dark mode. one of the missing features i added was to make things dark, which was supposed to be the point of the comment. You have to open up the settings drawer and you can have it match your system scheme.
- dzonga 11mo agoi'm sure you know you can add custom css sheets ? through bookmarklets
- ceving 11mo agoThis was my first dark mode: https://www.dosforum.de/viewtopic.php?t=12253 https://www.dosforum.de/viewtopic.php?t=12253 Been there, done that. A black background is generally more tiring for the eyes. A black background means less light. Less light means the eye's aperture has to open wider. A wider aperture means less depth of field. Less depth of field means the eye has to work harder to focus. There are reasons for using a black background on a mobile phone, as it can save energy. But for any device that has a power adapter, a black background is simply self-flagellation.
- florians 11mo agoIt depends on the environment. Of course, reading HN in a dark room will never be pleasant. But looking into a bright white flashlight can really hurt. Good dark modes are not simply black/white but make use of the right font weight and color to reduce glare.