Dark mode is here for Wikipedia (finally!). Dark mode has been one of the most requested features. It improves accessibility and reduces eye strain for readers and communities across Wikimedia proj…
So, if I'm reading this right it's basically just a 17 paragraph essay that boils down to, "Sorry we suck at CSS and it took us a decade to finally get around to rooting out all the random shit from 2014 that was hard-coded to display as rgb(0,0,0) or whatever, which was a capability that in retrospect we really shouldn't have handed out like candy?"
The TV Tropes wiki has managed to have a built in dark mode for at least the last 7 years. TV Tropes. Come on, guys.
I'm baffled by the section about "making a shortcut that darkens all the colors on the page." I'm positive that's the intent of that entire blurb, to dazzle people with bullshit in the hopes that they won't ask Hard Questions, because no competent designer would ever try such a thing. It is a self-evidently moronic idea. You don't fuck with elements you didn't create and don't control, like images and color swatches.
There are only really two viable possibilities, here:
If arbitrary user definable, hard-coded colors in content are permissible, you'll have to accept the fact that the cards will fall where they may and some instances will inherently be suboptimal in either light or dark modes, or...
Accept that you won't allow users to hard-code colors into anything outside of specific elements where that usage is valid, so users will just have to suck it up and pick from a list of preapproved color combinations with light and dark mode renditions.
I've always been kind of curious: am I weird because I prefer light mode for web pages with a lot of text to read? Or is it more of an age-gated thing, like older people who grew up reading printed texts only prefer what's familiar to them? I'm fine with YouTube (for example) having a black background and dark theme, but I even browse Lemmy via old.lemmy.world in light mode!
It does look like you currently need to be logged in to set the setting or set it each time (or, I assume, have your browser retain persistent cookies); the default is light. It'd be kind of nice if it just used the browser "light" or "dark" preference.
Maybe this is just temporary; they do say that the dark mode is "beta".
Only skimmed the article: why did their initial theme color solution affect the media contents like international orange? Feels like that would be a non-starter…
If by trying to change just the color of text and its background, images and other containers would change color too that mean it is a css tagging issue. It is really trivial to correctly color just text and its container with dark theme leaving "custom" things hacked in html inside the page with light theme, people will contribute to make them darkable afterward.