tasks/svg-sprite.tmpl
Raimund Schlüßler 33f2446a2d
Remove Gulp
2019-01-25 20:35:04 +01:00

19 lines
596 B
Cheetah

{{#hasMixin}}@mixin {{mixinName}} {
background: url('{{{sprite}}}') no-repeat;
}
{{#hasCommon}}.{{commonName}} {
@include {{mixinName}};
}
{{/hasCommon}}{{/hasMixin}}{{^hasMixin}}{{#hasCommon}}.{{/hasCommon}}{{^hasCommon}}%{{/hasCommon}}{{commonName}} {
background: url('{{{sprite}}}') no-repeat;
}
{{/hasMixin}}{{#shapes}}{{#selector.shape}}{{expression}}{{^last}},
{{/last}}{{/selector.shape}} {
{{^hasCommon}}{{#hasMixin}}@include {{mixinName}};{{/hasMixin}}{{^hasMixin}}@extend %{{commonName}};{{/hasMixin}}
{{/hasCommon}}background-position: {{position.relative.xy}};
}
{{/shapes}}