-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
37 lines (35 loc) · 1.12 KB
/
tailwind.config.ts
File metadata and controls
37 lines (35 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import type { Config } from "tailwindcss";
/**
* Tailwind CSS Configuration
*
* Brand colors are defined via CSS variables in globals.css,
* which are sourced from src/styles/design-tokens.ts
*
* To change colors, edit PALETTE in design-tokens.ts
*/
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
// Brand colors from CSS variables (defined in globals.css)
brand: {
primary: "hsl(var(--brand-primary) / <alpha-value>)",
primaryLight: "hsl(var(--brand-primary-light) / <alpha-value>)",
primaryDark: "hsl(var(--brand-primary-dark) / <alpha-value>)",
surface: "hsl(var(--brand-surface) / <alpha-value>)",
surfaceForeground:
"hsl(var(--brand-surface-foreground) / <alpha-value>)",
accent: "hsl(var(--brand-accent) / <alpha-value>)",
accentForeground:
"hsl(var(--brand-accent-foreground) / <alpha-value>)",
},
},
},
},
};
export default config;