Merge pull request '[v7.0/forgejo] Better color for labels/counters' (#3024) from bp-v7.0/forgejo-a245fb5 into v7.0/forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3024
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-04-04 12:08:48 +00:00
commit bc873f2e83
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

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

View file

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