Set font-display: swap; for fonts definition

> Gives the font face an extremely small block period and an infinite swap period. — https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display#values
This commit is contained in:
David Larlet 2023-06-20 10:20:21 -04:00
parent 247efc5345
commit 4e8ebfa722
No known key found for this signature in database
GPG key ID: 3E2953A359E7E7BD

View file

@ -9,6 +9,7 @@
url('./font/FiraSans-Light.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
@ -17,6 +18,7 @@
url('./font/FiraSans-SemiBold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
@ -25,6 +27,7 @@
url('./font/FiraSans-LightItalic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}