3 ms·
Ask HN: Dark Mode for HN?
Can we have a dark mode for HackerNews?
- rfarley04 1y agoI 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 https://news.ycombinator.com/item?id=45111854
- minimaxir 1y agoA year ago, dang said the team would prefer a more robust theming solution: https://news.ycombinator.com/item?id=41105536 https://news.ycombinator.com/item?id=41105536
- UltraMagnus 1y agoThere is also https://hackerweb.app/ 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 1y agoUhh isn't default HN always 30 items?
- magackame 1y agoThey 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 1y agoA+++ , would buy again, :)
- squigz 1y agoAll you need is https://darkreader.org/ https://darkreader.org/
- augusto-moura 1y agoYep, 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 1y agoYou may try this extension: https://chromewebstore.google.com/detail/hacker-news-tools/flhbhgflcehfhimejnjadbfpebhhaopi https://chromewebstore.google.com/detail/hacker-news-tools/f...
- bbx 1y agoI made this 5 years ago: https://jgthms.com/hacker-news-dark-mode/ https://jgthms.com/hacker-news-dark-mode/
- MitPitt 1y agoStylus 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 1y agoI use the Stylus Chrome extension with CSS: html {background: #000;} body {filter: invert(.95) hue-rotate(12deg);} https://chromewebstore.google.com/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne?hl=en https://chromewebstore.google.com/detail/stylus/clngdbkpkpee...
- mpicker0 1y agoI use this extension for Stylus on Firefox: https://github.com/pyxelr/hacker-news-bluish-gray https://github.com/pyxelr/hacker-news-bluish-gray
- xnx 1y agoDark 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 1y agoIt 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 1y agoTrue, 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 1y agoIn that case give me the JSON data, I’ll do the rest.
- throw-the-towel 1y agohttps://github.com/HackerNews/API https://github.com/HackerNews/API
- dredmorbius 1y agoHow many sites offer this? I was chuffed a ways back to find a JSON endpoint at the NYTimes. It was, unfortunately, rather stale. (It's also since vanished and/or I cannot recall the correct URL. The obvious ones, <https://www.nytimes.com/JSON https://www.nytimes.com/JSON> and <https://www.nytimes.com/json https://www.nytimes.com/json> don't work. There is a dev portal however: <https://developer.nytimes.com/docs/archive-product/1/overview https://developer.nytimes.com/docs/archive-product/1/overvie...> FAQ: <https://developer.nytimes.com/faq https://developer.nytimes.com/faq>.)
- gausswho 1y agoI currently use: On the laptop: Modern HN (https://www.modernhn.com 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 https://github.com/SimonHalvdansson/Harmonic-HN)
- efreak 1y agoI 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 1y agoYou already do on a mac at least. ctrl-option-command-8.
- onelesd 1y agoi 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)
- dredmorbius 1y agoLinked 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 https://pastebin.com/6PF3dCXH> You'll also find there my standard "light mode" styling which is how I typically browse the site.
- Martin_Silenus 1y agoGiven 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. Well supported by all mainstream browsers: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-dark https://developer.mozilla.org/en-US/docs/Web/CSS/color_value...
- elhenrico 1y agoI made this userscript: https://greasyfork.org/en/scripts/504879-simple-darkmode-for-hckrnews-hacker-news https://greasyfork.org/en/scripts/504879-simple-darkmode-for...
- todotask2 1y agoThis 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
- pluc 1y agoDark Reader for Firefox
- clairegraham 1y agoThe Noir app for iOS is what I use and it works well for HN. https://apps.apple.com/us/app/noir-dark-mode-for-safari/id1581140954 https://apps.apple.com/us/app/noir-dark-mode-for-safari/id15...
- ashish01 1y agohttps://hn-reader.pages.dev/ https://hn-reader.pages.dev/
- deleted 1y ago[deleted]
- xnx 1y agoWild that Netscape Navigator 1.1 (1995) had the ability to pick background colors for web pages.
- uKVZe85V 1y agoBeen there, done that. Then dropped dark mode entirely. Strong filtering of blue light (use redshift or whatever your OS provides) beats dark theme IMHO, without the downsides.
- skydhash 1y agoI default to light mode these days. Astigmatism does not goes well with small, bright details against a dark background. Then I can turn the brightness of the display way down.
- jethronethro 1y agoBased on YC's reaction to the many, many other request like this I'm going to say No. The DIY options in responses are the best you're going to get.
- rcarmo 1y agoI’ve tried asking for it because embedded browsers in RSS readers can’t use extensions, but I am positive usability isn’t a priority…