aboutsummaryrefslogtreecommitdiffstats
path: root/modules/structs
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-12-03 06:53:21 -0600
committerGitHub <noreply@github.com>2020-12-03 13:53:21 +0100
commite306c292ac478c0f09b2c02908e485132669aacb (patch)
tree8cd8718953a614577da00ee7be6bed0033e76f34 /modules/structs
parent056b8f5b52fc0e9ab32f99c016e1ee28975c4bcd (diff)
downloadgitea-e306c292ac478c0f09b2c02908e485132669aacb.tar.gz
gitea-e306c292ac478c0f09b2c02908e485132669aacb.zip
Expose default theme in meta and API (#13809)
Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'modules/structs')
-rw-r--r--modules/structs/settings.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/structs/settings.go b/modules/structs/settings.go
index 6874d6705b..0cb7b32841 100644
--- a/modules/structs/settings.go
+++ b/modules/structs/settings.go
@@ -12,6 +12,7 @@ type GeneralRepoSettings struct {
// GeneralUISettings contains global ui settings exposed by API
type GeneralUISettings struct {
+ DefaultTheme string `json:"default_theme"`
AllowedReactions []string `json:"allowed_reactions"`
}