-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtailwind.config.js
More file actions
115 lines (115 loc) · 3.56 KB
/
tailwind.config.js
File metadata and controls
115 lines (115 loc) · 3.56 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./templates/**/*.html",
"./assets/**/*.{js,ts,jsx,tsx,vue,scss}",
],
darkMode: 'class',
theme: {
extend: {
colors: {
// WMCTF Brand Colors - Modern Apple-inspired palette
wmctf: {
primary: '#007AFF', // Apple Blue
secondary: '#5856D6', // Apple Purple
accent: '#FF3B30', // Apple Red
success: '#34C759', // Apple Green
warning: '#FF9500', // Apple Orange
danger: '#FF3B30', // Apple Red
},
// Dark mode colors
dark: {
bg: '#000000',
surface: '#1C1C1E',
card: '#2C2C2E',
border: '#38383A',
text: '#FFFFFF',
muted: '#8E8E93',
},
// Light mode colors
light: {
bg: '#FFFFFF',
surface: '#F2F2F7',
card: '#FFFFFF',
border: '#C6C6C8',
text: '#000000',
muted: '#6D6D70',
}
},
fontFamily: {
'sf-pro': ['-apple-system', 'SF Pro Display', 'system-ui', 'sans-serif'],
'inter': ['Inter', 'system-ui', 'sans-serif'],
},
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' }],
'6xl': ['3.75rem', { lineHeight: '1' }],
'7xl': ['4.5rem', { lineHeight: '1' }],
'8xl': ['6rem', { lineHeight: '1' }],
'9xl': ['8rem', { lineHeight: '1' }],
},
spacing: {
'18': '4.5rem',
'88': '22rem',
'128': '32rem',
},
borderRadius: {
'xl': '0.75rem',
'2xl': '1rem',
'3xl': '1.5rem',
'4xl': '2rem',
},
boxShadow: {
'apple': '0 4px 16px rgba(0, 0, 0, 0.12)',
'apple-lg': '0 8px 32px rgba(0, 0, 0, 0.16)',
'apple-xl': '0 12px 48px rgba(0, 0, 0, 0.2)',
'glow': '0 0 20px rgba(0, 122, 255, 0.3)',
'glow-purple': '0 0 20px rgba(88, 86, 214, 0.3)',
},
backdropBlur: {
'apple': '20px',
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'slide-up': 'slideUp 0.3s ease-out',
'scale-in': 'scaleIn 0.2s ease-out',
'bounce-gentle': 'bounceGentle 2s infinite',
'pulse-glow': 'pulseGlow 2s ease-in-out infinite',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(10px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
scaleIn: {
'0%': { transform: 'scale(0.95)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
bounceGentle: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-5px)' },
},
pulseGlow: {
'0%, 100%': { boxShadow: '0 0 20px rgba(0, 122, 255, 0.3)' },
'50%': { boxShadow: '0 0 40px rgba(0, 122, 255, 0.6)' },
},
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}