From 14e7d8e05b17ce2f4caffcbaec2f5d76d765bdaa Mon Sep 17 00:00:00 2001 From: Wahyu Kurniawan Date: Tue, 27 Feb 2024 21:15:43 +0700 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor:=20change=20`Inte?= =?UTF-8?q?rDisplay`=20to=20`inter=20Display`=20and=20`inter-display`=20to?= =?UTF-8?q?=20`display?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/index.css | 36 ++++++++++++++-------------- packages/frontend/tailwind.config.js | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/packages/frontend/src/index.css b/packages/frontend/src/index.css index f3cf5403..502904a5 100644 --- a/packages/frontend/src/index.css +++ b/packages/frontend/src/index.css @@ -4,7 +4,7 @@ @layer base { @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 100; font-display: swap; @@ -12,7 +12,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 100; font-display: swap; @@ -20,7 +20,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 200; font-display: swap; @@ -28,7 +28,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 200; font-display: swap; @@ -36,7 +36,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 300; font-display: swap; @@ -44,7 +44,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 300; font-display: swap; @@ -52,7 +52,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 400; font-display: swap; @@ -60,7 +60,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 400; font-display: swap; @@ -68,7 +68,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 500; font-display: swap; @@ -76,7 +76,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 500; font-display: swap; @@ -84,7 +84,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 600; font-display: swap; @@ -92,7 +92,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 600; font-display: swap; @@ -100,7 +100,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 700; font-display: swap; @@ -108,7 +108,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 700; font-display: swap; @@ -116,7 +116,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 800; font-display: swap; @@ -124,7 +124,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 800; font-display: swap; @@ -132,7 +132,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: normal; font-weight: 900; font-display: swap; @@ -140,7 +140,7 @@ format('woff2'); } @font-face { - font-family: 'InterDisplay'; + font-family: 'Inter Display'; font-style: italic; font-weight: 900; font-display: swap; diff --git a/packages/frontend/tailwind.config.js b/packages/frontend/tailwind.config.js index 08953002..793297ba 100644 --- a/packages/frontend/tailwind.config.js +++ b/packages/frontend/tailwind.config.js @@ -14,7 +14,7 @@ export default withMT({ }, fontFamily: { sans: ['Inter', 'sans-serif'], - 'inter-display': ['InterDisplay', 'sans-serif'], + display: ['Inter Display', 'sans-serif'], }, fontSize: { '2xs': '0.625rem',