-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
482 lines (466 loc) · 13.3 KB
/
Copy pathtailwind.config.js
File metadata and controls
482 lines (466 loc) · 13.3 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./resources/components/**/*.blade.php',
'./resources/js/**/*.js',
],
theme: {
extend: {
// Custom Color Palette (2026 Premium Ecommerce - Maroon & Gold)
colors: {
// Primary Maroon (main brand colors)
primary: {
50: '#faf5f5',
100: '#f5eeee',
200: '#e8d5d5',
300: '#d4a8a8',
400: '#b87a7a',
500: '#a85a5a',
600: '#8B0000', // Main brand maroon
700: '#6B0000',
800: '#5C0000',
900: '#4a0000',
950: '#300000',
},
// Success States (Greens)
success: {
50: '#f0fdf4',
100: '#dcfce7',
200: '#bbf7d0',
300: '#86efac',
400: '#4ade80',
500: '#22c55e', // Main success green
600: '#16a34a',
700: '#15803d',
800: '#166534',
900: '#145231',
},
// Accent Gold (premium visual accents)
warning: {
50: '#fffdf5',
100: '#fffbeb',
200: '#fff3c7',
300: '#ffe68a',
400: '#ffd24d',
500: '#f59e0b', // Light gold for accents
600: '#D97706', // Main gold accent
700: '#b84709',
800: '#92400e',
900: '#78350f',
},
// Danger/Error States (Reds)
danger: {
50: '#fef2f2',
100: '#fee2e2',
200: '#fecaca',
300: '#fca5a5',
400: '#f87171',
500: '#ef4444', // Main danger
600: '#dc2626',
700: '#b91c1c',
800: '#991b1b',
900: '#7f1d1d',
},
// Information States (Light Blues)
info: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9', // Main info
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c3d66',
},
// Neutral Grays
gray: {
50: '#f9fafb',
100: '#f3f4f6',
200: '#e5e7eb',
300: '#d1d5db',
400: '#9ca3af',
500: '#6b7280', // Main neutral
600: '#4b5563',
700: '#374151',
800: '#1f2937',
900: '#111827',
950: '#030712',
},
},
// Typography System (2026 Modern Fonts)
fontFamily: {
sans: [
'Plus Jakarta Sans',
'system-ui',
'-apple-system',
'sans-serif',
],
heading: [
'Poppins',
'system-ui',
'-apple-system',
'sans-serif',
],
mono: [
'Menlo',
'Monaco',
'Courier New',
'monospace',
],
},
fontSize: {
xs: ['0.75rem', { lineHeight: '1rem' }],
sm: ['0.875rem', { lineHeight: '1.25rem' }],
base: ['1rem', { lineHeight: '1.5rem' }],
lg: ['1.125rem', { lineHeight: '1.75rem' }],
xl: ['1.25rem', { lineHeight: '1.75rem' }],
'2xl': ['1.5rem', { lineHeight: '2rem' }],
'3xl': ['1.875rem', { lineHeight: '2.25rem' }],
'4xl': ['2.25rem', { lineHeight: '2.5rem' }],
'5xl': ['3rem', { lineHeight: '1.2' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
},
fontWeight: {
thin: '100',
extralight: '200',
light: '300',
normal: '400',
medium: '500',
semibold: '600',
bold: '700',
extrabold: '800',
black: '900',
},
// Spacing System (8px base)
spacing: {
0: '0',
1: '0.25rem',
2: '0.5rem',
3: '0.75rem',
4: '1rem',
5: '1.25rem',
6: '1.5rem',
7: '1.75rem',
8: '2rem',
9: '2.25rem',
10: '2.5rem',
12: '3rem',
14: '3.5rem',
16: '4rem',
20: '5rem',
24: '6rem',
28: '7rem',
32: '8rem',
36: '9rem',
40: '10rem',
44: '11rem',
48: '12rem',
52: '13rem',
56: '14rem',
60: '15rem',
64: '16rem',
72: '18rem',
80: '20rem',
96: '24rem',
},
// Border Radius (Modern rounded design)
borderRadius: {
none: '0',
sm: '0.375rem',
base: '0.5rem',
md: '0.75rem',
lg: '1rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '2rem',
full: '9999px',
},
// Box Shadows (Depth & Glassmorphism effects)
boxShadow: {
none: 'none',
xs: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
sm: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)',
base: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)',
md: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)',
lg: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)',
xl: '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
'2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
// Glassmorphism effects
glass: 'inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 8px 32px 0 rgba(31, 38, 135, 0.37)',
'glass-lg': 'inset 0 1px 0 0 rgba(255, 255, 255, 0.2), 0 20px 50px 0 rgba(31, 38, 135, 0.37)',
// Soft shadows
soft: '0 0 20px rgba(0, 0, 0, 0.08)',
'soft-lg': '0 0 40px rgba(0, 0, 0, 0.12)',
},
// Transitions & Animations
transitionDuration: {
75: '75ms',
100: '100ms',
150: '150ms',
200: '200ms',
300: '300ms',
500: '500ms',
700: '700ms',
1000: '1000ms',
},
transitionTimingFunction: {
linear: 'linear',
in: 'cubic-bezier(0.4, 0, 1, 1)',
out: 'cubic-bezier(0, 0, 0.2, 1)',
'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
'spring': 'cubic-bezier(0.34, 1.56, 0.64, 1)',
},
animation: {
none: 'none',
spin: 'spin 1s linear infinite',
ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
bounce: 'bounce 1s infinite',
shimmer: 'shimmer 2s infinite',
'fade-in': 'fadeIn 0.5s ease-out',
'slide-in-right': 'slideInRight 0.3s ease-out',
'slide-in-left': 'slideInLeft 0.3s ease-out',
},
keyframes: {
shimmer: {
'0%': { backgroundPosition: '200% 0' },
'100%': { backgroundPosition: '-200% 0' },
},
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideInRight: {
'0%': { transform: 'translateX(100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
slideInLeft: {
'0%': { transform: 'translateX(-100%)', opacity: '0' },
'100%': { transform: 'translateX(0)', opacity: '1' },
},
},
// Backdrop Filters (Glassmorphism)
backdropBlur: {
none: '0',
sm: '4px',
base: '8px',
md: '12px',
lg: '16px',
xl: '20px',
'2xl': '24px',
},
// Z-index scale
zIndex: {
auto: 'auto',
0: '0',
10: '10',
20: '20',
30: '30',
40: '40',
50: '50',
60: '60',
70: '70',
80: '80',
90: '90',
100: '100',
modal: '1000',
dropdown: '1010',
sticky: '1020',
fixed: '1030',
tooltip: '1040',
},
// Opacity scale
brand: {
50: '#fbf4f5',
100: '#f8e9eb',
200: '#f1d2d7',
300: '#e4acb8',
400: '#d3788f',
500: '#bc506d',
600: '#a23a55',
700: '#84273F',
800: '#711f35',
900: '#611d31',
950: '#360b18',
},
primary: {
50: '#fbf3f3',
100: '#f5e4e4',
200: '#eccece',
300: '#dfadad',
400: '#cd8585',
500: '#b66161',
600: '#9e4747',
700: '#8b0000',
800: '#6f3232',
900: '#5e2e2e',
950: '#321515',
},
neutral: {
50: '#fcfbfb',
100: '#f7f5f6',
200: '#f0ecee',
300: '#e2dce0',
400: '#c9bfc6',
500: '#a998a2',
600: '#87757e',
700: '#65575e',
800: '#43383d',
900: '#292225',
950: '#171214',
},
90: '0.9',
95: '0.95',
100: '1',
display: ['Plus Jakarta Sans', 'Inter', 'system-ui', 'sans-serif'],
serif: ['Inter', 'system-ui', 'sans-serif'],
// Width & Height utilities
backdropBlur: {
xs: '2px',
},
width: {
full: '100%',
screen: '100vw',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
},
none: '0',
sm: '0.5rem',
base: '1rem',
md: '1rem',
lg: '1.25rem',
xl: '1.5rem',
'2xl': '1.75rem',
'3xl': '2rem',
'4xl': '2.5rem',
full: '9999px',
screen: '100vh',
min: 'min-content',
max: 'max-content',
fit: 'fit-content',
},
// Gradient utilities
glass: '0 18px 46px rgba(53, 14, 20, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.38)',
backgroundImage: {
transitionTimingFunction: {
premium: 'cubic-bezier(0.16, 1, 0.3, 1)',
},
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))',
'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
},
// Custom utilities for common patterns
minHeight: {
screen: '100vh',
},
minWidth: {
screen: '100vw',
},
},
},
plugins: [
// Custom utilities
function ({ addUtilities, e, theme }) {
const glassmorphism = {
'.glass': {
background: 'rgba(255, 255, 255, 0.1)',
backdropFilter: 'blur(10px)',
border: '1px solid rgba(255, 255, 255, 0.2)',
},
'.glass-dark': {
background: 'rgba(15, 23, 42, 0.5)',
backdropFilter: 'blur(10px)',
border: '1px solid rgba(255, 255, 255, 0.1)',
},
'.glass-lg': {
background: 'rgba(255, 255, 255, 0.15)',
backdropFilter: 'blur(20px)',
border: '1px solid rgba(255, 255, 255, 0.3)',
},
};
const textUtilities = {
'.text-gradient': {
'@apply bg-gradient-to-r from-primary-600 to-warning-600 bg-clip-text text-transparent': {},
},
'.text-shadow': {
textShadow: '0 2px 4px rgba(0, 0, 0, 0.1)',
},
'.text-shadow-lg': {
textShadow: '0 4px 8px rgba(0, 0, 0, 0.15)',
},
};
const flexUtilities = {
'.flex-center': {
'@apply flex items-center justify-center': {},
},
'.flex-between': {
'@apply flex items-center justify-between': {},
},
'.flex-col-center': {
'@apply flex flex-col items-center justify-center': {},
},
};
const gridUtilities = {
'.grid-auto-fit': {
gridTemplateColumns: 'repeat(auto-fit, minmax(250px, 1fr))',
},
'.grid-auto-fill': {
gridTemplateColumns: 'repeat(auto-fill, minmax(250px, 1fr))',
},
};
const boundaryUtilities = {
'.container-bounded': {
maxWidth: '1280px',
marginLeft: 'auto',
marginRight: 'auto',
paddingLeft: '1rem',
paddingRight: '1rem',
},
};
const brandUtilities = {
'.gradient-brand-hero': {
background: 'linear-gradient(135deg, #8B0000 0%, #5C0000 100%)',
},
'.gradient-brand-accent': {
background: 'linear-gradient(135deg, #D97706 0%, #F59E0B 100%)',
},
'.border-gold': {
borderColor: '#D97706',
},
'.text-maroon': {
color: '#8B0000',
},
'.bg-maroon-dark': {
backgroundColor: '#5C0000',
},
};
addUtilities({
...glassmorphism,
...textUtilities,
...flexUtilities,
...gridUtilities,
...boundaryUtilities,
...brandUtilities,
});
},
],
corePlugins: {
preflight: true,
},
safelist: [
// Status badge colors
{
pattern: /bg-(success|warning|danger|info|primary|gray)-(100|500|600)/,
},
{
pattern: /text-(success|warning|danger|info|primary|gray)-(600|700|800|900)/,
},
{
pattern: /border-(success|warning|danger|info|primary|gray)-(200|300|500)/,
},
],
};