Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/scss/abstract/_m-declare-font-face.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@
font-style: $font-style;
font-weight: $font-weight;
font-stretch: $font-stretch;
font-display: swap;
src:
local("#{$font-family}"), /* search for the locally installed font first */
url(#{$font-filename}.woff2) format("woff2"),
url(#{$font-filename}.woff) format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */

font-display: swap;
unicode-range: U+0-10FFFF; /* cutting of the font file for better loading */
}
}