convertStyleToAttrs

external fun convertStyleToAttrs(svg: SVG)

Convert CSS rules to attributes using SVGO.

Runs the SVGO convertStyleToAttrs and inlineStyles plugins. Does nothing when the SVG contains no usable styles.