From d1a600303317cfc917c988298994c5dbb3057420 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 29 Jan 2024 10:26:30 -0500 Subject: [PATCH] Use Git status color for icons in project panel (#6992) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR updates the icons in the file tree in the project panel to also use the Git status color: Screenshot 2024-01-29 at 10 21 41 AM Release Notes: - Updated icons in project panel to reflect Git status ([#6991](https://github.com/zed-industries/zed/issues/6991)). --- crates/project_panel/src/project_panel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index 51704b745e..6bcc1e3300 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -1380,7 +1380,7 @@ impl ProjectPanel { .indent_step_size(px(settings.indent_size)) .selected(is_selected) .child(if let Some(icon) = &icon { - div().child(Icon::from_path(icon.to_string()).color(Color::Muted)) + div().child(Icon::from_path(icon.to_string()).color(filename_text_color)) } else { div().size(IconSize::default().rems()).invisible() })