Skip to content

Stroke SVGs in sprite #52

@TeemuSuoranta

Description

@TeemuSuoranta

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions