diff options
author | silverwind <me@silverwind.io> | 2022-11-23 01:22:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 08:22:27 +0800 |
commit | ee21d5453f335e2530ba947e1896353d663525ad (patch) | |
tree | 6f393afef1ec1659f46f341f765dfe9dfeee93bf /web_src/less/themes/theme-arc-green.less | |
parent | 68e934ab5de6a4e8bec6f3faa8bf1e05899b8fb8 (diff) | |
download | gitea-ee21d5453f335e2530ba947e1896353d663525ad.tar.gz gitea-ee21d5453f335e2530ba947e1896353d663525ad.zip |
Move all remaining colors into CSS variables (#21903)
This should eliminate all non-variable color usage in the styles, making
gitea fully themeable via CSS variables. Also, it adds a linter to
enforce variables for colors.
Diffstat (limited to 'web_src/less/themes/theme-arc-green.less')
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index fab1b9c3b4..8c05ad278f 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -107,6 +107,19 @@ --color-info-border: #306090; --color-info-bg: #26354c; --color-info-text: #38a8e8; + --color-red-badge: #db2828; + --color-red-badge-bg: #db28281a; + --color-red-badge-hover-bg: #db28284d; + --color-green-badge: #21ba45; + --color-green-badge-bg: #21ba451a; + --color-green-badge-hover-bg: #21ba454d; + --color-yellow-badge: #fbbd08; + --color-yellow-badge-bg: #fbbd081a; + --color-yellow-badge-hover-bg: #fbbd084d; + --color-orange-badge: #f2711c; + --color-orange-badge-bg: #f2711c1a; + --color-orange-badge-hover-bg: #f2711c4d; + --color-git: #f05133; /* target-based colors */ --color-body: #383c4a; --color-box-header: #404652; |