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.
25 lines
471 B
25 lines
471 B
8 years ago
|
@mixin font-face(
|
||
|
$font-family,
|
||
|
$file-path,
|
||
|
$weight: normal,
|
||
|
$style: normal,
|
||
|
$asset-pipeline: $asset-pipeline,
|
||
|
$file-formats: eot woff2 woff ttf svg) {
|
||
|
|
||
|
$font-url-prefix: font-url-prefixer($asset-pipeline);
|
||
|
|
||
|
@font-face {
|
||
|
font-family: $font-family;
|
||
|
font-style: $style;
|
||
|
font-weight: $weight;
|
||
|
|
||
|
src: font-source-declaration(
|
||
|
$font-family,
|
||
|
$file-path,
|
||
|
$asset-pipeline,
|
||
|
$file-formats,
|
||
|
$font-url-prefix
|
||
|
);
|
||
|
}
|
||
|
}
|