Enable Auto theming using Dark Mode CSS #8183

Closed
opened 2019-09-15 05:08:01 +00:00 by ghost · 0 comments
ghost commented 2019-09-15 05:08:01 +00:00 (Migrated from github.com)

For those who don't know,DarkMode CSS is new feature available in all latest browsers(Blink,Gecko,Webkit based).It themes the website based on System's theme.If the system does have Dark theme,then the site would have dark theme,and if the system has light theme ,then the site would have light theme.(One can also create custom behavioyr for each type).
Ref:

  1. Introduction by Webkit
  2. Mozilla Docs

I want Gitea to have arc-theme(name of dark theme in gitea) when the system is in dark mode and gitea(name of light theme in gitea) when the system is in light mode.

Atleast enable option named "Auto" under themes to enable automatic themes based on dark mode css

For those who don't know,DarkMode CSS is new feature available in all latest browsers(Blink,Gecko,Webkit based).It themes the website based on System's theme.If the system does have Dark theme,then the site would have dark theme,and if the system has light theme ,then the site would have light theme.(One can also create custom behavioyr for each type). Ref: 1. [Introduction by Webkit](https://webkit.org/blog/8840/dark-mode-support-in-webkit/) 2. [Mozilla Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) I want Gitea to have arc-theme(name of dark theme in gitea) when the system is in dark mode and gitea(name of light theme in gitea) when the system is in light mode. Atleast enable option named "Auto" under themes to enable automatic themes based on dark mode css
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lunny/gitea#8183
No description provided.