From 6f326d5b804ba1f7bb76c5531a5462f8fd88e185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Mon, 1 Apr 2019 21:52:50 +0800 Subject: [PATCH] Use the swap font-display strategy --- botanjs/src/Astro/Bootstrap.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/botanjs/src/Astro/Bootstrap.css b/botanjs/src/Astro/Bootstrap.css index 7f3654d..adc9dc4 100644 --- a/botanjs/src/Astro/Bootstrap.css +++ b/botanjs/src/Astro/Bootstrap.css @@ -1,6 +1,7 @@ /*{{{ Global Font Settings */ @font-face{ font-family: custom-sans; + font-display: swap; src: local("GIRegular"), url("/assets/fonts/GI-Regular.woff") format("woff"), local("Helvetica-Light"), @@ -15,6 +16,7 @@ @font-face{ font-family: custom-serif; + font-display: swap; src: url("/assets/fonts/DAYROM__/DAYROM__.woff") format("woff"), url("/assets/fonts/DAYROM__/DAYROM__.svg") format("svg"), local("Palatino Linotype"),