♻️ refactor: change InterDisplay to inter Display and inter-display to `display

This commit is contained in:
Wahyu Kurniawan 2024-02-27 21:15:43 +07:00
parent c575df9392
commit 14e7d8e05b
No known key found for this signature in database
GPG Key ID: 040A1549143A8E33
2 changed files with 19 additions and 19 deletions

View File

@ -4,7 +4,7 @@
@layer base { @layer base {
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 100; font-weight: 100;
font-display: swap; font-display: swap;
@ -12,7 +12,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 100; font-weight: 100;
font-display: swap; font-display: swap;
@ -20,7 +20,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 200; font-weight: 200;
font-display: swap; font-display: swap;
@ -28,7 +28,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 200; font-weight: 200;
font-display: swap; font-display: swap;
@ -36,7 +36,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 300; font-weight: 300;
font-display: swap; font-display: swap;
@ -44,7 +44,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 300; font-weight: 300;
font-display: swap; font-display: swap;
@ -52,7 +52,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
@ -60,7 +60,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 400; font-weight: 400;
font-display: swap; font-display: swap;
@ -68,7 +68,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 500; font-weight: 500;
font-display: swap; font-display: swap;
@ -76,7 +76,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 500; font-weight: 500;
font-display: swap; font-display: swap;
@ -84,7 +84,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 600; font-weight: 600;
font-display: swap; font-display: swap;
@ -92,7 +92,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 600; font-weight: 600;
font-display: swap; font-display: swap;
@ -100,7 +100,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 700; font-weight: 700;
font-display: swap; font-display: swap;
@ -108,7 +108,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 700; font-weight: 700;
font-display: swap; font-display: swap;
@ -116,7 +116,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 800; font-weight: 800;
font-display: swap; font-display: swap;
@ -124,7 +124,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 800; font-weight: 800;
font-display: swap; font-display: swap;
@ -132,7 +132,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: normal; font-style: normal;
font-weight: 900; font-weight: 900;
font-display: swap; font-display: swap;
@ -140,7 +140,7 @@
format('woff2'); format('woff2');
} }
@font-face { @font-face {
font-family: 'InterDisplay'; font-family: 'Inter Display';
font-style: italic; font-style: italic;
font-weight: 900; font-weight: 900;
font-display: swap; font-display: swap;

View File

@ -14,7 +14,7 @@ export default withMT({
}, },
fontFamily: { fontFamily: {
sans: ['Inter', 'sans-serif'], sans: ['Inter', 'sans-serif'],
'inter-display': ['InterDisplay', 'sans-serif'], display: ['Inter Display', 'sans-serif'],
}, },
fontSize: { fontSize: {
'2xs': '0.625rem', '2xs': '0.625rem',