Use Inter font

This commit is contained in:
Josh Hawkins 2024-02-07 14:43:33 -06:00
parent 474bdbca65
commit 2106ca7724
3 changed files with 15 additions and 7 deletions

Binary file not shown.

View File

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

View File

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