summaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@users.noreply.github.com>2018-07-05 17:25:04 -0400
committerGitHub <noreply@github.com>2018-07-05 17:25:04 -0400
commitf1d6a1fffc9d9712f0973b51c850f10d0872a7ea (patch)
tree990007d38f5d69da4d0c7d4320f6d71856666411 /custom
parent28c1c90230efd926d1c54a293b57139ff1fc5323 (diff)
downloadgitea-f1d6a1fffc9d9712f0973b51c850f10d0872a7ea.tar.gz
gitea-f1d6a1fffc9d9712f0973b51c850f10d0872a7ea.zip
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
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 931a525d7b..c4dd741cac 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -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