mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-25 18:21:54 +00:00
Fixes https://github.com/go-gitea/gitea/issues/37448 Adjust the diff stat counter and syntax colors in both light and dark themes to github-like colors that meet a >= 5:1 contrast floor (>= 7:1 for syntax names on diff rows), and make the counters semibold. --------- Signed-off-by: cyphercodes <cyphercodes@users.noreply.github.com> Co-authored-by: cyphercodes <cyphercodes@users.noreply.github.com> Co-authored-by: Hermes Agent (GPT-5.5) <hermes-agent@nousresearch.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Hermes Agent <hermes@noreply.local> Co-authored-by: silverwind <me@silverwind.io>
16 lines
379 B
CSS
16 lines
379 B
CSS
@import "./theme-gitea-light.css";
|
|
|
|
gitea-theme-meta-info {
|
|
--theme-display-name: "Light";
|
|
--theme-colorblind-type: "blue-yellow";
|
|
--theme-color-scheme: "light";
|
|
}
|
|
|
|
/* blue/yellow colorblind-friendly colors */
|
|
:root {
|
|
--color-diff-added-fg: #0860cc;
|
|
--color-diff-added-linenum-bg: #b6e3ff;
|
|
--color-diff-added-row-bg: #ddf4ff;
|
|
--color-diff-added-word-bg: #b6e3ff;
|
|
}
|