diff options
author | Gwyneth Morgan <gwymor@tilde.club> | 2021-09-27 07:47:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 15:47:44 +0100 |
commit | 4e0cca3f7d9dd227df161e3548cc374c169d3dc6 (patch) | |
tree | a21ca6ae0f8ecab4de9f805771f3b7e453e73b2c /custom | |
parent | 868e937a5354d4d8d9fd754fc80be26a5f345ba6 (diff) | |
download | gitea-4e0cca3f7d9dd227df161e3548cc374c169d3dc6.tar.gz gitea-4e0cca3f7d9dd227df161e3548cc374c169d3dc6.zip |
Use light/dark theme based on system preference (#17051)
Add a new default theme `auto`, which will automatically switch between
`gitea` (light) and `arc-green` (dark) themes depending on the user's
operating system settings.
Closes: #8183
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index f8a4dda4f2..90a11ec657 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -1035,10 +1035,10 @@ PATH = ;SHOW_USER_EMAIL = true ;; ;; Set the default theme for the Gitea install -;DEFAULT_THEME = gitea +;DEFAULT_THEME = auto ;; ;; All available themes. Allow users select personalized themes regardless of the value of `DEFAULT_THEME`. -;THEMES = gitea,arc-green +;THEMES = auto,gitea,arc-green ;; ;; All available reactions users can choose on issues/prs and comments. ;; Values can be emoji alias (:smile:) or a unicode emoji. |