Last active
August 29, 2015 13:58
-
-
Save Tonours/10353618 to your computer and use it in GitHub Desktop.
Fonts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$fonts: | |
mama-shelter-bold mama_shelterbold bold normal, | |
mama-shelter-light mama_shelterlight lighter normal, | |
mama-shelter-regular mama_shelterregular normal normal; | |
@each $font in $fonts { | |
$font-name: nth($font, 1); | |
$font-id: nth($font, 2); | |
$font-weight: nth($font, 3); | |
$font-style: nth($font, 4); | |
@include font-face( | |
"mama-shelter", | |
font-files( | |
"front/#{$font-name}/#{$font-name}-webfont.woff", | |
"front/#{$font-name}/#{$font-name}-webfont.ttf", | |
"front/#{$font-name}/#{$font-name}-webfont.svg##{$font-id}"), | |
"front/#{$font-name}/#{$font-name}-webfont.eot", | |
#{$font-weight}, | |
#{$font-style} | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment