2024-06-27 13:15:38 +00:00
|
|
|
import type { Config } from "tailwindcss"
|
|
|
|
|
|
|
|
const config = {
|
2024-07-24 07:46:19 +00:00
|
|
|
safelist: [
|
2024-07-26 14:42:31 +00:00
|
|
|
{
|
2024-07-27 08:42:00 +00:00
|
|
|
pattern: /to-(blue|yellow|green|pink|purple|orange|red|slate|gray|zinc|neutral|stone|amber|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|fuchsia|rose)-(50|100|200|950)/,
|
|
|
|
variants: ['dark'],
|
2024-07-26 14:42:31 +00:00
|
|
|
},
|
2024-07-27 08:42:00 +00:00
|
|
|
{
|
|
|
|
pattern: /text-(blue|yellow|green|pink|purple|orange|red|slate|gray|zinc|neutral|stone|amber|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|fuchsia|rose)-(50|100|200|950)/,
|
|
|
|
variants: ['dark'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
pattern: /border-(blue|yellow|green|pink|purple|orange|red|slate|gray|zinc|neutral|stone|amber|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|fuchsia|rose)-(50|100|200|950)/,
|
|
|
|
variants: ['dark'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
pattern: /border-l-(blue|yellow|green|pink|purple|orange|red|slate|gray|zinc|neutral|stone|amber|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|fuchsia|rose)-(50|100|200|400|500|950)/,
|
|
|
|
variants: ['dark'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
pattern: /bg-(blue|yellow|green|pink|purple|orange|red|slate|gray|zinc|neutral|stone|amber|lime|green|emerald|teal|cyan|sky|blue|indigo|violet|fuchsia|rose)-(50|100|200|400|500|950)/,
|
|
|
|
variants: ['dark'],
|
|
|
|
}
|
2024-07-24 07:46:19 +00:00
|
|
|
],
|
2024-06-27 13:15:38 +00:00
|
|
|
darkMode: ["class"],
|
|
|
|
content: [
|
|
|
|
'./pages/**/*.{ts,tsx}',
|
|
|
|
'./components/**/*.{ts,tsx}',
|
|
|
|
'./app/**/*.{ts,tsx}',
|
|
|
|
'./src/**/*.{ts,tsx}',
|
|
|
|
],
|
|
|
|
prefix: "",
|
|
|
|
theme: {
|
|
|
|
container: {
|
|
|
|
center: true,
|
|
|
|
padding: "2rem",
|
|
|
|
screens: {
|
|
|
|
"2xl": "1400px",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
extend: {
|
|
|
|
colors: {
|
|
|
|
border: "hsl(var(--border))",
|
|
|
|
input: "hsl(var(--input))",
|
|
|
|
ring: "hsl(var(--ring))",
|
|
|
|
background: "hsl(var(--background))",
|
|
|
|
foreground: "hsl(var(--foreground))",
|
|
|
|
primary: {
|
|
|
|
DEFAULT: "hsl(var(--primary))",
|
|
|
|
foreground: "hsl(var(--primary-foreground))",
|
|
|
|
},
|
|
|
|
secondary: {
|
|
|
|
DEFAULT: "hsl(var(--secondary))",
|
|
|
|
foreground: "hsl(var(--secondary-foreground))",
|
|
|
|
},
|
|
|
|
destructive: {
|
|
|
|
DEFAULT: "hsl(var(--destructive))",
|
|
|
|
foreground: "hsl(var(--destructive-foreground))",
|
|
|
|
},
|
|
|
|
muted: {
|
|
|
|
DEFAULT: "hsl(var(--muted))",
|
|
|
|
foreground: "hsl(var(--muted-foreground))",
|
|
|
|
},
|
|
|
|
accent: {
|
|
|
|
DEFAULT: "hsl(var(--accent))",
|
|
|
|
foreground: "hsl(var(--accent-foreground))",
|
|
|
|
},
|
|
|
|
popover: {
|
|
|
|
DEFAULT: "hsl(var(--popover))",
|
|
|
|
foreground: "hsl(var(--popover-foreground))",
|
|
|
|
},
|
|
|
|
card: {
|
|
|
|
DEFAULT: "hsl(var(--card))",
|
|
|
|
foreground: "hsl(var(--card-foreground))",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
borderRadius: {
|
|
|
|
lg: "var(--radius)",
|
|
|
|
md: "calc(var(--radius) - 2px)",
|
|
|
|
sm: "calc(var(--radius) - 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" },
|
|
|
|
},
|
2024-07-25 10:25:33 +00:00
|
|
|
"caret-blink": {
|
|
|
|
"0%,70%,100%": { opacity: "1" },
|
|
|
|
"20%,50%": { opacity: "0" },
|
|
|
|
},
|
2024-06-27 13:15:38 +00:00
|
|
|
},
|
|
|
|
animation: {
|
|
|
|
"accordion-down": "accordion-down 0.2s ease-out",
|
|
|
|
"accordion-up": "accordion-up 0.2s ease-out",
|
2024-07-25 10:25:33 +00:00
|
|
|
"caret-blink": "caret-blink 1.25s ease-out infinite",
|
2024-06-27 13:15:38 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2024-07-14 05:24:59 +00:00
|
|
|
plugins: [
|
|
|
|
require("tailwindcss-animate"),
|
|
|
|
],
|
2024-06-27 13:15:38 +00:00
|
|
|
} satisfies Config
|
|
|
|
|
|
|
|
export default config
|