Skip to content

Commit 7bb5109

Browse files
authored
file picker: Use muted color for file icons (#18325)
I think they were too much in-your-face. Muted looks better. Before: ![image](https://github.com/user-attachments/assets/73d6171a-6276-4450-acfb-52cd44fdfe59) After: ![image](https://github.com/user-attachments/assets/1d5f4524-b0b9-4ba6-ab66-5eaf619e58f9) Release Notes: - N/A
1 parent eb71d2f commit 7bb5109

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/file_finder/src/file_finder.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,9 @@ impl PickerDelegate for FileFinderDelegate {
10701070
self.labels_for_match(path_match, cx, ix);
10711071

10721072
let file_icon = if settings.file_icons {
1073-
FileIcons::get_icon(Path::new(&file_name), cx).map(Icon::from_path)
1073+
FileIcons::get_icon(Path::new(&file_name), cx)
1074+
.map(Icon::from_path)
1075+
.map(|icon| icon.color(Color::Muted))
10741076
} else {
10751077
None
10761078
};

0 commit comments

Comments
 (0)