Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
file picker: Use muted color for file icons (#18325)
Thorsten Ball7bb510971a0c
diff --git a/crates/file_finder/src/file_finder.rs b/crates/file_finder/src/file_finder.rsindex 726a8bcb5e6..1a65bd352d6 100644--- a/crates/file_finder/src/file_finder.rs+++ b/crates/file_finder/src/file_finder.rs@@ -1070,7 +1070,9 @@ impl PickerDelegate for FileFinderDelegate {self.labels_for_match(path_match, cx, ix);let file_icon = if settings.file_icons {- FileIcons::get_icon(Path::new(&file_name), cx).map(Icon::from_path)+ FileIcons::get_icon(Path::new(&file_name), cx)+ .map(Icon::from_path)+ .map(|icon| icon.color(Color::Muted))} else {None};