Skip to content

Commit 10ef045

Browse files
committed
fix(fonts): font-display in non-font-variation-settings conditioned css
1 parent e3b3d9e commit 10ef045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/theme/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,11 @@ export const FixedGlobalStyle = createGlobalStyle`
172172
html, input, textarea, button {
173173
font-family: 'Inter', sans-serif;
174174
letter-spacing: -0.018em;
175+
font-display: fallback;
175176
}
176177
@supports (font-variation-settings: normal) {
177178
html, input, textarea, button {
178179
font-family: 'Inter var', sans-serif;
179-
font-display: fallback;
180180
}
181181
}
182182

0 commit comments

Comments
 (0)