From d692e8b2c059712248be8498f6ad902ff43373a0 Mon Sep 17 00:00:00 2001 From: moisseev Date: Wed, 16 Aug 2023 16:12:55 +0300 Subject: [PATCH] [WebUI] Tweak bootstrap colors for accessibility Resolves: #4566 --- interface/css/rspamd.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css index 577fe4a6a..47062f60d 100644 --- a/interface/css/rspamd.css +++ b/interface/css/rspamd.css @@ -25,10 +25,15 @@ THE SOFTWARE. /* stylelint-disable selector-id-pattern */ -/* bootstrap 4 overrides */ :root { font-size: 14px; + + /* Tweak bootstrap 5 colors for better accessibility */ + --bs-danger-rgb: 221, 0, 0; + --bs-success-rgb: 40, 139, 69; } + +/* bootstrap 4 overrides */ body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; } -- 2.39.5