Created
November 11, 2017 10:11
-
-
Save apuravchauhan/fb66f3a559c33b512ea0031d4ae2c9f3 to your computer and use it in GitHub Desktop.
Custom font face for Air Pollution App tutorial
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
$product-font-path: $font-path !default; | |
@font-face { | |
font-family: "Product Sans"; | |
font-style: normal; | |
font-weight: 300; | |
src: local("Product Sans"), local("Product-Sans-Regular"), url("#{$product-font-path}/ProductRegular.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Product Sans"; | |
font-style: normal; | |
font-weight: 400; | |
src: local("Product Sans"), local("Product-Sans-Regular"), url("#{$product-font-path}/ProductRegular.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Product Sans"; | |
font-style: normal; | |
font-weight: 500; | |
src: local("Product Sans Bold"), local("Product-Sans-Bold"), url("#{$product-font-path}/ProductBold.ttf") format("truetype"); | |
} | |
@font-face { | |
font-family: "Product Sans"; | |
font-style: normal; | |
font-weight: 700; | |
src: local("Product Sans Bold"), local("Product-Sans-Bold"), url("#{$product-font-path}/ProductBold.ttf") format("truetype"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment