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.
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.
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.
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)
Been 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.
I 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.
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
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.
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.
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.
onelesd|5 months ago
bwoah|5 months ago
todotask2|5 months ago
xnx|5 months ago
wakawaka28|5 months ago
Gualdrapo|5 months ago
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.
dredmorbius|5 months ago
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.
clairegraham|5 months ago
https://apps.apple.com/us/app/noir-dark-mode-for-safari/id15...
gausswho|5 months ago
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|5 months ago
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)
minimaxir|5 months ago
bombcar|5 months ago
SigmundA|5 months ago
uKVZe85V|5 months ago
skydhash|5 months ago
Martin_Silenus|5 months ago
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...
todotask2|5 months ago
squigz|5 months ago
augusto-moura|5 months ago
sirshmooey|5 months ago
html {background: #000;} body {filter: invert(.95) hue-rotate(12deg);}
https://chromewebstore.google.com/detail/stylus/clngdbkpkpee...
twapi|5 months ago
UltraMagnus|5 months ago
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|5 months ago
rfarley04|5 months ago
MitPitt|5 months ago
mpicker0|5 months ago
bbx|5 months ago
jethronethro|5 months ago
rcarmo|5 months ago
ashish01|5 months ago
xnx|5 months ago
asdff|5 months ago
bombcar|5 months ago
unknown|5 months ago
[deleted]
liquid_thyme|5 months ago
pluc|5 months ago
elhenrico|5 months ago