1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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>
This commit is contained in:
delvh
2022-10-07 11:48:03 +02:00
committed by GitHub
parent 30ca91666e
commit 81d7270cde
4 changed files with 17 additions and 11 deletions

View File

@@ -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 {