[BRANDING] Add Forgejo light, dark, and auto themes

(cherry picked from commit 009bb07ad8)
This commit is contained in:
Caesar Schinas 2022-12-25 01:44:04 -10:00 committed by Loïc Dachary
parent 1d6499c888
commit 2716d78a43
No known key found for this signature in database
GPG key ID: 992D23B392F9E4F2
5 changed files with 580 additions and 4 deletions

View file

@ -287,8 +287,8 @@ var (
ReactionMaxUserNum: 10,
ThemeColorMetaTag: `#6cc644`,
MaxDisplayFileSize: 8388608,
DefaultTheme: `auto`,
Themes: []string{`auto`, `gitea`, `arc-green`},
DefaultTheme: `forgejo-auto`,
Themes: []string{`forgejo-auto`, `forgejo-light`, `forgejo-dark`, `auto`, `gitea`, `arc-green`},
Reactions: []string{`+1`, `-1`, `laugh`, `hooray`, `confused`, `heart`, `rocket`, `eyes`},
CustomEmojis: []string{`git`, `gitea`, `codeberg`, `gitlab`, `github`, `gogs`, `forgejo`},
CustomEmojisMap: map[string]string{"git": ":git:", "gitea": ":gitea:", "codeberg": ":codeberg:", "gitlab": ":gitlab:", "github": ":github:", "gogs": ":gogs:", "forgejo": ":forgejo:"},