-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathtailwind.config.js
More file actions
85 lines (85 loc) · 2.73 KB
/
tailwind.config.js
File metadata and controls
85 lines (85 loc) · 2.73 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
// Use CSS variables for theme-aware colors
background: {
DEFAULT: 'var(--color-background)',
secondary: 'var(--color-background-secondary)',
},
surface: {
DEFAULT: 'var(--color-surface)',
hover: 'var(--color-surface-hover)',
active: 'var(--color-surface-active)',
muted: 'var(--color-surface-muted)',
},
border: {
DEFAULT: 'var(--color-border)',
muted: 'var(--color-border-muted)',
subtle: 'var(--color-border-subtle)',
},
accent: {
DEFAULT: 'var(--color-accent)',
hover: 'var(--color-accent-hover)',
muted: 'var(--color-accent-muted)',
},
mcp: {
DEFAULT: 'var(--color-mcp)',
},
text: {
primary: 'var(--color-text-primary)',
secondary: 'var(--color-text-secondary)',
muted: 'var(--color-text-muted)',
},
success: 'var(--color-success)',
warning: 'var(--color-warning)',
error: 'var(--color-error)',
},
fontFamily: {
sans: ['Plus Jakarta Sans', 'system-ui', 'sans-serif'],
mono: ['JetBrains Mono', 'SF Mono', 'Menlo', 'monospace'],
},
boxShadow: {
'soft': 'var(--shadow-soft)',
'card': 'var(--shadow-card)',
'elevated': 'var(--shadow-elevated)',
},
borderRadius: {
'lg': '8px',
'xl': '10px',
'2xl': '14px',
'3xl': '16px',
},
backgroundImage: {
'grid-pattern': `url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4d2cc' fill-opacity='0.4'%3E%3Cpath d='M0 0h1v40H0V0zm39 0h1v40h-1V0z'/%3E%3Cpath d='M0 0h40v1H0V0zm0 39h40v1H0v-1z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`,
},
animation: {
'fade-in': 'fadeIn 0.2s ease-out',
'slide-up': 'slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1)',
'spin-slow': 'spin 2s linear infinite',
'expand': 'expand 0.2s cubic-bezier(0.16, 1, 0.3, 1)',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { opacity: '0', transform: 'translateY(8px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
expand: {
'0%': { opacity: '0', maxHeight: '0' },
'100%': { opacity: '1', maxHeight: '500px' },
},
},
},
},
plugins: [],
}