From 32b6f058667b8735024f64553e273f11ea5de6a6 Mon Sep 17 00:00:00 2001 From: SaelixCode Date: Fri, 3 Jul 2026 23:52:15 -0400 Subject: [PATCH] fix: change tab highlight from neutral to brand color Replaced bg-glass-highlight with bg-brand/20 on all TabsHighlight instances and updated TabsTrigger active state to text-brand, matching the SegmentedControl selected style. Works on both dark and light themes. --- frontend/src/components/EditorLayout/EditorView.tsx | 2 +- frontend/src/components/FleetView.tsx | 2 +- frontend/src/components/ResourcesView.tsx | 2 +- frontend/src/components/SecurityView.tsx | 2 +- frontend/src/components/settings/NotificationRoutingSection.tsx | 2 +- frontend/src/components/settings/NotificationsSection.tsx | 2 +- frontend/src/components/stack/GitSourceDiffDialog.tsx | 2 +- frontend/src/components/ui/tabs.tsx | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/EditorLayout/EditorView.tsx b/frontend/src/components/EditorLayout/EditorView.tsx index 96208d49..312790d1 100644 --- a/frontend/src/components/EditorLayout/EditorView.tsx +++ b/frontend/src/components/EditorLayout/EditorView.tsx @@ -435,7 +435,7 @@ export function EditorView(props: EditorViewProps) {
setActiveTab(value as 'compose' | 'env' | 'files')}> - + compose.yaml diff --git a/frontend/src/components/FleetView.tsx b/frontend/src/components/FleetView.tsx index 5532e9a2..e24b2b91 100644 --- a/frontend/src/components/FleetView.tsx +++ b/frontend/src/components/FleetView.tsx @@ -110,7 +110,7 @@ export function FleetView({ onNavigateToNode, onOpenSettingsSection, fleetUpdate {/* Flatten the list's own pill band so the tabs sit directly in the single full-width band, not a nested second band. */} - + Overview diff --git a/frontend/src/components/ResourcesView.tsx b/frontend/src/components/ResourcesView.tsx index 961ac75c..d6afe0b0 100644 --- a/frontend/src/components/ResourcesView.tsx +++ b/frontend/src/components/ResourcesView.tsx @@ -834,7 +834,7 @@ export default function ResourcesView({ headerActions }: ResourcesViewProps = {} ) : (
- + {(['images', 'volumes', 'networks'] as const).map(tab => ( diff --git a/frontend/src/components/SecurityView.tsx b/frontend/src/components/SecurityView.tsx index 7f3ed718..828767f8 100644 --- a/frontend/src/components/SecurityView.tsx +++ b/frontend/src/components/SecurityView.tsx @@ -404,7 +404,7 @@ export function SecurityView({ activeTab, onTabChange, headerActions }: Security is flattened so the tabs sit directly in this single band. */}
- + Overview diff --git a/frontend/src/components/settings/NotificationRoutingSection.tsx b/frontend/src/components/settings/NotificationRoutingSection.tsx index 1ad9b678..80c42cd5 100644 --- a/frontend/src/components/settings/NotificationRoutingSection.tsx +++ b/frontend/src/components/settings/NotificationRoutingSection.tsx @@ -433,7 +433,7 @@ export function NotificationRoutingSection() { setFormChannelType(v as 'discord' | 'slack' | 'webhook')}> - + Discord diff --git a/frontend/src/components/settings/NotificationsSection.tsx b/frontend/src/components/settings/NotificationsSection.tsx index c3fa9fb0..de1ba118 100644 --- a/frontend/src/components/settings/NotificationsSection.tsx +++ b/frontend/src/components/settings/NotificationsSection.tsx @@ -157,7 +157,7 @@ export function NotificationsSection() {
setNotifTab(v as 'discord' | 'slack' | 'webhook')} className="w-full"> - + Discord diff --git a/frontend/src/components/stack/GitSourceDiffDialog.tsx b/frontend/src/components/stack/GitSourceDiffDialog.tsx index cc40cc23..3b4bb819 100644 --- a/frontend/src/components/stack/GitSourceDiffDialog.tsx +++ b/frontend/src/components/stack/GitSourceDiffDialog.tsx @@ -101,7 +101,7 @@ export function GitSourceDiffDialog({ {envAvailable && ( setDiffTab(v as 'compose' | 'env')}> - + Compose diff --git a/frontend/src/components/ui/tabs.tsx b/frontend/src/components/ui/tabs.tsx index a2a77a61..aac97805 100644 --- a/frontend/src/components/ui/tabs.tsx +++ b/frontend/src/components/ui/tabs.tsx @@ -32,7 +32,7 @@ const TabsTrigger = React.forwardRef<