kytta / shareon

📯 Lightweight, stylish, and ethical share buttons for popular social networks
https://shareon.js.org/
MIT License
465 stars 25 forks source link

Make icons follow the same pattern #8

Closed kytta closed 4 years ago

kytta commented 4 years ago

Currently, all the icons in shareon are encoded a bit differently: they have different viewBoxes, different sizes, and the fill attribute is located in different places. If all the icons will have the same structure:

<svg fill='#fff' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='...'/></svg>

the CSS will probably take less space due to the more optimal GZIP compression.