aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/sass/_iconfont.scss1
-rw-r--r--assets/sass/_variables.scss1
2 files changed, 2 insertions, 0 deletions
diff --git a/assets/sass/_iconfont.scss b/assets/sass/_iconfont.scss
index f4fa791..e56b0b6 100644
--- a/assets/sass/_iconfont.scss
+++ b/assets/sass/_iconfont.scss
@@ -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 {
diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss
index 8e1553b..ae97a8f 100644
--- a/assets/sass/_variables.scss
+++ b/assets/sass/_variables.scss
@@ -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.