-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.js
More file actions
204 lines (188 loc) · 6.64 KB
/
Copy pathtailwind.config.js
File metadata and controls
204 lines (188 loc) · 6.64 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/**
* BugTraceAI Tailwind CSS Configuration
* =====================================
* Custom theme colors that map to CSS variables in styles/theme.css
*
* Usage in components:
* - bg-purple-deep -> #2D1B4D (main background)
* - bg-purple-medium -> #3D2B5F (cards)
* - text-coral -> #FF7F50 (accent)
* - text-off-white -> #F8F9FA (primary text)
* - text-purple-gray -> #B0A8C0 (secondary text)
* - bg-success -> #2ECC71
* - bg-warning -> #FFC107
* - bg-error -> #FF3131
*/
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./**/*.{js,ts,jsx,tsx}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
// Primary Purple Palette (60%)
'purple': {
'deep': 'var(--color-purple-deep)', // Main background
'medium': 'var(--color-purple-medium)', // Cards, sections
'light': 'var(--color-purple-light)', // Hover states
'elevated': 'var(--color-purple-elevated)', // Elevated elements
},
// Dashboard Colors (darker variants)
'dashboard': {
'bg': 'var(--color-dashboard-bg)',
'card': 'var(--color-dashboard-card)',
'card-solid': 'var(--color-dashboard-card-solid)',
},
// Accent Colors (10%)
'coral': {
DEFAULT: 'var(--color-accent-primary)',
'hover': 'var(--color-accent-primary-hover)',
'active': 'var(--color-accent-primary-active)',
},
// Custom Accents
'purple-accent': 'var(--color-accent-soft)',
'purple-accent-hover': 'var(--color-accent-soft-hover)',
// Status Colors
'success': {
DEFAULT: 'var(--color-success)',
'bg': 'var(--color-success-bg)',
'border': 'var(--color-success-border)',
},
'warning': {
DEFAULT: 'var(--color-warning)',
'bg': 'var(--color-warning-bg)',
'border': 'var(--color-warning-border)',
},
'error': {
DEFAULT: 'var(--color-error)',
'bg': 'var(--color-error-bg)',
'border': 'var(--color-error-border)',
},
// Text Colors (30%)
'off-white': 'var(--color-text-primary)',
'purple-gray': 'var(--color-purple-gray)',
'muted': 'var(--color-muted)',
// Glass Effects
'glass': {
'bg': 'var(--color-glass-bg)',
'border': 'var(--color-glass-border)',
'hover': 'var(--color-glass-hover)',
},
},
// Box shadows
boxShadow: {
'glow-coral': '0 0 20px rgba(255, 127, 80, 0.4)',
'glow-success': '0 0 20px rgba(46, 204, 113, 0.4)',
'glow-error': '0 0 20px rgba(255, 49, 49, 0.4)',
'card': '0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2)',
// Dashboard shadows
'dashboard': '0 4px 20px rgba(0, 0, 0, 0.4)',
'dashboard-hover': '0 8px 30px rgba(0, 0, 0, 0.5)',
'dashboard-lg': '0 10px 40px rgba(0, 0, 0, 0.5)',
},
// Border radius
borderRadius: {
'xl': '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
// Dashboard card radius
'card': '24px',
'card-lg': '32px',
'card-xl': '40px',
},
// Fonts
fontFamily: {
'sans': ['Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'sans-serif'],
},
// Animations (matching landing page)
animation: {
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
'slide-in': 'slideIn 0.3s ease-out',
'fade-in': 'fadeIn 0.2s ease-out',
'float': 'float 3s ease-in-out infinite',
'hero-glow': 'heroGlow 4s ease-in-out infinite',
'pulse-dot': 'pulseDot 2s ease-in-out infinite',
'orbit': 'orbit 30s linear infinite',
'scan-progress': 'scanProgress 2s ease-in-out infinite',
'shimmer': 'shimmer 1.5s ease-in-out infinite',
'heartbeat': 'heartbeat 1.5s ease-in-out infinite',
},
keyframes: {
'pulse-glow': {
'0%, 100%': {
filter: 'drop-shadow(0 0 4px rgba(255, 49, 49, 0.4))',
},
'50%': {
filter: 'drop-shadow(0 0 12px rgba(255, 49, 49, 0.8)) drop-shadow(0 0 20px rgba(255, 49, 49, 0.4))',
},
},
'slideIn': {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
'fadeIn': {
'from': { opacity: '0' },
'to': { opacity: '1' },
},
'float': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
'heroGlow': {
'0%, 100%': { opacity: '0.5', transform: 'scale(1)' },
'50%': { opacity: '0.8', transform: 'scale(1.1)' },
},
'pulseDot': {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.4' },
},
'orbit': {
'from': { transform: 'rotate(0deg)' },
'to': { transform: 'rotate(360deg)' },
},
'scanProgress': {
'0%, 100%': { opacity: '1' },
'50%': { opacity: '0.6' },
},
'shimmer': {
'0%': { backgroundPosition: '200% 0' },
'100%': { backgroundPosition: '-200% 0' },
},
'heartbeat': {
'0%, 100%': { transform: 'scale(1)', boxShadow: '0 0 0 rgba(239, 68, 68, 0)' },
'14%': { transform: 'scale(1.15)', boxShadow: '0 0 15px rgba(239, 68, 68, 0.6)' },
'28%': { transform: 'scale(1)', boxShadow: '0 0 0 rgba(239, 68, 68, 0)' },
'42%': { transform: 'scale(1.15)', boxShadow: '0 0 15px rgba(239, 68, 68, 0.6)' },
'70%': { transform: 'scale(1)', boxShadow: '0 0 0 rgba(239, 68, 68, 0)' },
},
},
// Background images for gradient patterns
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-accent': 'linear-gradient(135deg, #FF7F50 0%, #FF9B70 100%)',
'gradient-coral-glow': 'linear-gradient(135deg, #FF7F50 0%, #FF6B6B 100%)',
'gradient-card': 'linear-gradient(135deg, rgba(61, 43, 95, 0.8) 0%, rgba(45, 27, 77, 0.9) 100%)',
'gradient-purple': 'linear-gradient(135deg, #2D1B4D 0%, #3D2B5F 50%, #2D1B4D 100%)',
},
// Backdrop blur (for glass effects)
backdropBlur: {
'xs': '2px',
'lg': '20px',
},
// Spacing
spacing: {
'18': '4.5rem',
'112': '28rem',
'128': '32rem',
},
// Transitions
transitionDuration: {
'400': '400ms',
},
},
},
plugins: [],
}