cmux NEXT Chief Settings: Show Traces and Show Memory are readable links

Merged
TE
15d ago
+40-3

In Leo's screenshot of the Chief Settings popover (2026-10-20), Show Traces and Show Memory were dim grey and fainter than the card's secondary text. The links drew the raw Palette.accent, which is the theme's focus ring. In a theme that names no accent, which includes the default, that's the text color at 40%.

Links in the card (HomeChiefLinkButton: Show Traces, Show Memory, All Chief Settings…) and the "Switch to …" host link now draw Palette.litGlyph. That's the accent lifted toward the primary text just far enough to contrast at least as much as secondary text, so a theme with an accent keeps its hue (Clay Orange stays orange) and a theme without one reads clearly. Links with an explicit ink (the Diagnostics title) don't change.

#23883 restyles this card but keeps HomeChiefLinkButton and the host-switch line, so this applies to it as well and merges cleanly with it.

Tests

HomeChiefLinkInkTests: in a dark theme with no accent, a link's title color is Palette.litGlyph (not the raw accent, which differs there), and the lit accent contrasts at least as much as secondary text. The test commit (4fa4003d056) comes before the fix.

Observed / Not run

  • Ran scripts/cmux-next/prepush-gate.py: no new violations.
  • Not run locally: Swift build and tests. Agents don't build on Leo's Macs. Compile runs on the fleet (cmux-ci compile-check), and the tests run in PR CI.

No capture: Show Traces and Show Memory sit inside the closed Diagnostics disclosure and show only for a Chief whose brain runs on this Mac. The chief-settings tour opens the card with Diagnostics closed, and a capture mini runs no Chief brain, so a still wouldn't show the links.

Changelog

Fixed: Show Traces, Show Memory and All Chief Settings… in the Chief Settings popover are readable links instead of dim grey text.

Agent session: cosmic-gray

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes the Chief Settings popover links (Show Traces, Show Memory, and the host switch) reading as dim grey by drawing Palette.litGlyph instead of the raw accent color, which in themes without a named accent is the focus ring at 40% of the text.

  • Links with an explicit ink, like the Diagnostics title, keep their color; a theme with a named accent keeps its hue.
  • Adds a test verifying the lit glyph reads at least as well as secondary text in a theme with no named accent.
  • Merges feat-cmux-next for the agent-pane web bundle fix.