News for hackers. Stuff that matters.
Re:Ask HN: Why does Chrome's Dark Mode extension not work on... by battles on Thursday January 05, 2023 @10:39PM (#34270674)
It looks like hn uses the deprecated 'bgcolor' attribute for that part of the page which overrides the css for the extension. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr...
Re:Ask HN: Why does Chrome's Dark Mode extension not work on... by dredmorbius on Sunday January 08, 2023 @03:58AM (#34297343)
As an alternative, you can hack HN's CSS directly using Stylus.

My "Madhackery" theme isn't dark, but could be with reasonable ease:

<https://pastebin.com/gLXiqKyd>

And here's something I've hacked together quickly based on the previous style, for an HN dark mode:

<https://pastebin.com/HmHBWwjE>