# git: Adjust rendering of git hunks \(\#25824\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8a22a07d141b308ca5fa72b6e4f8a1ea645f23ca

Requested commit: 8a22a07d141b308ca5fa72b6e4f8a1ea645f23ca

Commit: 8a22a07d141b308ca5fa72b6e4f8a1ea645f23ca

Tree: 324dc2d192d595befff8ecf61b99d798beef26ff

Author: Nate Butler

Committer: GitHub

## Message

```
git: Adjust rendering of git hunks (#25824)

- Light themes get their own values (creating better contrast and a
better distinction between staged and unstaged hunks in light themes.)
- Scrollbar git hunks indicators now use the correct colors

Before:

![CleanShot 2025-02-28 at 14 31
29@2x](https://github.com/user-attachments/assets/038fe11c-7163-4f1b-92b8-56b24c8e9443)

After:

![CleanShot 2025-02-28 at 14 32
04@2x](https://github.com/user-attachments/assets/869d33d9-d925-4cbe-84bd-e54caf971431)


Release Notes:

- Fixed an issue where git hunk indicators in editor scrollbars used the
incorrect colors.
```

## Parents

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

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