# Use the \`\.selected\` style for buffer search option buttons \(\#4000\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a5203364b1240c88aa464a13e87b15341d8f4d73

Requested commit: a5203364b1240c88aa464a13e87b15341d8f4d73

Commit: a5203364b1240c88aa464a13e87b15341d8f4d73

Tree: 21c4055776b61d3260a832d98ec2f22a96e5add9

Author: Marshall Bowers

Committer: GitHub

## Message

```
Use the `.selected` style for buffer search option buttons (#4000)

This PR updates the `IconButton`s used to control the buffer search
options to use the `.selected` state to denote when they are active.
This matches what we are doing in the project search.

This should improve the contrast in certain themes.

Release Notes:

- Improved the active style for the search options in buffer search.
```

## Parents

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

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