ce-omarbadawy553 downloadsRegisters your own SVGs into the global icon library for use with other plugins or however you want.
I made this because I couldn't find any alternatives whatsoever. It triggered a brain-itch that I couldn't get rid of. So, I hope this helps someone that needs it.
This is a straightforward plugin that allows you to use custom SVG icons in your Obsidian vault. Load your own SVG icons and use them anywhere Obsidian accepts icon references. The code is of course not the best. I used lots of AI making this so I don't expect it to be flawless... But it works and I tried what I can to get it to be safe and user-friendly.
currentColoricons folder in your plugin directory: "YourVaultName"/.obsidian/plugins/my-svgs/icons/my-filename (customizable prefix)The plugin processes SVGs to ensure compatibility with Obsidian's icon system:
currentColor for theme supportThis is a basic but functional plugin. Contributions are welcome since I probably won't update much because I don't think it needs much. I'm happy with it as it is.
This plugin is provided as-is. Users should be cautious when adding SVG files from untrusted sources, They are scriptable and dangerous. The plugin performs basic SVG processing but does not guarantee your vault won't explode. Please don't blame me if anything goes wrong. I'm actively using this myself and I don't have any issues.