Sass local fonts
This mixin will help you to define CSS font families. Just import the sass-local-fonts.scss
to your SASS root after the defining variables.
Usage
Define the $font-families
variable before the importing the mixin. This variable should look like this:
; default eot ttf woff woff2 ) // ...and so on. Add as many families as you need )
By default mixin searches the fonts in ../fonts
folder relatively to style root file, so if you store fonts in another folder, just define the $sass-local-font-folder
variable before mixin's import.
Check an example in repo.