| 1 |
@mixin font-face( |
| 2 |
$font-family, |
| 3 |
$file-path, |
| 4 |
$weight: normal, |
| 5 |
$style: normal, |
| 6 |
$asset-pipeline: $asset-pipeline, |
| 7 |
$file-formats: eot woff2 woff ttf svg) { |
| 8 |
|
| 9 |
$user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; |
| 10 |
$output-bourbon-deprecation-warnings: false !global; |
| 11 |
|
| 12 |
$font-url-prefix: font-url-prefixer($asset-pipeline); |
| 13 |
|
| 14 |
@font-face { |
| 15 |
font-family: $font-family; |
| 16 |
font-style: $style; |
| 17 |
font-weight: $weight; |
| 18 |
|
| 19 |
src: font-source-declaration( |
| 20 |
$font-family, |
| 21 |
$file-path, |
| 22 |
$asset-pipeline, |
| 23 |
$file-formats, |
| 24 |
$font-url-prefix |
| 25 |
); |
| 26 |
} |
| 27 |
|
| 28 |
$output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; |
| 29 |
} |