# Refactor Git panel styling & status colors for consistency \(\#26951\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 584a70ca5e290180b810e9414f1c8aee59f2067b

Requested commit: 584a70ca5e290180b810e9414f1c8aee59f2067b

Commit: 584a70ca5e290180b810e9414f1c8aee59f2067b

Tree: ffc3363c8a773ba5ea71762d7c09e0ae7ad0c694

Author: Jakub Čermák

Committer: GitHub

## Message

```
Refactor Git panel styling & status colors for consistency (#26951)

Closes #26847

Release Notes:

- Updated Git panel background to use panel_background instead of
ElevationIndex::Surface.bg(cx) for consistency with other panels.
- Removed redundant GitStatusColors struct from status.rs and refactored
to use existing theme colors.
- Adjusted Color enum mappings in color.rs to reference
version_control_* colors instead of status() for better alignment with
the theme system.
- Cleaned up unused or redundant code.
```

## Parents

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

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