Last active
March 21, 2018 21:28
-
-
Save wanxe/cd86885311b62a2f16fe88d71c68611a to your computer and use it in GitHub Desktop.
Include material design 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
font_path = '~@/assets/fonts/' | |
@font-face | |
font-family 'Material Icons' | |
font-style normal | |
font-weight 400 | |
src url(font_path + 'MaterialIcons-Regular.eot') | |
src local('Material Icons'), | |
local('MaterialIcons-Regular'), | |
url(font_path + 'MaterialIcons-Regular.woff2') format('woff2'), | |
url(font_path + 'MaterialIcons-Regular.woff') format('woff'), | |
url(font_path + 'MaterialIcons-Regular.ttf') format('truetype') | |
.material-icons | |
font-family 'Material Icons' | |
font-weight normal | |
font-style normal | |
text-transform none | |
letter-spacing normal | |
word-wrap normal | |
white-space nowrap | |
direction ltr | |
-webkit-font-smoothing antialiased | |
text-rendering optimizeLegibility | |
-moz-osx-font-smoothing grayscale | |
font-feature-settings 'liga' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment