feat(scss): font-display: swap (#267)

This commit is contained in:
byronhe 2020-08-06 00:44:19 +08:00 committed by GitHub
parent a652d0c0c6
commit 567fd466a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@
url('../fonts/iconfont/iconfont.woff') format('woff'),
url('../fonts/iconfont/iconfont.ttf') format('truetype'),
url('../fonts/iconfont/iconfont.svg#iconfont') format('svg');
font-display: swap;
}
%base-iconfont {

View file

@ -89,6 +89,7 @@ $header-padding: 20px 20px !default;
url('../fonts/chancery/apple-chancery-webfont.svg#apple-chancery') format('svg');
font-weight: lighter;
font-style: normal;
font-display: swap;
}
// Font size of the logo.