From db17a08d268cd2c5af2110a5c7b626c906b8ba5f Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 11 Feb 2026 19:24:33 -0500 Subject: [PATCH] fix: improve theming and settings visibility - Fix namespace detail panel to follow system dark/light theme - Use proper CSS custom properties for background and text colors - Fix plugin settings registration (remove deprecated third parameter) - Ensure close button and headers respect theme colors - Version bump to 0.2.5 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude Co-Authored-By: Happy --- artifacthub-pkg.yml | 6 +++--- package.json | 2 +- src/components/NamespacesListView.tsx | 5 +++-- src/index.tsx | 3 ++- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/artifacthub-pkg.yml b/artifacthub-pkg.yml index 8c04f86..8e0ae81 100644 --- a/artifacthub-pkg.yml +++ b/artifacthub-pkg.yml @@ -1,4 +1,4 @@ -version: 0.2.4 +version: 0.2.5 name: headlamp-polaris-plugin displayName: Polaris createdAt: "2026-02-05T19:00:00Z" @@ -28,7 +28,7 @@ maintainers: - name: cpfarhood email: "chris@farhood.org" annotations: - headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/v0.2.4/headlamp-polaris-plugin-0.2.4.tar.gz" + headlamp/plugin/archive-url: "https://github.com/cpfarhood/headlamp-polaris-plugin/releases/download/v0.2.5/headlamp-polaris-plugin-0.2.5.tar.gz" headlamp/plugin/version-compat: ">=0.26" - headlamp/plugin/archive-checksum: sha256:f619640371dc2d18e0a8eca03ed046ed4adc3a3c11468fc192e536b324f82914 + headlamp/plugin/archive-checksum: sha256:0000000000000000000000000000000000000000000000000000000000000000 headlamp/plugin/distro-compat: in-cluster diff --git a/package.json b/package.json index 24cfe08..e4981ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "headlamp-polaris-plugin", - "version": "0.2.4", + "version": "0.2.5", "description": "Headlamp plugin for Fairwinds Polaris audit results", "scripts": { "start": "headlamp-plugin start", diff --git a/src/components/NamespacesListView.tsx b/src/components/NamespacesListView.tsx index df70a73..539069c 100644 --- a/src/components/NamespacesListView.tsx +++ b/src/components/NamespacesListView.tsx @@ -103,7 +103,7 @@ function NamespaceDetailPanel({ namespace, onClose }: NamespaceDetailPanelProps) top: 0, bottom: 0, width: '1000px', - backgroundColor: 'var(--background-paper, #fff)', + backgroundColor: 'var(--mui-palette-background-paper, var(--background-paper, #fff))', boxShadow: '-2px 0 8px rgba(0,0,0,0.15)', overflowY: 'auto', zIndex: 1200, @@ -118,7 +118,7 @@ function NamespaceDetailPanel({ namespace, onClose }: NamespaceDetailPanelProps) alignItems: 'center', }} > -

Polaris — {namespace}

+

Polaris — {namespace}