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:
parent
eb71d2f1a8
commit
7bb510971a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue