night mode #403
Labels
No labels
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Plume/Plume#403
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
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.Probably some flag in about:config for the moment? Or maybe it uses the preference from your DE?