Open trinity-1686a opened 5 years ago
there's also this CSS draft https://drafts.csswg.org/mediaqueries-5/#prefers-color-scheme
Can we consider this as fixed now that we have a dark theme by default too? The only issue is that it doesn't respect prefers-color-scheme
, but I don't really know if we could easily have an "automatic" version of the default theme, that switches between ligth and dark based on that.
Chrome, Firefox and Safari already support it as do most mobile browsers. I think we can just add it, since CSS falls back gracefully (ignores things it doesn't know) we should be safe.
although, i have no idea how to set my preference in my Firefox.
Oh, I had an idea, we could just use @import
at the end of the CSS file to import the other variant when needed.
although, i have no idea how to set my preference in my Firefox.
Probably some flag in about:config for the moment? Or maybe it uses the preference from your DE?
From Matrix :
Some users prefer a darker theme, it would be great to have a simple switch somewhere on most pages to switch between two color themes, the one we already have, and a darker "night mode" one. Before implementing that, we should take into account how it should interact with #354
Plume version (and/or commit): 0.2.0