-
Notifications
You must be signed in to change notification settings - Fork 60
Description
Hi! Excellent work with SwiftDraw, this is a very cool project!
I just had a quick question. I have an icon which consists of multiple layers that I'd like to be able to color separately using multicolor or hierarchical mode. As I understand it, SFSymbols uses the class attribute of each element to determine its layer. If I give a the following class:
monochrome-0 multicolor-0:systemBlueColor hierarchical-0:primary
It will be counted as a distinct layer. However, when I tried adding these classes to my base .svg file, and then running it through SwiftDraw, it appears that the class attribute is stripped in the final output, which effectively flattens the asset into a single layer. Is there any way to get it to pass through the class attribute, or is there some other method to separate out the layers of my asset?
Thanks so much!