From 6a62e1550dadbfecd0ab876fc7159e37c292614f Mon Sep 17 00:00:00 2001 From: ciregenz Date: Wed, 10 Jun 2026 20:28:23 -0700 Subject: [PATCH] [eric] ui: settings tabs become pills (filled active pill, no underline), drop the header line --- .../pages/Settings/sections/SettingsHeader.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/app/pages/Settings/sections/SettingsHeader.tsx b/frontend/src/app/pages/Settings/sections/SettingsHeader.tsx index 9acf9318..e929f190 100644 --- a/frontend/src/app/pages/Settings/sections/SettingsHeader.tsx +++ b/frontend/src/app/pages/Settings/sections/SettingsHeader.tsx @@ -19,7 +19,6 @@ const SettingsHeader: React.FC<{ sx={{ px: 3, py: 0, - borderBottom: `1px solid ${c.border.subtle}`, }} > @@ -34,17 +33,23 @@ const SettingsHeader: React.FC<{ value={activeTab} onChange={(_, v) => onTabChange(v)} sx={{ - minHeight: 36, + minHeight: 34, + pb: 1, + // Pill segmented control: filled active pill, no underline indicator. + '& .MuiTabs-indicator': { display: 'none' }, '& .MuiTab-root': { - minHeight: 36, + minHeight: 30, textTransform: 'none', fontSize: '0.85rem', fontWeight: 500, color: c.text.muted, - px: 1.5, - '&.Mui-selected': { color: c.accent.primary, fontWeight: 600 }, + px: 1.75, + mr: 0.5, + borderRadius: '999px', + transition: 'background-color 0.12s, color 0.12s', + '&:hover': { color: c.text.secondary, bgcolor: `${c.text.tertiary}0A` }, + '&.Mui-selected': { color: c.text.primary, fontWeight: 600, bgcolor: `${c.accent.primary}26` }, }, - '& .MuiTabs-indicator': { backgroundColor: c.accent.primary, height: 2 }, }} >