Files
Portfolio/tailwind.config.js
T

69 lines
1.9 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
"app/**/*.{ts,tsx}",
"components/**/*.{ts,tsx}",
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
"*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
},
colors: {
border: "rgb(var(--border))",
input: "rgb(var(--input))",
ring: "rgb(var(--ring))",
background: "rgb(var(--background))",
foreground: "rgb(var(--foreground))",
primary: {
DEFAULT: "rgb(var(--color-primary))",
dark: "rgb(var(--color-primary-dark))",
},
secondary: {
DEFAULT: "rgb(var(--color-secondary))",
gray: "rgb(var(--color-secondary-gray))",
fuzzy: "rgb(var(--color-secondary-fuzzy))",
},
text: {
DEFAULT: "rgb(var(--color-text))",
light: "rgb(var(--color-text-light))",
},
destructive: {
DEFAULT: "rgb(var(--destructive))",
foreground: "rgb(var(--destructive-foreground))",
},
muted: {
DEFAULT: "rgb(var(--muted))",
foreground: "rgb(var(--muted-foreground))",
},
accent: {
DEFAULT: "rgb(var(--accent))",
foreground: "rgb(var(--accent-foreground))",
},
popover: {
DEFAULT: "rgb(var(--popover))",
foreground: "rgb(var(--popover-foreground))",
},
card: {
DEFAULT: "rgb(var(--card))",
foreground: "rgb(var(--card-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
plugins: [
require("tailwindcss-animate"),
require("@tailwindcss/forms")({
strategy: "class",
}),
],
}