Skip to content

fix(staged): un-mute agent selector text to text-muted-foreground#781

Merged
matt2e merged 1 commit into
mainfrom
agent-dropdown-color
Jun 10, 2026
Merged

fix(staged): un-mute agent selector text to text-muted-foreground#781
matt2e merged 1 commit into
mainfrom
agent-dropdown-color

Conversation

@matt2e

@matt2e matt2e commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

The agent dropdown trigger and the single-agent button rendered their
label with text-[var(--text-faint)] — the faintest color in the
palette — which left the agent name hard to read at rest. This switches
both to text-muted-foreground so the label is legible without
hovering.

Changes

  • apps/staged/src/lib/features/agents/AgentSelector.svelte
    • DropdownMenu.Trigger (multi-agent case): text-[var(--text-faint)]
      text-muted-foreground. The now-redundant
      hover:text-muted-foreground is removed since the rest state already
      matches it.
    • <button> (single-agent case): text-[var(--text-faint)]
      text-muted-foreground.

Net diff: 1 file changed, 2 insertions(+), 2 deletions(-).

Before / After

  • Before: agent name rendered in the faintest text color, low
    contrast and easy to miss.
  • After: agent name rendered in muted-foreground — clearly legible at
    rest, consistent with other secondary labels in the UI.

Testing

UI-only styling change; no behavioral changes. Verified the label is
legible at rest and hover/disabled states are unaffected.

🤖 Generated with Claude Code

The agent dropdown trigger and single-agent button rendered their label
with text-[var(--text-faint)], the faintest available color. Switch both
to text-muted-foreground so the agent name is legible at rest. The
trigger's hover:text-muted-foreground is now redundant and removed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Matt Toohey <contact@matttoohey.com>
@matt2e matt2e requested review from baxen and wesbillman as code owners June 10, 2026 07:46
@matt2e matt2e merged commit 7d20b8d into main Jun 10, 2026
5 checks passed
@matt2e matt2e deleted the agent-dropdown-color branch June 10, 2026 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant