Browse Source

improve font performance

AykutSarac 2 năm trước cách đây
mục cha
commit
c3b8960376
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 {