# Allow a button to take a color \(\#3315\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6b366c102e7298eacbd5c36f6ced7a24f5ab7dc4

Requested commit: 6b366c102e7298eacbd5c36f6ced7a24f5ab7dc4

Commit: 6b366c102e7298eacbd5c36f6ced7a24f5ab7dc4

Tree: f7f278a3bb38ee9786a7da9c1d8e3285b60e2541

Author: Nate Butler

Committer: GitHub

## Message

```
Allow a button to take a color (#3315)

[[PR Description]]
- Allows a button to take a color and resolve it into `IconColor` and
`LabelColor`
- Extend `IconColor` and `LabelColor` to allow them to take a
`Player(i)`
- `impl From<LabelColor> for IconColor`

Release Notes:

- N/A
```

## Parents

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

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

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