Merge pull request #1155 from umap-project/font-display-swap
Set `font-display: swap;` for fonts definition
This commit is contained in:
commit
5d38e02f52
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue