3 ms·
Very cool! I would advise to try minifying with svgomg, some icons seem to benefit. Eg bitbucket.svg can be reduced by 20% without any visual change.
by aw3c2 9y ago
Very cool! I would advise to try minifying with svgomg, some icons seem to benefit. Eg bitbucket.svg can be reduced by 20% without any visual change.
- edent 9y agoMost of them were already minimised with SVGO and svgcleaner. If you can make them smaller - I'd love a pull request :-)
- baybal2 9y agoDo you care about readability? Does ungzipped size counts or you assume that users will be using gzip? Here is DO logo that you can gzip down to 221b <svg role="img" aria-label="DigitalOcean" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" http://www.w3.org/2000/svg" fill="#0080ff"> <rect height="512" rx="15%" width="512" fill="#fff"/> <path d="M256,391v85a220,220 0 1 0 -220,-220h85a135,135 0 1 1 135,135 H51v-55h55v120h65V306h85z"/> </svg> Do you think it is ok to pull out newlines?
- edent 9y agoIn the readme, I've said that I want to keep newlines for readability. That helps with people learning about SVG. I'm not fussed about compressed size - but I'd certainly welcome a Pull Request if you've managed to shrink that icon.
- Bromskloss 9y agoHow about keeping readable versions in the repository, along with a script that compresses them? The compressed ones could be automatically served on a separate site.
- edent 9y agoCould be fun! Please send a pull request.