From dfbff8d53975148897cd1101f86688cfbdc37d9f Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 11 Feb 2026 23:21:58 -0500 Subject: [PATCH] fix: use correct CSS variables for drawer dark mode support Changed drawer background from var(--mui-palette-background-paper) to var(--mui-palette-background-default) which properly adapts to dark mode. Also removed fallback values that were preventing theme variables from working correctly. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- src/components/NamespacesListView.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/NamespacesListView.tsx b/src/components/NamespacesListView.tsx index 39c57fb..4145e06 100644 --- a/src/components/NamespacesListView.tsx +++ b/src/components/NamespacesListView.tsx @@ -103,7 +103,8 @@ function NamespaceDetailPanel({ namespace, onClose }: NamespaceDetailPanelProps) top: 0, bottom: 0, width: '1000px', - backgroundColor: 'var(--mui-palette-background-paper, var(--background-paper, #fff))', + backgroundColor: 'var(--mui-palette-background-default)', + color: 'var(--mui-palette-text-primary)', boxShadow: '-2px 0 8px rgba(0,0,0,0.15)', overflowY: 'auto', zIndex: 1200, @@ -118,9 +119,7 @@ function NamespaceDetailPanel({ namespace, onClose }: NamespaceDetailPanelProps) alignItems: 'center', }} > -

+

Polaris — {namespace}