# project_panel: Color worktree-modified files as modified, not warning \(\#57716\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a0ee9fb431ff745bd54d333b3936049f9102d6e7

Requested commit: a0ee9fb431ff745bd54d333b3936049f9102d6e7

Commit: a0ee9fb431ff745bd54d333b3936049f9102d6e7

Tree: 7eeac986ee85dba7693f584e735cec4a1c25416c

Author: Kunall Banerjee

Committer: GitHub

## Message

````
project_panel: Color worktree-modified files as modified, not warning (#57716)

I use the One Dark theme, so to actually test if my fix worked, I had to
also do:

```jsonc
"experimental.theme_overrides": {
  "warning": "#ff0000",
  "modified": "#00ff00",
},
```

| Before | After |
|--------|--------|
| <img width="676" height="254" alt="image"
src="https://github.com/user-attachments/assets/a2831667-1113-49ac-b6aa-1221c71bf997"
/> | <img width="299" height="137" alt="image"
src="https://github.com/user-attachments/assets/ad6e85aa-ba24-47ad-b69d-6d0c3aa3a407"
/> |

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Closes #57443.

Release Notes:

- Fixed Project Panel git status indicator showing modified files with a
warning color instead of the modified color
````

## Parents

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

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