From a811b3e6460933f83f4a4f1c65b5d5fc6e4259e6 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Thu, 23 Feb 2023 20:34:49 +0800 Subject: [PATCH] fix: dark mode bs5 table class --- web/css/uoj-bs5.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web/css/uoj-bs5.css b/web/css/uoj-bs5.css index 2a5b3a4..b0c852e 100644 --- a/web/css/uoj-bs5.css +++ b/web/css/uoj-bs5.css @@ -619,3 +619,15 @@ form.form-horizontal { [data-bs-theme='dark'] .uoj-username-brown { color: #996f1c; } + +/* Dark: Table Colors */ + +[data-bs-theme='dark'] .table-success { + --bs-table-bg: #d1e7ddb9; + --bs-table-border-color: #bcd0c7b9; +} + +[data-bs-theme='dark'] .table-warning { + --bs-table-bg: #fff3cdb9; + --bs-table-border-color: #e6dbb9b9; +}