From eae9397fa275ecc8c1af63eac702b8b5c7e2d52e Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 3 Apr 2024 15:15:13 +0200 Subject: [PATCH] [THEME] Update variables - Follows a579a0f318b9d6b975e2b6feac1aa0a9054f4945 - Remove `--color-code-sidebar-bg`. - `--color-active-line` -> `--color-highlight-bg`. - Add `--color-highlight-fg`. - Resolves #2964 --- web_src/css/themes/theme-forgejo-dark.css | 4 ++-- web_src/css/themes/theme-forgejo-light.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web_src/css/themes/theme-forgejo-dark.css b/web_src/css/themes/theme-forgejo-dark.css index 0533344a8..a48d008f3 100644 --- a/web_src/css/themes/theme-forgejo-dark.css +++ b/web_src/css/themes/theme-forgejo-dark.css @@ -208,7 +208,6 @@ --color-markup-code-block: var(--steel-850); --color-button: var(--steel-600); --color-code-bg: var(--steel-750); - --color-code-sidebar-bg: var(--steel-600); --color-shadow: #00000060; --color-secondary-bg: var(--steel-700); --color-text-focus: #fff; @@ -231,7 +230,8 @@ --color-label-active-bg: #cacacaff; --color-accent: var(--color-primary-light-1); --color-small-accent: var(--color-primary-light-5); - --color-active-line: var(--color-primary-alpha-20); + --color-highlight-fg: var(--color-primary-light-4); + --color-highlight-bg: var(--color-primary-alpha-20); --color-overlay-backdrop: #080808c0; accent-color: var(--color-accent); color-scheme: dark; diff --git a/web_src/css/themes/theme-forgejo-light.css b/web_src/css/themes/theme-forgejo-light.css index e26ba2552..74d2cf3b8 100644 --- a/web_src/css/themes/theme-forgejo-light.css +++ b/web_src/css/themes/theme-forgejo-light.css @@ -226,7 +226,6 @@ --color-markup-code-block: var(--zinc-150); --color-button: var(--zinc-150); --color-code-bg: var(--zinc-50); - --color-code-sidebar-bg: var(--zinc-100); --color-shadow: #00000060; --color-secondary-bg: var(--zinc-100); --color-text-focus: #fff; @@ -248,7 +247,8 @@ --color-label-active-bg: #cacacaff; --color-accent: var(--color-primary-light-1); --color-small-accent: var(--color-primary-light-5); - --color-active-line: var(--color-primary-light-6); + --color-highlight-fg: var(--color-primary-light-4); + --color-highlight-bg: var(--color-primary-light-6); --color-overlay-backdrop: #080808c0; accent-color: var(--color-accent); color-scheme: light;