P.S. the Duck browser literally has a universal dark mode setting, I don't recall a site it wasn't able to dark-force darkify for me (language is fun)
I also detest the conflation of OS dark preference, browser chrome theme preference, and website rendering preference. It should be obvious to anyone that these are three different concepts where people can have different preferences for each. The cargo-culting in silicon valley drives me nuts.
If the website is using modern CSS then the colors would be set via CSS variables instead of being set inline in lots of places.
> I also detest the conflation of OS dark preference, browser chrome theme preference, and website rendering preference. It should be obvious to anyone that these are three different concepts where people can have different preferences for each.
Most people definitely prefer consistency so I don't think it is unreasonable to default to following the system preference.
Personally I'm using an HN version of Twitter's Dim theme [3]
[1] https://soitis.dev/comments-owl-for-hacker-news
[2] https://github.com/insin/comments-owl-for-hacker-news/blob/m...
[3] https://imgur.com/a/comments-owl-hacker-news-dark-modes-iFSk...
Javascript: https://pastebin.com/50EUfktL CSS: https://pastebin.com/nzEhxxBY
I do appreciate how minimalist hackernews tries to be, but I think respecting the operating system's theme can be considered very minimalist
If you go with a cheap enough colo provider, you can get it down to like $200/mo (depending on electricity prices and such where you are) with an initial cost of like $800 for some used server hardware.
I'd share my ruleset, however, I am missing one. Before I switched PCs (motherboard caught fire) I had one that made everything dark mode, didn't dim the text, and buttons/text inputs/other inputs were also properly inverted. I had to make it myself because googling Hacker News dark mode always led to the same broken themes. I forgot to back it up. Adding dark mode doesn't need a bunch of extensions, and while I'm sure the "stylus" extension is probably useful (I haven't used it, sounds like a CSS override extension), UBO does CSS and JS.
Just my thoughts. Don't mind me.
The latest Safari also supports creating limited extensions on the fly via AI.
I have no idea why all the fucking vibed websites that swank around the web these days are unable to do a simple thing:
* Have one or more "themes" with dark and light variants
* Query the browser for a preference of light or dark and offer the default theme with the probed variant.
There is also the rather wider issue of accessibility in general. I happen to be an older bloke with astigmatism and rapidly worsening ... fucked up focussing and glasses and that. I'm lucky to have both eyes and decent colour perception and general all around acuity (for a given value of acuity).It's 2026 FFS. Why on earth is this even being discussed as an issue? We have all these cool vibed efforts that can't even be bothered with simple basics.
it now has many dark themes, bloomberg is my favorite.
Where are the themes? (I might be missing on mobile)
The fact that this website wasn’t capable of dark mode made me create a CSS overlay on desktop.
I am back to somewhat normal now with my eyes, but I feel really bad for anyone in the same position.
I know that the current exact HN is magic, but come on. There is CSS to detect the system’s theme. There is no need to create a button or anything.