-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Labels
Description
What is the problem?
I started to understand how our Maki library works (while creating a direct export to Git from Figma), and I ran into our strange optimizing SVG process.
We have format-icons.js which is responsible for the optimization of SVG.
And it has a list of allowed props:
And I have questions about this list. Why do we still have props like version, and xmlns, because they are so old? Do we need them for backward compatibility?
Same question about our <xml> part which stores information about the version and encoding.
In the end, the SVGs that are stored in our library now look like this.
And they can look like this and work exactly the same

Proposed solution
I can refine the SVG optimization script and make our icons more modern