Repository navigation
Expand file tree
/
Copy pathtailwind.config.js
More file actions
69 lines (69 loc) · 2.57 KB
/
Copy pathtailwind.config.js
File metadata and controls
69 lines (69 loc) · 2.57 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/renderer/**/*.{js,ts,jsx,tsx,html}"],
darkMode: "class",
theme: {
extend: {
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",
border: "hsl(var(--border))",
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
card: {
DEFAULT: "hsl(var(--card))",
foreground: "hsl(var(--card-foreground))",
},
popover: {
DEFAULT: "hsl(var(--popover))",
foreground: "hsl(var(--popover-foreground))",
},
primary: {
DEFAULT: "hsl(var(--primary))",
foreground: "hsl(var(--primary-foreground))",
},
secondary: {
DEFAULT: "hsl(var(--secondary))",
foreground: "hsl(var(--secondary-foreground))",
},
muted: {
DEFAULT: "hsl(var(--muted))",
foreground: "hsl(var(--muted-foreground))",
},
accent: {
DEFAULT: "hsl(var(--accent))",
foreground: "hsl(var(--accent-foreground))",
},
destructive: {
DEFAULT: "hsl(var(--destructive))",
foreground: "hsl(var(--destructive-foreground))",
},
"tl-background": "hsl(var(--tl-background))",
"input-background": "hsl(var(--input-background))",
"plan-mode": {
DEFAULT: "hsl(var(--plan-mode))",
foreground: "hsl(var(--plan-mode-foreground))",
},
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
boxShadow: {
// Elevation system for visual depth
"elevation-1": "0 1px 2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1)",
"elevation-2": "0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.1)",
"elevation-3": "0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px rgba(0, 0, 0, 0.1)",
// Dark mode elevation (stronger shadows needed on dark backgrounds)
"elevation-1-dark": "0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.4)",
"elevation-2-dark": "0 2px 4px rgba(0, 0, 0, 0.3), 0 4px 6px rgba(0, 0, 0, 0.4)",
"elevation-3-dark": "0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 15px rgba(0, 0, 0, 0.4)",
// Inner shadow for recessed elements
"inner-subtle": "inset 0 1px 2px rgba(0, 0, 0, 0.06)",
"inner-subtle-dark": "inset 0 1px 2px rgba(0, 0, 0, 0.2)",
},
},
},
plugins: [require("@tailwindcss/typography"), require("tailwindcss-animate")],
}