Use the swap font-display strategy

This commit is contained in:
斟酌 鵬兄 2019-04-01 21:52:50 +08:00
parent 93bfc3d852
commit 6f326d5b80

View File

@ -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"),