From 318f8f5d8f57c57b52114b47a44951fd0edf290e Mon Sep 17 00:00:00 2001 From: "ryzenbeast\\Ioannis Tsiakkas" Date: Tue, 31 Dec 2024 19:33:34 +0200 Subject: [PATCH] Fix colour contrast --- src/css/flaggerToggle.css | 6 +++--- src/css/style.css | 10 ++++++++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/css/flaggerToggle.css b/src/css/flaggerToggle.css index 319e794..1abfb6e 100644 --- a/src/css/flaggerToggle.css +++ b/src/css/flaggerToggle.css @@ -36,7 +36,7 @@ .flagger-toggle-list.flagger-toggle-list-active, .flagger-toggle-header.flagger-toggle-header-active, .flagger-toggle-product.flagger-toggle-product-active { - border: 1px solid var(--custom-light-red, #ff0000) !important; - background-color: #ffcdd2 !important; - color: var(--custom-light-red, #ff0000) !important; + border: 1px solid #ff7482 !important; + background-color: #ff0000 !important; + color: #e9e9e9 !important; } diff --git a/src/css/style.css b/src/css/style.css index 511e410..f17cc44 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -212,6 +212,12 @@ header { box-shadow: 0px 2px 4px #ffffff !important; } +.dark-mode .sponsored-label, +.dark-mode .flagged-list-title, +.dark-mode .label-text { + background-color: #ff3048 !important; +} + /*************************************************************************************************************/ .display-none { @@ -256,9 +262,9 @@ text-black { .sponsored-label, .flagged-list-title, .label-text { - border-radius: 2px !important; + border-radius: 4px !important; padding: 8px 12px !important; - background-color: #ffdbdf !important; + background-color: #ff94a0 !important; font-weight: bold !important; color: var(--custom-light-red) !important; }