1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Expose default theme in meta and API (#13809)

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
John Olheiser
2020-12-03 06:53:21 -06:00
committed by GitHub
parent 056b8f5b52
commit e306c292ac
4 changed files with 7 additions and 0 deletions

View File

@@ -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"`
}