Closed kytta closed 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:
viewBox
fill
<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.
Currently, all the icons in shareon are encoded a bit differently: they have different
viewBox
es, different sizes, and thefill
attribute is located in different places. If all the icons will have the same structure:the CSS will probably take less space due to the more optimal GZIP compression.