Commit 10ef0451 authored by Moody Salem's avatar Moody Salem

fix(fonts): font-display in non-font-variation-settings conditioned css

parent e3b3d9e8
...@@ -172,11 +172,11 @@ export const FixedGlobalStyle = createGlobalStyle` ...@@ -172,11 +172,11 @@ export const FixedGlobalStyle = createGlobalStyle`
html, input, textarea, button { html, input, textarea, button {
font-family: 'Inter', sans-serif; font-family: 'Inter', sans-serif;
letter-spacing: -0.018em; letter-spacing: -0.018em;
font-display: fallback;
} }
@supports (font-variation-settings: normal) { @supports (font-variation-settings: normal) {
html, input, textarea, button { html, input, textarea, button {
font-family: 'Inter var', sans-serif; font-family: 'Inter var', sans-serif;
font-display: fallback;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment