[THEME] Use better color for labels/counters

- improves contrast
- looks good
- improves consistency with other label-y elements
This commit is contained in:
0ko 2024-03-31 21:26:06 +05:00
parent 4b8d06b0a7
commit a245fb5c83
3 changed files with 9 additions and 3 deletions

View file

@ -1222,6 +1222,10 @@ overflow-menu .ui.label {
color: var(--color-label-text); color: var(--color-label-text);
} }
.ui.menu .active.item > .label {
background: var(--color-label-bg-alt, var(--color-label-bg));
}
.lines-blame-btn { .lines-blame-btn {
padding: 0 0 0 5px; padding: 0 0 0 5px;
display: flex; display: flex;

View file

@ -226,9 +226,10 @@
--color-nav-bg: var(--steel-900); --color-nav-bg: var(--steel-900);
--color-nav-hover-bg: var(--steel-600); --color-nav-hover-bg: var(--steel-600);
--color-label-text: #fff; --color-label-text: #fff;
--color-label-bg: #cacaca5b; --color-label-bg: var(--steel-600);
--color-label-hover-bg: #cacacaa0; --color-label-hover-bg: var(--steel-550);
--color-label-active-bg: #cacacaff; --color-label-active-bg: var(--steel-500);
--color-label-bg-alt: var(--steel-550);
--color-accent: var(--color-primary-light-1); --color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5); --color-small-accent: var(--color-primary-light-5);
--color-active-line: var(--color-primary-alpha-20); --color-active-line: var(--color-primary-alpha-20);

View file

@ -246,6 +246,7 @@
--color-label-bg: #cacaca5b; --color-label-bg: #cacaca5b;
--color-label-hover-bg: #cacacaa0; --color-label-hover-bg: #cacacaa0;
--color-label-active-bg: #cacacaff; --color-label-active-bg: #cacacaff;
--color-label-bg-alt: #cacacaff;
--color-accent: var(--color-primary-light-1); --color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5); --color-small-accent: var(--color-primary-light-5);
--color-active-line: var(--color-primary-light-6); --color-active-line: var(--color-primary-light-6);