improve font loading
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e14d012783
commit
71259aea50
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
||||||
font-family: "playfair";
|
font-family: "playfair";
|
||||||
src: local("Playfair"),
|
src: local("Playfair"),
|
||||||
url("../fonts/playfair/PlayfairDisplay-Regular.woff2") format(woff2);
|
url("../fonts/playfair/PlayfairDisplay-Regular.woff2") format(woff2);
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -9,4 +10,5 @@
|
||||||
src: local("Playfair"),
|
src: local("Playfair"),
|
||||||
url("../fonts/playfair/PlayfairDisplay-Bold.woff2") format(woff2);
|
url("../fonts/playfair/PlayfairDisplay-Bold.woff2") format(woff2);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
Loading…
Reference in a new issue