diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index fdb8437..7ae66eb 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -217,7 +217,7 @@ } .dark .bg-gray-100 { - background-color: rgb(45 51 71) !important; + background-color: rgb(var(--surface-elevated)) !important; } .dark .border-gray-100 { @@ -345,6 +345,30 @@ color: rgb(196 181 253) !important; } +/* Slate-* normalization — map to CSS variable surfaces */ +.dark .bg-slate-700, +.dark .bg-slate-800 { + background-color: rgb(var(--surface-elevated)) !important; +} +.dark .bg-slate-900, +.dark .bg-gray-900 { + background-color: rgb(var(--surface-card)) !important; +} +.dark .border-slate-800, +.dark .border-slate-700 { + border-color: rgb(var(--border-subtle)) !important; +} +.dark .hover\:bg-slate-800:hover { + background-color: rgb(var(--surface-elevated)) !important; +} + +/* Sidebar panel — overrides the hardcoded hex values in AppShell */ +:is(.dark) .sidebar-panel { + background-color: rgb(var(--surface-card) / 0.92) !important; + border-right-color: rgb(var(--border-subtle)) !important; + border-bottom-color: rgb(var(--border-subtle)) !important; +} + /* Modal / overlay */ .dark .shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.6) !important; diff --git a/apps/web/src/components/layout/AppShell.tsx b/apps/web/src/components/layout/AppShell.tsx index 31ae73a..312e80f 100644 --- a/apps/web/src/components/layout/AppShell.tsx +++ b/apps/web/src/components/layout/AppShell.tsx @@ -426,7 +426,7 @@ function SidebarContent({ sidebarCollapsed ? "px-3 py-4" : "px-6 py-6", )}>