You'll also find there my standard "light mode" styling which is how I typically browse the site.
xnx · 28m 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.
Gualdrapo · 2m 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.
wakawaka28 · 21m 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 · 6m 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 · 5m ago
In that case give me the JSON data, I’ll do the rest.
gausswho · 26m 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.
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.
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 · 48m ago
Uhh isn't default HN always 30 items?
magackame · 31m ago
They mean you can press "more" only once for a maximum of 60 vs HNs "infinite" more button.
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.
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.
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.
Being self sufficient is a superpower that should be encouraged on the web. Change colors, fix formatting, remove ads! Power to the user!
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)
html {background: #000;} body {filter: invert(.95) hue-rotate(12deg);}
https://chromewebstore.google.com/detail/stylus/clngdbkpkpee...
I'm developing a system to pass arbitrary condiments.
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.
EDIT: now I know there is max 35 pages of HN