1
0
Fork 0
forked from forgejo/forgejo

Add the ability to have built in themes in Gitea (#4198)

This makes it easier for user who want to theme but
don't have the ability to know how to customize templates
all that is required is a change in a config option

The reason why I chose the DEFAULT_THEME as variable,
as perhaps in the future we will allow users to chose their
theme whon logged in just like we do with languages
This commit is contained in:
techknowlogick 2018-07-05 17:25:04 -04:00 committed by GitHub
parent 28c1c90230
commit f1d6a1fffc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 849 additions and 75 deletions

View file

@ -75,6 +75,8 @@ THEME_COLOR_META_TAG = `#6cc644`
MAX_DISPLAY_FILE_SIZE = 8388608
; Whether the email of the user should be shown in the Explore Users page
SHOW_USER_EMAIL = true
; Set the default theme for the Gitea install
DEFAULT_THEME = gitea
[ui.admin]
; Number of users that are displayed on one page