Respect my damn color scheme preference
Published on 2021-11-08 by flewkeyI recently switched from light themes to dark themes. Dark themes seem to be supported enough that most applications seem to work with them. Many websites don’t, but it’s not the end of the world. Theming is hard and I do not expect developers to support it.
However, I find it inexcusable and frustrating when a website already has a dark theme, but ignores the user’s preferences. Especially if they have a stupid little theme selector that writes to a value in localStorage or something.
If you must use JavaScript to set your themes, consider taking your user’s color scheme preference into consideration when choosing which theme to default to. We will be grateful.
if (window.matchMedia("(prefers-color-scheme: dark)").matches)
/* Set theme */
Even better, you can just use a media query like a normal person. If you need to override it with JavaScript later, you can do that.
Articles from blogs that I like
Against the Censorship of Adult Content By Payment Processors
This is a furry blog, where I write about whatever interests me and sign it with my fursona’s name. I sometimes talk about furry fandom topics, but I sometimes also talk about applied cryptography. If you got a mild bit of emotional whiplash from that sen…
From Dhole Moments
Published on July 24, 2025
Question #35: What the F*ck is Photography’s Founding Myth (And Why the F*ck Should We Care)? Episode Two
Onward to Colour With the previous Question #34, we began a discussion of “Seeing X in Y”. Given that we have at least a fundamental grasp of the idea that a pictorial depiction is not an “innate” experience, but rather a cognitively mediated construct, w…
From The Hitchhiker's Guide to Digital Colour
Published on May 7, 2025
Why Build?
"The Centre of the Universe is of course that marvellous land known as Fraggle Rock. It is thus called because it is A Rock and Fraggles Live There. Fraggles are a noble race. Fearless, dignified, intellectual, they represent the very pinnacle of civil…
From codersnotes.com
Published on June 3, 2022
Generated with the spectacular power of openring