# Add \`variable.special\` color to Gruvbox themes \(\#26271\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8b29ee6033ddd9b619eb9ae2738b755fd0f0e1d2

Requested commit: 8b29ee6033ddd9b619eb9ae2738b755fd0f0e1d2

Commit: 8b29ee6033ddd9b619eb9ae2738b755fd0f0e1d2

Tree: 7b59b38675921252b6bd47e5b2f36dc01165498e

Author: edwloef

Committer: GitHub

## Message

```
Add `variable.special` color to Gruvbox themes (#26271)

This adds the `variable.special` color to the Gruvbox family of themes,
which colors special variables (in Rust's case `self`) differently than
normal ones. The colors were taken from the old Gruvbox `variable`
highlighting (see https://github.com/zed-industries/zed/pull/25464).

before:

![image](https://github.com/user-attachments/assets/3f329ac0-fbdf-480c-9074-5db99591f4e1)

![image](https://github.com/user-attachments/assets/43efdddd-7daf-440f-8c11-d6279330912a)

after:

![image](https://github.com/user-attachments/assets/052c05b8-55c5-495a-a9cc-a5f73aa5aa00)

![image](https://github.com/user-attachments/assets/f598b75f-8d2d-4710-b804-9282de9f8d15)

fixes half of https://github.com/zed-industries/zed/issues/26206. Since
I don't use the Ayu themes I'd prefer someone who knows what looks good
there does those changes.

Release Notes:

- Gruvbox themes: Added a color for `@variable.special` syntax
highlights.
```

## Parents

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

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