mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-10-27 20:41:01 +00:00
[BRANDING] Add Forgejo light, dark, and auto themes
(cherry picked from commitfaab0c670e) (cherry picked from commitb6d59493c7) (cherry picked from commit837da0c1f4) (cherry picked from commit71ad245e1d) (cherry picked from commit85a7032f1b) Conflicts: web_src/css/themes/theme-forgejo-auto.less web_src/css/themes/theme-forgejo-dark.less web_src/css/themes/theme-forgejo-light.less web_src/less/_home.less see https://codeberg.org/forgejo/forgejo/pulls/552 (cherry picked from commit0c2c131bb0) [BRANDING] Add Forgejo light, dark, and auto themes: fix import Closes: https://codeberg.org/forgejo/forgejo/issues/562 (cherry picked from commit2b0dc1f80f) (cherry picked from commit494ad6a3b7) (cherry picked from commit6940fc22c4) (cherry picked from commitbd6f00656c) (cherry picked from commitebb506a124) (cherry picked from commit43d72d3781) (cherry picked from commit1a87adca01) (cherry picked from commit0704c410b4) (cherry picked from commit9039b47c16) (cherry picked from commite32bb78924) (cherry picked from commit053ad84f91) (cherry picked from commita35f1b6da7) (cherry picked from commit8cb94c01d5) [BRANDING] fix invisible label in branch protection settings (cherry picked from commit23e5d45721) (cherry picked from commitf02e4582e5) [BRANDING] Fix commit label for Forgejo Dark theme (#843) - Define the `--color-label-text` variable with a light color, which is currently used for commit's SHA Co-authored-by: Gusted <postmaster@gusted.xyz> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/843 (cherry picked from commit74c186a380) (cherry picked from commit7e185c5ca5) [BRANDING] Add Forgejo light, dark, and auto themes (squash) variables Adapt tob6bcb79987Improve notification icon and navbar Refs: https://codeberg.org/forgejo/forgejo/issues/893 [BRANDING] Add Forgejo light variables Updates the Forgejo light theme with the changes inb6bcb7998These are the same changes as made in 2574dbcff to the dark theme Refs: forgejo/forgejo#893 (cherry picked from commit9e99fe4f9e)
This commit is contained in:
parent
d116336cb5
commit
acbb98bd91
5 changed files with 538 additions and 4 deletions
|
|
@ -76,8 +76,8 @@ var UI = struct {
|
|||
CodeCommentLines: 4,
|
||||
ReactionMaxUserNum: 10,
|
||||
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:"},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue