From 03c1c88b5be5a0371334ae9e9b6a1b96473eff15 Mon Sep 17 00:00:00 2001 From: Otto Richter Date: Tue, 30 Apr 2024 01:46:09 +0200 Subject: [PATCH] Fix colour contrast issues --- web_src/css/form.css | 2 +- web_src/css/themes/theme-forgejo-dark.css | 2 +- web_src/css/themes/theme-forgejo-light.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web_src/css/form.css b/web_src/css/form.css index a8f73b6b6..c757234e3 100644 --- a/web_src/css/form.css +++ b/web_src/css/form.css @@ -115,7 +115,7 @@ textarea:focus, } .form .help { - color: var(--color-secondary-dark-5); + color: var(--color-secondary-dark-8); padding-bottom: 0.6em; display: inline-block; } diff --git a/web_src/css/themes/theme-forgejo-dark.css b/web_src/css/themes/theme-forgejo-dark.css index 7ff071bbb..42495c854 100644 --- a/web_src/css/themes/theme-forgejo-dark.css +++ b/web_src/css/themes/theme-forgejo-dark.css @@ -213,7 +213,7 @@ --color-secondary-bg: var(--steel-700); --color-text-focus: #fff; --color-expand-button: #3c404d; - --color-placeholder-text: var(--steel-450); + --color-placeholder-text: var(--color-text-light-3); --color-editor-line-highlight: var(--steel-700); --color-project-board-bg: var(--color-secondary-light-3); --color-project-board-dark-label: var(--color-text-light-3); diff --git a/web_src/css/themes/theme-forgejo-light.css b/web_src/css/themes/theme-forgejo-light.css index 0ee7020a5..ea988e67f 100644 --- a/web_src/css/themes/theme-forgejo-light.css +++ b/web_src/css/themes/theme-forgejo-light.css @@ -231,7 +231,7 @@ --color-secondary-bg: var(--zinc-100); --color-text-focus: #fff; --color-expand-button: var(--zinc-200); - --color-placeholder-text: var(--zinc-400); + --color-placeholder-text: var(--color-text-light-3); --color-editor-line-highlight: var(--zinc-100); --color-project-board-bg: var(--color-secondary-light-2); --color-project-board-dark-label: var(--color-text-light-3);