swhitty / SwiftDraw

Swift library and command line tool to convert SVGs into SFSymbol, PNG, PDF and Swift source code.
zlib License
326 stars 41 forks source link

Failed to convert Feather icons #7

Closed anodetamer closed 1 year ago

anodetamer commented 1 year ago

Thank you for developing this wonderfully useful library. This library works very well, but fails to convert Feather icons.

I downloaded several icons from the links below and tried to convert them with the latest version of the command line tool, but all failed. https://feathericons.com

$ swiftdraw home.svg --format swift
Failure

This is my first time posting on Issues so I apologize if I am rude.

anodetamer commented 1 year ago

Conversion of Tabler Icons also fails. https://tabler-icons.io

swhitty commented 1 year ago

Much appreciated and I have now learned about indirect currentColor keyword which was the cause of this issue.

The latest release 0.9.5 adds support for the SVGs on both https://feathericons.com/ and https://tabler-icons.io/.

Thank you for the excellent bug report @anodetamer. Please do let me know if you find anymore that are unsupported.