Dark theme / prefers-color-scheme for some websites css
So problem goes:
-
As @Kresimir235 pointed out to me, if you have dark mode / theme on OS settings LibreWolf picks theme for it's GTK ok, however stuff like New tab is still burning eyes white
-
On gitter someone mentioned that site https://snapdrop.net/ i've noticed it opens as dark on Firefox, and as light on LibreWolf
So i did my homework...
If you have set
privacy.resistFingerprinting
totrue
,prefers-color-scheme
preference is overridden tolight
.Alternately, users can create the numeric preference
ui.systemUsesDarkTheme
to override the default behavior and returnlight
(value: 0),dark
(value: 1), orno-preference
(value: 2). (Any other value causes Firefox to returnlight
.)(c) https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
We on LIbreWolf of course set privacy.resistFingerprinting
to true
, and that's the problem, coz it's some kind of "umbrella" setting which disables multiple important settings as well as ability to auto-detect or force color-scheme...
I know that's kinda part of fingerprinting routine, but it would be really cool if we could still somehow have privacy.resistFingerprinting = true
, but with ability to override ui.systemUsesDarkTheme
Here's a lot of those "umbrella" settings https://bugzilla.mozilla.org/show_bug.cgi?id=1333933