diff options
Diffstat (limited to 'debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-face.scss')
-rw-r--r-- | debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-face.scss | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-face.scss b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-face.scss new file mode 100644 index 0000000..c98368b --- /dev/null +++ b/debian/missing-sources/bourbon/app/assets/stylesheets/css3/_font-face.scss @@ -0,0 +1,29 @@ +@mixin font-face( + $font-family, + $file-path, + $weight: normal, + $style: normal, + $asset-pipeline: $asset-pipeline, + $file-formats: eot woff2 woff ttf svg) { + + $user-deprecation-warnings-setting: $output-bourbon-deprecation-warnings; + $output-bourbon-deprecation-warnings: false !global; + + $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 + ); + } + + $output-bourbon-deprecation-warnings: $user-deprecation-warnings-setting !global; +} |