diff options
Diffstat (limited to '_sass/bourbon/css3/_font-face.scss')
-rw-r--r-- | _sass/bourbon/css3/_font-face.scss | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/_sass/bourbon/css3/_font-face.scss b/_sass/bourbon/css3/_font-face.scss new file mode 100644 index 0000000..a9fd1ef --- /dev/null +++ b/_sass/bourbon/css3/_font-face.scss @@ -0,0 +1,24 @@ +@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 + ); + } +} |