From e547439b961893704610aaff7dc9bac5e925e230 Mon Sep 17 00:00:00 2001 From: Gusted Date: Tue, 6 Aug 2024 02:05:23 +0200 Subject: [PATCH] [UI] Add reaction hover background color - Follows 595e8abd686c7d555ff94668fb46604b92025956 - Add the reaction hover background color variable, slightly lighter than the active background color. (cherry picked from commit cc11b3027c05d60d9f2a4dd5c83f060f66518d80) --- web_src/css/themes/theme-forgejo-dark.css | 1 + web_src/css/themes/theme-forgejo-light.css | 1 + 2 files changed, 2 insertions(+) diff --git a/web_src/css/themes/theme-forgejo-dark.css b/web_src/css/themes/theme-forgejo-dark.css index c4d7287ff9..9622add8e5 100644 --- a/web_src/css/themes/theme-forgejo-dark.css +++ b/web_src/css/themes/theme-forgejo-dark.css @@ -228,6 +228,7 @@ /* should ideally be --color-text-dark, see #15651 */ --color-reaction-bg: #ffffff12; --color-reaction-active-bg: var(--color-primary-alpha-30); + --color-reaction-hover-bg: var(--color-primary-alpha-40); --color-tooltip-text: #ffffff; --color-tooltip-bg: #000000f0; --color-nav-bg: var(--steel-900); diff --git a/web_src/css/themes/theme-forgejo-light.css b/web_src/css/themes/theme-forgejo-light.css index 9ad58879ab..201818964b 100644 --- a/web_src/css/themes/theme-forgejo-light.css +++ b/web_src/css/themes/theme-forgejo-light.css @@ -244,6 +244,7 @@ /* should ideally be --color-text-dark, see #15651 */ --color-reaction-bg: #0000000a; --color-reaction-active-bg: var(--color-primary-alpha-20); + --color-reaction-hover-bg: var(--color-primary-alpha-30); --color-tooltip-text: #ffffff; --color-tooltip-bg: #000000f0; --color-nav-bg: var(--zinc-100);