Last active
August 29, 2015 14:00
-
-
Save shadcn/c1d13ee313b0949a83da to your computer and use it in GitHub Desktop.
font-face for Radix
This file contains hidden or 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
// Font faces | |
// -------------------------------------------------- | |
@import "compass/css3/font-face"; | |
$font-faces: ('GothamRnd-Medium', 'GothamRnd-Book'); | |
@each $font-face in $font-faces { | |
@include font-face( | |
'#{$font-face}', | |
font-files( | |
"#{$font-face}.woff", woff, | |
"#{$font-face}.ttf", truetype, | |
"#{$font-face}.svg", svg), | |
'#{$font-face}.eot', | |
normal, | |
normal); | |
.#{$font-face} { | |
font-family: "#{$font-face}"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Convert otf to tff: http://everythingfonts.com/otf-to-ttf
Font generator: http://www.font-face-generator.com/