Browse Source

improve font performance

AykutSarac 2 years ago
parent
commit
c3b8960376
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/constants/globalStyle.ts

+ 1 - 0
src/constants/globalStyle.ts

@@ -8,6 +8,7 @@ const GlobalStyle = createGlobalStyle`
       url('assets/Mona-Sans.woff2') format('woff2-variations');
     font-weight: 200 900;
     font-stretch: 75% 125%;
+    font-display: swap;
   }
 
   svg {