shakyShane / gulp-svg-sprites

Create SVG sprites or compile to <symbols>
MIT License
334 stars 45 forks source link

How to add mixins? #118

Open kadnova opened 5 years ago

kadnova commented 5 years ago

All the styles in my project made with mixins from other svg-spite plugin, that is no longer works with new version of node. So can I make something like this with your plugin?


@mixin sp__download_hover {
    @extend %sprite;
    background-position: -44px -50px;
    width: 34px;
    height: 34px;
}
kadnova commented 5 years ago

Found out