myheats-website

Website for myheats
git clone https://git.in0rdr.ch/myheats-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_font-face.scss (471B)


      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   $font-url-prefix: font-url-prefixer($asset-pipeline);
     10 
     11   @font-face {
     12     font-family: $font-family;
     13     font-style: $style;
     14     font-weight: $weight;
     15 
     16     src: font-source-declaration(
     17       $font-family,
     18       $file-path,
     19       $asset-pipeline,
     20       $file-formats,
     21       $font-url-prefix
     22     );
     23   }
     24 }