# Use separate editor foreground color \(\#3661\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 139fe7c1f1fb9fa3d60614265ba6d3cffbec320a

Requested commit: 139fe7c1f1fb9fa3d60614265ba6d3cffbec320a

Commit: 139fe7c1f1fb9fa3d60614265ba6d3cffbec320a

Tree: 1dc84d15418f38b4a7d398020a1ad3f7132659c4

Author: Marshall Bowers

Committer: GitHub

## Message

```
Use separate editor foreground color (#3661)

This PR populates the `editor_foreground` color in the various themes
and updates the editor to use this as the color for text.

The `text` field in the theme should now be used for UI elements, while
`editor_foreground` should be used for buffers.

This improves the contrast in some themes, notably Ayu Dark.

Release Notes:

- N/A
```

## Parents

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

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

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