Igosuki / compass-mixins

A collection of compass' stylesheet for bower dependencies and libsass
Other
592 stars 197 forks source link

font-face and font-files #107

Open fpaterno opened 7 years ago

fpaterno commented 7 years ago

Hello,

I noticed that font-face mixin requires "font-files" method to list available fonts. @include font-face(Brown, font-files('fonts/Brown-Light.woff'), '/fonts/Brown-Light.eot', 300, normal);

So font-files is a non-existent mixin and this is the compilation result :

@font-face { font-family: "Brown"; src: font-url("/fonts/Brown-Light.eot"); src: font-url(/fonts/Brown-Light.eot?#iefix) format('eot'), font-files("fonts/Brown-Light.woff"); font-weight: 300; font-style: normal; }