You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

svg-sprite-color.tmpl 596B

12345678910111213141516171819
  1. {{#hasMixin}}@mixin {{mixinName}} {
  2. background: url('{{{sprite}}}') no-repeat;
  3. }
  4. {{#hasCommon}}.{{commonName}} {
  5. @include {{mixinName}};
  6. }
  7. {{/hasCommon}}{{/hasMixin}}{{^hasMixin}}{{#hasCommon}}.{{/hasCommon}}{{^hasCommon}}%{{/hasCommon}}{{commonName}} {
  8. background: url('{{{sprite}}}') no-repeat;
  9. }
  10. {{/hasMixin}}{{#shapes}}{{#selector.shape}}{{expression}}{{^last}},
  11. {{/last}}{{/selector.shape}} {
  12. {{^hasCommon}}{{#hasMixin}}@include {{mixinName}};{{/hasMixin}}{{^hasMixin}}@extend %{{commonName}};{{/hasMixin}}
  13. {{/hasCommon}}background-position: {{position.relative.xy}};
  14. }
  15. {{/shapes}}