pub fn file_icon_visual_for_name(name: &str) -> FileIconVisualExpand description
Chooses a filename glyph and its Devicons or fallback tint.
Missing source-font glyphs, wildcard mappings, and invalid upstream color
strings fall back to the generic glyph/color (#e5e7eb).
ยงExamples
use ailloli_ui_core::Color;
use ailloli_ui_widgets::files::file_icon_visual_for_name;
assert_eq!(file_icon_visual_for_name("unknown").color, Some(Color::hex_rgb(0xe5e7eb)));