svgo
svgo copied to clipboard
Inline gradient/fills
It may be useful for an addtional plugin to inline fills (notably gradients), too. SVGs exported from Illustrator extensively use them and they could collide with gradients of same ID in other SVGs.
It would be much easier if the new css selection features from https://github.com/svg/svgo/pull/592 could be used, querying for (linear)Gradient element by ID for its corresponding element fill attribute/style.
The easiest workaround now for this issue would be using the prefixIds plugin in svgo.
Has this issue been resolved, or do I still need to use the workaround? Is there anything I can help with?