Skip to content

Commit e2b2ebf

Browse files
authored
Improve font display (#4308)
1 parent cd1717b commit e2b2ebf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

beta/src/styles/fonts.css

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
format('woff2');
1717
font-weight: 300;
1818
font-style: normal;
19+
font-display: swap;
1920
}
2021

2122
@font-face {
@@ -24,6 +25,7 @@
2425
format('woff2');
2526
font-weight: 500;
2627
font-style: normal;
28+
font-display: swap;
2729
}
2830

2931
@font-face {
@@ -32,4 +34,5 @@
3234
format('woff2');
3335
font-weight: 700;
3436
font-style: normal;
37+
font-display: swap;
3538
}

0 commit comments

Comments
 (0)