81 lines
2.2 KiB
JavaScript
81 lines
2.2 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
export default {
|
|
content: [
|
|
"./index.html",
|
|
"./src/**/*.{js,ts,jsx,tsx}",
|
|
],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
border: "hsl(214.3 31.8% 91.4%)",
|
|
input: "hsl(214.3 31.8% 91.4%)",
|
|
ring: "hsl(222.2 84% 4.9%)",
|
|
background: "hsl(0 0% 100%)",
|
|
foreground: "hsl(222.2 84% 4.9%)",
|
|
primary: {
|
|
DEFAULT: "hsl(222.2 47.4% 11.2%)",
|
|
foreground: "hsl(210 40% 98%)",
|
|
},
|
|
secondary: {
|
|
DEFAULT: "hsl(210 40% 96%)",
|
|
foreground: "hsl(222.2 84% 4.9%)",
|
|
},
|
|
destructive: {
|
|
DEFAULT: "hsl(0 84.2% 60.2%)",
|
|
foreground: "hsl(210 40% 98%)",
|
|
},
|
|
muted: {
|
|
DEFAULT: "hsl(210 40% 96%)",
|
|
foreground: "hsl(215.4 16.3% 46.9%)",
|
|
},
|
|
accent: {
|
|
DEFAULT: "hsl(210 40% 96%)",
|
|
foreground: "hsl(222.2 84% 4.9%)",
|
|
},
|
|
popover: {
|
|
DEFAULT: "hsl(0 0% 100%)",
|
|
foreground: "hsl(222.2 84% 4.9%)",
|
|
},
|
|
card: {
|
|
DEFAULT: "hsl(0 0% 100%)",
|
|
foreground: "hsl(222.2 84% 4.9%)",
|
|
},
|
|
},
|
|
borderRadius: {
|
|
lg: "0.5rem",
|
|
md: "calc(0.5rem - 2px)",
|
|
sm: "calc(0.5rem - 4px)",
|
|
},
|
|
keyframes: {
|
|
"accordion-down": {
|
|
from: { height: "0" },
|
|
to: { height: "var(--radix-accordion-content-height)" },
|
|
},
|
|
"accordion-up": {
|
|
from: { height: "var(--radix-accordion-content-height)" },
|
|
to: { height: "0" },
|
|
},
|
|
fadeIn: {
|
|
from: { opacity: "0" },
|
|
to: { opacity: "1" },
|
|
},
|
|
slideIn: {
|
|
from: { transform: "translateX(100%)" },
|
|
to: { transform: "translateX(0)" },
|
|
},
|
|
slideOut: {
|
|
from: { transform: "translateX(0)" },
|
|
to: { transform: "translateX(100%)" },
|
|
},
|
|
},
|
|
animation: {
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
"accordion-up": "accordion-up 0.2s ease-out",
|
|
"fade-in": "fadeIn 0.2s ease-in-out",
|
|
"slide-in": "slideIn 0.3s ease-out",
|
|
"slide-out": "slideOut 0.3s ease-in",
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
}
|