mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 13:19:37 -05:00
[THEME] Use better color for labels/counters
- improves contrast - looks good - improves consistency with other label-y elements
This commit is contained in:
parent
4b8d06b0a7
commit
a245fb5c83
3 changed files with 9 additions and 3 deletions
|
@ -1222,6 +1222,10 @@ overflow-menu .ui.label {
|
|||
color: var(--color-label-text);
|
||||
}
|
||||
|
||||
.ui.menu .active.item > .label {
|
||||
background: var(--color-label-bg-alt, var(--color-label-bg));
|
||||
}
|
||||
|
||||
.lines-blame-btn {
|
||||
padding: 0 0 0 5px;
|
||||
display: flex;
|
||||
|
|
|
@ -226,9 +226,10 @@
|
|||
--color-nav-bg: var(--steel-900);
|
||||
--color-nav-hover-bg: var(--steel-600);
|
||||
--color-label-text: #fff;
|
||||
--color-label-bg: #cacaca5b;
|
||||
--color-label-hover-bg: #cacacaa0;
|
||||
--color-label-active-bg: #cacacaff;
|
||||
--color-label-bg: var(--steel-600);
|
||||
--color-label-hover-bg: var(--steel-550);
|
||||
--color-label-active-bg: var(--steel-500);
|
||||
--color-label-bg-alt: var(--steel-550);
|
||||
--color-accent: var(--color-primary-light-1);
|
||||
--color-small-accent: var(--color-primary-light-5);
|
||||
--color-active-line: var(--color-primary-alpha-20);
|
||||
|
|
|
@ -246,6 +246,7 @@
|
|||
--color-label-bg: #cacaca5b;
|
||||
--color-label-hover-bg: #cacacaa0;
|
||||
--color-label-active-bg: #cacacaff;
|
||||
--color-label-bg-alt: #cacacaff;
|
||||
--color-accent: var(--color-primary-light-1);
|
||||
--color-small-accent: var(--color-primary-light-5);
|
||||
--color-active-line: var(--color-primary-light-6);
|
||||
|
|
Loading…
Reference in a new issue