Merge pull request #1155 from umap-project/font-display-swap

Set `font-display: swap;` for fonts definition
This commit is contained in:
David Larlet 2023-06-20 11:23:37 -04:00 committed by GitHub
commit 5d38e02f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}