# Add agent panel font family settings \(\#59629\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1ca8f8396b08b0121a991c710e02c81ebe3016de

Requested commit: 1ca8f8396b08b0121a991c710e02c81ebe3016de

Commit: 1ca8f8396b08b0121a991c710e02c81ebe3016de

Tree: c026a3ac3f351d5407696e566ff05edba945a7e0

Author: Lori Holden

Committer: GitHub

## Message

```
Add agent panel font family settings (#59629)

Objective:

Allow users to configure the font families used by agent panel content
separately from the main UI and buffer fonts.

Solution:

- Add `agent_ui_font_family` for agent responses in the agent panel.
- Add `agent_buffer_font_family` for the agent panel message editor and
user messages.
- Keep context menus on the primary UI font family.
- Document the new settings and expose them in the settings UI.

Testing:

- Ran `cargo fmt`.
- Ran `cargo check -p settings_content -p theme_settings -p markdown -p
agent_ui -p settings_ui -p ui`.
- Ran `git diff --check`.
- Manually tested the agent panel font behavior in a dev build.

Release Notes:

- Added settings for configuring agent panel UI and buffer font
families.

Co-authored-by: Finn Evers <finn@zed.dev>
```

## Parents

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

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