Skip to content

Instantly share code, notes, and snippets.

@wanxe
Last active March 21, 2018 21:28
Show Gist options
  • Save wanxe/cd86885311b62a2f16fe88d71c68611a to your computer and use it in GitHub Desktop.
Save wanxe/cd86885311b62a2f16fe88d71c68611a to your computer and use it in GitHub Desktop.
Include material design fonts
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