Skip to content

Commit 2bf31ae

Browse files
committed
Prefer to use a fallback font while the fonts are downloading.
1 parent fece45f commit 2bf31ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@
1515
}
1616

1717
@font-face {
18+
font-display: swap;
1819
font-family: "Recoleta";
1920
font-style: normal;
2021
font-weight: 400;
2122
src: url("fonts/Recoleta-Regular.woff2") format("woff2");
2223
}
2324

2425
@font-face {
26+
font-display: swap;
2527
font-family: "Recoleta";
2628
font-style: normal;
2729
font-weight: 700;

0 commit comments

Comments
 (0)