From fd68ae63315ae073b4e310d4f3a82c29331ddc22 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Wed, 3 Jun 2026 23:53:10 -0500 Subject: [PATCH] style(desktop): drop active background on titlebar actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mute/haptics state reads from the icon glyph (and aria-pressed) — no background highlight on any titlebar action. --- apps/desktop/src/app/shell/titlebar-controls.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/desktop/src/app/shell/titlebar-controls.tsx b/apps/desktop/src/app/shell/titlebar-controls.tsx index 5c3336fb456..43496794619 100644 --- a/apps/desktop/src/app/shell/titlebar-controls.tsx +++ b/apps/desktop/src/app/shell/titlebar-controls.tsx @@ -235,12 +235,10 @@ function ProfilesMenuButton({ navigate }: { navigate: ReturnType; tool: TitlebarTool }) { - const className = cn( - titlebarButtonClass, - 'bg-transparent select-none', - tool.active && 'bg-(--ui-control-active-background)! text-foreground!', - tool.className - ) + // Titlebar actions never show an active background — state reads from the + // icon itself (e.g. the mute/unmute glyph). aria-pressed still carries it + // for a11y. + const className = cn(titlebarButtonClass, 'bg-transparent select-none', tool.className) if (tool.href) { return (