generaxion / axio-starter

Superior WordPress starter theme with modern build tools by Generaxion (previously Aucor Starter). 250+ hours of development over 6 years to make the greatest starting point for WordPress site.
https://axio.generax.io
GNU General Public License v2.0
166 stars 25 forks source link

Stroke SVGs in sprite #52

Open TeemuSuoranta opened 2 years ago

TeemuSuoranta commented 2 years ago

Currently SVGs with strokes are not automatically handeled correctly by sprite as fill is applied in CSS regardless of SVG structure.

You can make svg specific fix in CSS with:

fill: none;
stroke: #000;
stroke-width: 1;

For better solution there could be a step in gulp process that migrates strokes into fills and thus makes all svgs work the same. Look into implementing: https://github.com/oslllo/svg-fixer