Skip to content

Commit c348b6c

Browse files
committed
Made text visible when font files are being loaded
1 parent ae7e177 commit c348b6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/templates/fonts.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,18 +462,22 @@ code.language-text.css-0 {
462462
@font-face {
463463
src: url("../fonts/TiemposTextWeb-Regular.woff") format("woff");
464464
font-family: "TiemposText";
465+
font-display: swap;
465466
}
466467
@font-face {
467468
src: url("../fonts/TiemposTextWeb-RegularItalic.woff") format("woff");
468469
font-family: "TiemposItalic";
470+
font-display: swap;
469471
}
470472
@font-face {
471473
src: url("../fonts/TiemposTextWeb-Bold.woff") format("woff");
472474
font-family: "TiemposBold";
475+
font-display: swap;
473476
}
474477
@font-face {
475478
src: url("../fonts/TiemposHeadlineWeb-Regular.woff") format("woff");
476479
font-family: "TiemposHeadline";
480+
font-display: swap;
477481
}
478482

479483
a {

0 commit comments

Comments
 (0)