add font-display:swap

small performance improvement
https://web.dev/font-display/
This commit is contained in:
Rotzbua 2021-08-02 17:42:47 +02:00 committed by Florian Festi
parent 44cf852fac
commit 967cc49733
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
font-family: 'Bungee Shade';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Bungee Shade'), local('BungeeShade-Regular'), url(fonts/bungeeshade/v3/DtVkJxarWL0t2KdzK3oI_jkc5ijTnwE.woff2) format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB;
}
@ -11,6 +12,7 @@
font-family: 'Bungee Shade';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Bungee Shade'), local('BungeeShade-Regular'), url(fonts/bungeeshade/v3/DtVkJxarWL0t2KdzK3oI_jkc5yjTnwE.woff2) format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@ -19,6 +21,7 @@
font-family: 'Bungee Shade';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Bungee Shade'), local('BungeeShade-Regular'), url(fonts/bungeeshade/v3/DtVkJxarWL0t2KdzK3oI_jkc6SjT.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@ -27,6 +30,7 @@
font-family: 'Luckiest Guy';
font-style: normal;
font-weight: 400;
font-display: swap;
src: local('Luckiest Guy Regular'), local('LuckiestGuy-Regular'), url(fonts/luckiestguy/v8/_gP_1RrxsjcxVyin9l9n_j2hTd52.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}