I just posted this in the Discord css-channel but thought I’d share here as well.
I found a neat way to set different icons based on file type. Using [data-type$(file type here)] you can select based on the attribute value that ends in (file type here). (Had to use emojis for the example since my icons are very long strings).
Ex:
.nav-file-title[data-path$="jpeg"] .nav-file-title-content:before{
content: "🌄";
}
.nav-file-title[data-path$="png"] .nav-file-title-content:before{
content: "🎨";
}

Emoji example ^^
