Properly color file labels in project panel (#3794)

Also fixes an error with mouse listeners placement in
https://github.com/zed-industries/zed/pull/3792

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov
2023-12-23 02:01:55 +02:00
committed by GitHub
3 changed files with 10 additions and 15 deletions
+2
View File
@@ -13,6 +13,7 @@ pub enum Color {
Hidden,
Info,
Modified,
Conflict,
Muted,
Placeholder,
Player(u32),
@@ -28,6 +29,7 @@ impl Color {
Color::Muted => cx.theme().colors().text_muted,
Color::Created => cx.theme().status().created,
Color::Modified => cx.theme().status().modified,
Color::Conflict => cx.theme().status().conflict,
Color::Deleted => cx.theme().status().deleted,
Color::Disabled => cx.theme().colors().text_disabled,
Color::Hidden => cx.theme().status().hidden,