# Adjust \`ColorScale\` representation \(\#3204\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 69aafe9ff6319f2afb8eec3a91630e2394fa9807

Requested commit: 69aafe9ff6319f2afb8eec3a91630e2394fa9807

Commit: 69aafe9ff6319f2afb8eec3a91630e2394fa9807

Tree: ad0425e8f8b7fdf1a7e0c1911e0d8397fdcfbcac

Author: Marshall Bowers

Committer: GitHub

## Message

```
Adjust `ColorScale` representation (#3204)

This PR adjusts the representations of `ColorScale`s to allow us to
remove an unsafe `From` impl when converting from the statically-defined
representation of the scale.

Release Notes:

- N/A
```

## Parents

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

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