commit d692e8b: [WebUI] Tweak bootstrap colors for accessibility

moisseev moiseev at mezonplus.ru
Wed Aug 16 13:21:03 UTC 2023


Author: moisseev
Date: 2023-08-16 16:12:55 +0300
URL: https://github.com/rspamd/rspamd/commit/d692e8b2c059712248be8498f6ad902ff43373a0 (refs/pull/4577/head)

[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;
 }


More information about the Commits mailing list