From 49c3406e4b91bf546ef9825ca28fe6a615343678 Mon Sep 17 00:00:00 2001 From: Edouard Vanbelle Date: Thu, 9 Apr 2026 23:32:48 +0200 Subject: [PATCH] refacor(css): reduce dependency of theme=dark --- static/css/layout/topbar.css | 4 ++-- static/css/themes/dark.css | 38 ------------------------------------ 2 files changed, 2 insertions(+), 40 deletions(-) diff --git a/static/css/layout/topbar.css b/static/css/layout/topbar.css index e0f867c3..b637fe26 100644 --- a/static/css/layout/topbar.css +++ b/static/css/layout/topbar.css @@ -37,8 +37,8 @@ } .sidebar-toggle:hover { - background-color: var(--color-bg-alt); - color: var(--color-accent); + background-color: var(--color-border); + border-color: var(--color-border-medium); } .sidebar-toggle i { diff --git a/static/css/themes/dark.css b/static/css/themes/dark.css index 273a0fae..7c026e69 100644 --- a/static/css/themes/dark.css +++ b/static/css/themes/dark.css @@ -78,16 +78,6 @@ --color-sidebar-bg-to: #0c1322; } -/* Dark theme for mobile sidebar toggle */ -[data-theme="dark"] .sidebar-toggle { - color: #cbd5e1; -} - -[data-theme="dark"] .sidebar-toggle:hover { - background-color: #334155; - color: #ff5e3a; -} - /* ------------ */ [data-theme="dark"] ::-webkit-scrollbar-thumb { @@ -117,34 +107,6 @@ background-color: #1e293b; } -[data-theme="dark"] .search-container input { - background-color: #1e293b; - border-color: #334155; - color: #e2e8f0; -} - -[data-theme="dark"] .search-container input:hover { - background-color: #1e293b; - border-color: #475569; -} - -[data-theme="dark"] .search-container input:focus { - background-color: #1e293b; - border-color: #ff5e3a; -} - -[data-theme="dark"] .search-container input::placeholder { - color: #64748b; -} - -[data-theme="dark"] .search-icon { - color: #64748b; -} - -[data-theme="dark"] .page-title { - color: #f1f5f9; -} - [data-theme="dark"] .breadcrumb { color: #94a3b8; }