Skip to content

Commit dbc1272

Browse files
authored
Update main.css
Added font swapping to fix diabolical LCP timing
1 parent ae85100 commit dbc1272

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

assets/css/main.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
font-family: 'Pragmatica';
99
src: url(/fonts/PragmaticaRegular.woff2) format("woff2");
1010
font-weight: 400;
11+
font-display: swap;
1112
}
1213
}
1314

@@ -160,4 +161,5 @@ h1 strong, h2 strong, h3 strong, .text-highlight, .superheading strong {
160161
}
161162
.code pre {
162163
@apply overflow-x-scroll;
163-
}
164+
165+
}

0 commit comments

Comments
 (0)