Use viewBox instead of width, height, x and y
I noticed that the generated SVG file is using static width, height, x and y.
Consider using viewBox="0 0 48 48" instead, since this makes the svg reusable for other icon generators such as splicon which is what I'm using..
Cool, thanks for the tip! :+1:
To clarify, judging from this article, the created SVG files are setting the viewPort via width and height, but are missing a viewBox. So the fix here would be to include both, width + height and a viewBox, correct?
If you set a correct viewBox you don't have to set width and height too, since it will take the initial size from the viewBox.
By the way, very nice generator! Good job!
All right, really thanks! :+1: :+1:
This should be a simple enough fix. Maybe paper.js has native support for this, otherwise it requires digging through the created SVG file. I'll leave this open for a bit until the holidays if anyone is interested :santa: