# Better logic for copying themed player colors into registry \(\#7867\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 94426c439361970a22efc413003b37de59843799

Requested commit: 94426c439361970a22efc413003b37de59843799

Commit: 94426c439361970a22efc413003b37de59843799

Tree: 987591de1c0bfa6b7e5fc9ef6f0c579cecbbf416

Author: Joey Smith

Committer: GitHub

## Message

```
Better logic for copying themed player colors into registry (#7867)

Release Notes:

- Fixed a potential panic when themes did not contain enough player
colors ([#7733](https://github.com/zed-industries/zed/issues/7733)).

Thanks to @maxdeviant for the code review and improvements!
```

## Parents

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

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