zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4k stars 215 forks source link

FR: Color Picker for included SVGs #1925

Open eckdanny opened 1 month ago

eckdanny commented 1 month ago

Is your feature request related to a problem? Please describe. When creating diagrams, I frequently grab brand SVG icons from SimpleIcons. I'm frustrated that I cannot colorize the flat icons.

Describe the solution you'd like I want to replicate what i do with markdown badges á lá Shields.io props label and labelColor. I want the svg stroke|fill to be decorated in the drawing context so the linked asset is unchanged. I want to use the excalidraw color picker to do it.

Describe alternatives you've considered N/A

Additional context N/A

zsviczian commented 3 weeks ago

There is an easter egg feature that does something similar, but it does not have a proper UI built. If you have the time and motivation an Excalidraw script could be developed to provide a UI for this, and once the script is ready I could even bring it in as a feature... but as it stands, I don't need this frequently enough to be a friction that I spend time solving. I get my icons from flaticon. they have a recolor feature on their website and I recolor SVG using my standard color palette each time before downloading an icon, thus I relatively seldom (few time a week) need this feature.

https://youtu.be/H8Njp7ZXYag?si=hW90FLk-Gu6-c8-b&t=1465