Use Inter font (#9735)

This commit is contained in:
Josh Hawkins 2024-02-07 14:52:28 -06:00 committed by GitHub
parent 474bdbca65
commit d182b856cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 15 additions and 7 deletions

Binary file not shown.

View File

@ -22,3 +22,8 @@
@apply bg-background text-foreground; @apply bg-background text-foreground;
} }
} }
@font-face {
font-family: "Inter";
src: url("../fonts/Inter-VariableFont_slnt,wght.ttf");
}

View File

@ -2,11 +2,11 @@
module.exports = { module.exports = {
darkMode: ["class"], darkMode: ["class"],
content: [ content: [
'./pages/**/*.{ts,tsx}', "./pages/**/*.{ts,tsx}",
'./components/**/*.{ts,tsx}', "./components/**/*.{ts,tsx}",
'./app/**/*.{ts,tsx}', "./app/**/*.{ts,tsx}",
'./src/**/*.{ts,tsx}', "./src/**/*.{ts,tsx}",
], ],
theme: { theme: {
container: { container: {
center: true, center: true,
@ -15,6 +15,9 @@ module.exports = {
"2xl": "1400px", "2xl": "1400px",
}, },
}, },
fontFamily: {
sans: ['"Inter"', "sans-serif"],
},
extend: { extend: {
colors: { colors: {
border: "hsl(var(--border))", border: "hsl(var(--border))",
@ -77,7 +80,7 @@ module.exports = {
"accordion-up": "accordion-up 0.2s ease-out", "accordion-up": "accordion-up 0.2s ease-out",
}, },
screens: { screens: {
"xs": "480px", xs: "480px",
"2xl": "1440px", "2xl": "1440px",
"3xl": "1920px", "3xl": "1920px",
"4xl": "2560px", "4xl": "2560px",
@ -85,4 +88,4 @@ module.exports = {
}, },
}, },
plugins: [require("tailwindcss-animate")], plugins: [require("tailwindcss-animate")],
} };