Hacker News new | ask | show | jobs
by chias 3582 days ago
I imagine you would support that by showing the larger shape while hiding the smaller one in the small icon, and showing the smaller shape while hiding the larger one in the large icon.
1 comments

That kind of goes back to having one file per size, in terms of space. Although it's more flexible and might be easier to maintain.
Having one vector file per size would involve each file being close to constant size. Adding one resized shape only adds twenty-some bytes (a few headers/indexes, plus the transformation matrix); this is a lot less than a whole new file.