# themes: Swap ANSI white with ANSI black \(\#32175\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8730d317a8fa1a11f5b4502f41b943a2c9f61305

Requested commit: 8730d317a8fa1a11f5b4502f41b943a2c9f61305

Commit: 8730d317a8fa1a11f5b4502f41b943a2c9f61305

Tree: 1e40d2bcc116d9ff6927d31e2c70798a55c9b1e0

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
themes: Swap ANSI white with ANSI black (#32175)

Here’s how it looks after the fix:
![colors](https://github.com/user-attachments/assets/11c78ad6-da50-4aad-b133-9be5e3844878).
White is white and black is black, as intended.

In some cases, dimmed colors were poorly defined, so I took
`text.dimmed` values.

Note that white is defined exactly as the background color for light
themes. Similarly, black is the exact background color for dark themes.
I didn’t change this, but many themes intentionally make white and black
slightly different from the background color. This prevents issues where
programs assume, say, a dark background and set the foreground to white,
making text invisible. I'm not sure if we want to adjust these themes to
address this; just noting it here.


Closes #29379 

Release Notes:

- Fixed ANSI black and ANSI white colors in built-in themes
```

## Parents

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

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