You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
726 B
Stylus
26 lines
726 B
Stylus
4 years ago
|
@font-face
|
||
|
font-family: $icon-font-name
|
||
|
src: url('./{{ options.fontName }}.eot')
|
||
|
src: url('./{{ options.fontName }}.eot#iefix') format('embedded-opentype'),
|
||
|
url('./{{ options.fontName }}.woff2') format('woff2'),
|
||
|
url('./{{ options.fontName }}.woff') format('woff'),
|
||
|
url('./{{ options.fontName }}.ttf') format('truetype')
|
||
|
font-weight: normal
|
||
|
font-style: normal
|
||
|
|
||
|
.icon
|
||
|
font-family: $icon-font-name !important
|
||
|
speak: none
|
||
|
font-style: normal
|
||
|
font-weight: normal
|
||
|
font-variant: normal
|
||
|
text-transform: none
|
||
|
line-height: 1
|
||
|
-webkit-font-smoothing: antialiased
|
||
|
-moz-osx-font-smoothing: grayscale
|
||
|
|
||
|
{% for icon in glyphs %}
|
||
|
.icon-{{ icon.name }}:before
|
||
|
content: $icon-{{ icon.name }}
|
||
|
{% endfor %}
|