RazrFalcon / svgcleaner

svgcleaner could help you to clean up your SVG files from the unnecessary data.
GNU General Public License v2.0
1.63k stars 94 forks source link

Preserve CSS before removing or converting to attributes. #164

Closed extended83 closed 6 years ago

extended83 commented 6 years ago

I think it's very nice and configurable tool, but it looks like there's no option to preserve inline css before removing or converting to attributes. I need to optimize files but keep CSS because I can simply reference to this and for example change color of some elements on hover or on some actions in website.

RazrFalcon commented 6 years ago

It's not possible and not planned. I must resolve CSS before processing. It can't be optional.