diff --git a/web_src/css/base.css b/web_src/css/base.css index 05ab0255e..a2cf4ba58 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -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; diff --git a/web_src/css/themes/theme-forgejo-dark.css b/web_src/css/themes/theme-forgejo-dark.css index a48d008f3..43d8428e9 100644 --- a/web_src/css/themes/theme-forgejo-dark.css +++ b/web_src/css/themes/theme-forgejo-dark.css @@ -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); diff --git a/web_src/css/themes/theme-forgejo-light.css b/web_src/css/themes/theme-forgejo-light.css index 74d2cf3b8..858f61b95 100644 --- a/web_src/css/themes/theme-forgejo-light.css +++ b/web_src/css/themes/theme-forgejo-light.css @@ -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);