Files
wtr/tailwind.config.ts

40 lines
1.2 KiB
TypeScript

import type { Config } from "tailwindcss";
export default {
darkMode: ["class"],
content: [
"./app/**/*.{ts,tsx}",
"./components/**/*.{ts,tsx}",
"./hooks/**/*.{ts,tsx}",
"./lib/**/*.{ts,tsx}",
],
theme: {
extend: {
colors: {
background: "hsl(var(--background) / <alpha-value>)",
foreground: "hsl(var(--foreground) / <alpha-value>)",
surface: "hsl(var(--surface) / <alpha-value>)",
"surface-muted": "hsl(var(--surface-muted) / <alpha-value>)",
"surface-raised": "hsl(var(--surface-raised) / <alpha-value>)",
border: "hsl(var(--border) / <alpha-value>)",
muted: "hsl(var(--muted) / <alpha-value>)",
accent: "hsl(var(--accent) / <alpha-value>)",
warning: "hsl(var(--warning) / <alpha-value>)",
},
fontFamily: {
sans: ["var(--font-inter)", "system-ui", "sans-serif"],
},
borderRadius: {
panel: "1.5rem",
card: "1.25rem",
control: "9999px",
},
boxShadow: {
card: "0 16px 42px hsl(215 32% 18% / 0.08)",
soft: "0 10px 28px hsl(215 32% 18% / 0.06)",
},
},
},
plugins: [],
} satisfies Config;