diff options
author | delvh <dev.lh@web.de> | 2022-10-07 11:48:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 17:48:03 +0800 |
commit | 81d7270cde2960d52f5d987ec8b3fc3c679724a6 (patch) | |
tree | f0a860522937722e25e8b73aec8289b7815b2484 /web_src/less/themes | |
parent | 30ca91666ebd3168923baa82b4a17b039039d0a9 (diff) | |
download | gitea-81d7270cde2960d52f5d987ec8b3fc3c679724a6.tar.gz gitea-81d7270cde2960d52f5d987ec8b3fc3c679724a6.zip |
Add new CSS variables --color-accent and --color-small-accent (#21305)
At the moment, this is only used to replace the color of the `viewed`
checkbox and of the `has changed` label.
Previously, the used variable accentuated always either darker or
lighter, which meant that one theme looked good while the other didn't.
Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'web_src/less/themes')
-rw-r--r-- | web_src/less/themes/theme-arc-green.less | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less index 7ebcb87d9d..3f3d4feae2 100644 --- a/web_src/less/themes/theme-arc-green.less +++ b/web_src/less/themes/theme-arc-green.less @@ -134,6 +134,8 @@ --color-reaction-active-bg: var(--color-primary-alpha-40); --color-header-bar: #2e323e; --color-label-active-bg: #4c525e; + --color-small-accent: var(--color-primary-light-5); + --color-accent: var(--color-primary-light-3); } ::-webkit-calendar-picker-indicator { |