UNPKG

dev-tool-chest-ui

Version:

A Tailwind CSS v4 preset with modern OKLCH colors and shadcn-ui compatibility

57 lines (56 loc) 1.81 kB
/** @type {import('tailwindcss').Config} */ export default { darkMode: "class", theme: { extend: { colors: { background: "var(--background)", foreground: "var(--foreground)", card: "var(--card)", "card-foreground": "var(--card-foreground)", popover: "var(--popover)", "popover-foreground": "var(--popover-foreground)", primary: "var(--primary)", "primary-foreground": "var(--primary-foreground)", secondary: "var(--secondary)", "secondary-foreground": "var(--secondary-foreground)", muted: "var(--muted)", "muted-foreground": "var(--muted-foreground)", accent: "var(--accent)", "accent-foreground": "var(--accent-foreground)", destructive: "var(--destructive)", "destructive-foreground": "var(--destructive-foreground)", border: "var(--border)", input: "var(--input)", ring: "var(--ring)", }, borderRadius: { lg: "var(--radius)", md: "calc(var(--radius) - 2px)", sm: "calc(var(--radius) - 4px)", }, boxShadow: { "2xs": "var(--shadow-2xs)", xs: "var(--shadow-xs)", sm: "var(--shadow-sm)", DEFAULT: "var(--shadow)", md: "var(--shadow-md)", lg: "var(--shadow-lg)", xl: "var(--shadow-xl)", "2xl": "var(--shadow-2xl)", }, letterSpacing: { tighter: "var(--tracking-tighter)", tight: "var(--tracking-tight)", normal: "var(--tracking-normal)", wide: "var(--tracking-wide)", wider: "var(--tracking-wider)", widest: "var(--tracking-widest)", }, fontFamily: { sans: ["var(--font-dmsans)"], }, }, }, plugins: [require("tailwindcss-animate")], };