Add icons to your Obsidian file explorer with CSS.
Note
Tested in Windows and Android but should work fine in macOS, Linux, and iOS.
This screenshot was taken with the Minimal theme applied.
- Open your vault root folder in your OS file explorer
- Open the
.obsidian
folder and create a new folder calledsnippets
- Download and paste the
explorer-with-icons.css
of this repository inside of thesnippets
folder - In Obsidian, open the settings in the appearance section, scroll down to the end and enable the snippet
Note
The icon color is hardcoded in the SVG. If you want it in a different color, you can modify the stroke
property for each SVG.
Lucide Icons for their awesome work.