Auto Dark Theme #74

Open
by Ghost opened 3 years ago · 4 comments
Ghost commented 3 years ago

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

Somehow,can we implement this ?

It sets dark theme if System settings is dark,and light theme if system theme is light.

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme Somehow,can we implement this ? It sets dark theme if System settings is dark,and light theme if system theme is light.
hw added the
gitea-related
label 3 years ago
hw commented 3 years ago
Owner

Have you chatted with the Gitea devteam about this? Seems a pretty cool feature, albeit browser support is limited yet?

Have you chatted with the Gitea devteam about this? Seems a pretty cool feature, albeit browser support is limited yet?
sv commented 1 year ago

This works with latest Chromium and Firefox. For the latter, one might set ui.systemUsesDarkTheme to 1 in about:config to explicitely prefer dark theme when available.

As Codeberg already has dark theme, can it be turned on via corresponding @media selector?

This works with latest Chromium and Firefox. For the latter, one might set `ui.systemUsesDarkTheme` to 1 in `about:config` to explicitely prefer dark theme when available. As Codeberg already has dark theme, can it be turned on via corresponding @media selector?
6543 commented 1 year ago
Collaborator

looks interesting ...

looks interesting ...
fnetX added this to the Theme diversity milestone 11 months ago
n commented 8 months ago
Collaborator

Upstream issue at go-gitea/gitea#8183.

Upstream issue at [go-gitea/gitea#8183](https://github.com/go-gitea/gitea/issues/8183).
fnetX added the
upstream
label 8 months ago
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.