35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
import type { Config } from "tailwindcss";
|
|
|
|
export default {
|
|
darkMode: ["class"],
|
|
content: ["./src/**/*.{ts,tsx}"],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
background: "hsl(var(--background) / <alpha-value>)",
|
|
surface: "hsl(var(--surface) / <alpha-value>)",
|
|
foreground: "hsl(var(--foreground) / <alpha-value>)",
|
|
muted: "hsl(var(--muted) / <alpha-value>)",
|
|
"muted-foreground": "hsl(var(--muted-foreground) / <alpha-value>)",
|
|
border: "hsl(var(--border) / <alpha-value>)",
|
|
input: "hsl(var(--input) / <alpha-value>)",
|
|
primary: "hsl(var(--primary) / <alpha-value>)",
|
|
"primary-foreground": "hsl(var(--primary-foreground) / <alpha-value>)",
|
|
secondary: "hsl(var(--secondary) / <alpha-value>)",
|
|
"secondary-foreground": "hsl(var(--secondary-foreground) / <alpha-value>)",
|
|
accent: "hsl(var(--accent) / <alpha-value>)",
|
|
"accent-foreground": "hsl(var(--accent-foreground) / <alpha-value>)",
|
|
destructive: "hsl(var(--destructive) / <alpha-value>)",
|
|
"destructive-foreground": "hsl(var(--destructive-foreground) / <alpha-value>)",
|
|
ring: "hsl(var(--ring) / <alpha-value>)",
|
|
},
|
|
borderRadius: {
|
|
lg: "var(--radius)",
|
|
md: "calc(var(--radius) - 2px)",
|
|
sm: "calc(var(--radius) - 4px)",
|
|
},
|
|
},
|
|
},
|
|
plugins: [],
|
|
} satisfies Config;
|