fix(windows): drop the brand dot from the agent tab chips

Every chip led with a 5 px coloured dot, so a strip of five providers read
as a legend before it read as a row of names, and the dot competed with
the quota capsule underneath it for the same "how is this provider doing"
glance. The name and the cost carry the chip on their own.

The provider colour table stays: the capsule, the hover card and the
settings panes can still ask for a brand colour.
This commit is contained in:
iamtoruk 2026-09-01 18:02:26 -07:00
parent 147ff702fa
commit 209248f0e7
2 changed files with 2 additions and 12 deletions

View file

@ -39,7 +39,8 @@ const KNOWN_TOOLS: Array<{ id: Provider; label: string; source: string }> = [
]
/// Provider marks from mac/Sources/CodeBurnMenubar/Views/AgentTabStrip.swift (ProviderFilter
/// .color), keyed by the CLI provider id rather than the Swift case name.
/// .color), keyed by the CLI provider id rather than the Swift case name. Kept for the
/// surfaces that still want a brand colour; the tab chips themselves carry none.
const PROVIDER_COLORS: Record<string, string> = {
all: '#C9521D',
claude: '#C9521D',
@ -234,7 +235,6 @@ export function AgentTabStrip({ selected, onSelect, payload, currency, quota }:
}}
>
<span className="tab-chip">
<span className="tab-dot" style={active ? undefined : { background: providerColor(tab.id) }} />
<span className="tab-label">{tab.label}</span>
{tab.detected && tab.cost > 0 && (
<span className="tab-cost">{formatCompactCurrency(tab.cost, currency)}</span>

View file

@ -386,16 +386,6 @@ code { font-family: var(--font-mono); }
}
.tab:hover { background: var(--fill-12); }
.tab-active, .tab-active:hover { background: var(--brand-accent); color: #fff; }
/* The provider's brand mark, from ProviderFilter.color on the mac. */
.tab-dot {
align-self: center;
flex: 0 0 auto;
width: 5px;
height: 5px;
border-radius: 50%;
}
.tab-active .tab-dot { background: rgba(255, 255, 255, 0.85); }
.tab-muted .tab-dot { opacity: 0.4; }
.tab-chip {
display: inline-flex;
align-items: baseline;