Skip to content

Commit 58a5769

Browse files
authored
Add font-display: swap to pragmatica import
Hugo is a little confusing but this seems to be the font-face declaration which is actually used on the blog pages
1 parent dbc1272 commit 58a5769

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

assets/css/style.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,8 @@ select {
602602

603603
@font-face {
604604
font-family: 'Pragmatica';
605-
606605
src: url(/fonts/PragmaticaRegular.woff2) format("woff2");
607-
606+
font-display: swap;
608607
font-weight: 400;
609608
}
610609

@@ -4844,4 +4843,4 @@ h1 strong, h2 strong, h3 strong, .text-highlight, .superheading strong {
48444843
.xl\:leading-relaxed {
48454844
line-height: 1.625;
48464845
}
4847-
}
4846+
}

0 commit comments

Comments
 (0)