file picker: Use muted color for file icons (#18325)
I think they were too much in-your-face. Muted looks better. Before:  After:  Release Notes: - N/A
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user