# agent_ui: Match ACP boolean option label colors \(\#61103\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/27ff74540bfc873a1e135d9cf5f8ca993fab4ce9)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 27ff74540bfc873a1e135d9cf5f8ca993fab4ce9

Requested commit: 27ff74540bfc873a1e135d9cf5f8ca993fab4ce9

Commit: 27ff74540bfc873a1e135d9cf5f8ca993fab4ce9

Tree: 00dfb0dc7ca27b2151fd4a75812e297a8d9710fb

Author: Josh Kent

Committer: GitHub

## Message

```
agent_ui: Match ACP boolean option label colors (#61103)

# Objective

ACP boolean config option labels use the default text color, while
select option labels use the muted text color. This makes boolean
options such as Fast Mode look visually inconsistent with adjacent
configuration controls.

## Solution

Add a label color override to `Switch` while retaining `Color::Default`
for existing callers. Apply `Color::Muted` only when `agent_ui` renders
ACP boolean config options, leaving all other switches unchanged.

## Testing

Manually verified on macOS in the light theme.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [x] Tests cover the new/changed behavior (verified visually)
- [x] Performance impact has been considered and is acceptable

## Showcase

### Before

<img width="449" height="37" alt="image"
src="https://github.com/user-attachments/assets/1abe3e39-b243-47b3-8a62-67a0b5a17b43"
/>

### After

<img width="445" height="39" alt="image"
src="https://github.com/user-attachments/assets/e134378c-84cb-4c72-92d1-98eecc2137e4"
/>

---

Release Notes:

- Fixed ACP boolean option labels to match other agent configuration
controls.
```

## Parents

- [625b29d243c4e163d39c7be5276ebaca0604e3a2](https://git.cafe/gitcafe/zed/commit/625b29d243c4e163d39c7be5276ebaca0604e3a2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/27ff74540bfc873a1e135d9cf5f8ca993fab4ce9?format=markdown)
