♻️ 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
2 changed files with 19 additions and 19 deletions
+18 -18
View File
@@ -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;
+1 -1
View File
@@ -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',