From c275af767d6391cea5ae6476dd36435683446014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Sedl=C3=A1k?= Date: Wed, 14 Oct 2026 22:31:33 +0200 Subject: [PATCH] Add light mode CSS overrides for readability --- Web/css/modern.css | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/Web/css/modern.css b/Web/css/modern.css index 57c9023..57b76eb 100644 --- a/Web/css/modern.css +++ b/Web/css/modern.css @@ -42,6 +42,28 @@ a:hover, .btn:hover, .nav-link:hover { color: var(--text-light) !important; } -.table th, .table td { + .table th, .table td { border-color: rgba(255,255,255,0.1) !important; } + +/* Light mode overrides */ +html[data-bs-theme="light"] { + --bg-light: #f8f9fa; + --bg-light2: #ffffff; + --text-dark: #212529; +} +html[data-bs-theme="light"] body { + background: var(--bg-light); + color: var(--text-dark); +} +html[data-bs-theme="light"] .dark-box { + background: rgba(255, 255, 255, 0.8); + color: var(--text-dark); +} +html[data-bs-theme="light"] .modal-content { + background: #fff !important; + color: var(--text-dark) !important; +} +html[data-bs-theme="light"] .table { + color: var(--text-dark) !important; +}