1
0
Fork 0
forked from forgejo/forgejo

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

(cherry picked from commit faab0c670e)
(cherry picked from commit b6d59493c7)
(cherry picked from commit 837da0c1f4)
This commit is contained in:
Caesar Schinas 2022-12-25 01:44:04 -10:00 committed by Loïc Dachary
parent 095c1ab679
commit 71ad245e1d
No known key found for this signature in database
GPG key ID: 992D23B392F9E4F2
5 changed files with 580 additions and 4 deletions

View file

@ -79,8 +79,8 @@ var UI = struct {
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:"},