Hacker News new | ask | show | jobs
by aaronchall 1522 days ago
This is what I use, and it works really well on a simple site like this one.

In Chrome, go to chrome://flags and search for Auto Dark Mode for Web Contents and select "Enabled" (or a similar option, I prefer "Enabled with increased text contrast" sometimes.)

That said, it shouldn't be hard for the site to add a bit of css like:

    @media (prefers-color-scheme: dark) {
    ...
and thus respect the preferences of the users without having to resort to using a specific browser, plugins (whose code may or may not have vulnerabilities), or whatever user hacks we can come up with. (@dang, what do you think?)