Merge pull request 'Better color for labels/counters' (#2935) from 0ko/forgejo:glorious-label-color into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2935
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-04-03 20:03:54 +00:00
commit 5ff20d4583
3 changed files with 9 additions and 3 deletions

View file

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

View file

@ -225,9 +225,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-highlight-fg: var(--color-primary-light-4);

View file

@ -245,6 +245,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-highlight-fg: var(--color-primary-light-4);