-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
210 lines (192 loc) · 5.65 KB
/
Copy pathtailwind.config.js
File metadata and controls
210 lines (192 loc) · 5.65 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
/** @type {import('tailwindcss').Config} */
// Material Design 3 - Official Google Color Palette
// Source: https://m3.material.io/
const material3Colors = {
// Primary (Purple - Official M3)
primary: {
10: '#FFFBFE',
20: '#FCE4EC',
25: '#F8DFE7',
30: '#F5D9E3',
35: '#F1CDD9',
40: '#ECB8CF',
50: '#E8B4CC',
60: '#D593B9',
70: '#C27BA5',
80: '#B06A92',
90: '#A1597A',
95: '#954A6E',
99: '#7C4961',
100: '#6750A4',
},
// Secondary (Muted Purple - Official M3)
secondary: {
10: '#FFFBFE',
20: '#FCE4EC',
25: '#F8DFE7',
30: '#F5D9E3',
35: '#F1CDD9',
40: '#ECB8CF',
50: '#E8B4CC',
60: '#D593B9',
70: '#C27BA5',
80: '#B06A92',
90: '#A1597A',
95: '#954A6E',
99: '#7C4961',
100: '#625B71',
},
// Tertiary (Rose - Official M3)
tertiary: {
10: '#FFFBFA',
20: '#FCE4E8',
25: '#F8DFE3',
30: '#F5D9DF',
35: '#F1CDDA',
40: '#ECB8CF',
50: '#E8B4CC',
60: '#D593B9',
70: '#C27BA5',
80: '#B06A92',
90: '#A1597A',
95: '#954A6E',
99: '#7C4961',
100: '#7D5260',
},
// Error (Red - Official M3)
error: {
10: '#FFFBF9',
20: '#FCDEC8',
25: '#F9D3BF',
30: '#F6C8B7',
35: '#F3BDAF',
40: '#EFB8B0',
50: '#EBACAF',
60: '#E59BA9',
70: '#DE7FA1',
80: '#D76A66',
90: '#C72C2A',
95: '#B42020',
99: '#92000A',
100: '#B3261E',
},
// Neutral (Gray - Official M3)
neutral: {
10: '#FFFBFE',
20: '#F5F5F5',
25: '#EFEFEF',
30: '#E9E9E9',
35: '#E3E3E3',
40: '#DEDEDE',
50: '#D9D9D9',
60: '#B3B3B3',
70: '#8D8D8D',
80: '#666666',
90: '#404040',
95: '#212121',
99: '#000000',
100: '#1C1B1F',
},
// Surface (for backgrounds)
surface: '#FFFBFE',
surfaceDim: '#DED8E1',
surfaceBright: '#FFFBFE',
surfaceContainerLowest: '#FFFFFF',
surfaceContainerLow: '#F7F2FA',
surfaceContainer: '#F3EEF6',
surfaceContainerHigh: '#EDE7F0',
surfaceContainerHighest: '#E8E3EB',
// On variants (text colors)
onPrimary: '#FFFFFF',
onSecondary: '#FFFFFF',
onTertiary: '#FFFFFF',
onError: '#FFFFFF',
onSurface: '#1C1B1F',
onBackground: '#1C1B1F',
// Container variants
primaryContainer: '#EADDFF',
secondaryContainer: '#E8DEF8',
tertiaryContainer: '#FFD8E4',
errorContainer: '#F9DEDC',
// On container variants
onPrimaryContainer: '#21005D',
onSecondaryContainer: '#1D192B',
onTertiaryContainer: '#31111D',
onErrorContainer: '#410E0B',
// Outline variants
outline: '#79747E',
outlineVariant: '#CAC7D0',
}
export default {
content: [
'./index.html',
'./src/**/*.{vue,js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
// Core Material 3 palette
...material3Colors,
},
// Apple Design System - Shadows
boxShadow: {
'apple-subtle': '0 4px 12px rgba(0,0,0,0.05)',
'apple-card': '0 8px 24px rgba(0,0,0,0.06)',
'apple-focus': '0 4px 12px rgba(59,130,246,0.1)',
'apple-glow': '0 4px 12px rgba(37,99,235,0.3)',
'apple-glow-blue': '0 6px 20px rgba(37,99,235,0.3)',
'apple-glow-red': '0 4px 12px rgba(239,68,68,0.15)',
'apple-glow-indigo': '0 4px 12px rgba(79,70,229,0.3)',
},
// Material 3 Typography Scale
fontSize: {
// Display
'display-lg': ['57px', { lineHeight: '64px', letterSpacing: '-0.25px', fontWeight: '400' }],
'display-md': ['45px', { lineHeight: '52px', letterSpacing: '0px', fontWeight: '400' }],
'display-sm': ['36px', { lineHeight: '44px', letterSpacing: '0px', fontWeight: '400' }],
// Headline
'headline-lg': ['32px', { lineHeight: '40px', letterSpacing: '0px', fontWeight: '400' }],
'headline-md': ['28px', { lineHeight: '36px', letterSpacing: '0px', fontWeight: '400' }],
'headline-sm': ['24px', { lineHeight: '32px', letterSpacing: '0px', fontWeight: '400' }],
// Title
'title-lg': ['22px', { lineHeight: '28px', letterSpacing: '0px', fontWeight: '500' }],
'title-md': ['16px', { lineHeight: '24px', letterSpacing: '0.15px', fontWeight: '500' }],
'title-sm': ['14px', { lineHeight: '20px', letterSpacing: '0.10px', fontWeight: '500' }],
// Body
'body-lg': ['16px', { lineHeight: '24px', letterSpacing: '0.15px', fontWeight: '400' }],
'body-md': ['14px', { lineHeight: '20px', letterSpacing: '0.25px', fontWeight: '400' }],
'body-sm': ['12px', { lineHeight: '16px', letterSpacing: '0.40px', fontWeight: '400' }],
// Label
'label-lg': ['14px', { lineHeight: '20px', letterSpacing: '0.10px', fontWeight: '500' }],
'label-md': ['12px', { lineHeight: '16px', letterSpacing: '0.50px', fontWeight: '500' }],
'label-sm': ['11px', { lineHeight: '16px', letterSpacing: '0.50px', fontWeight: '500' }],
},
// Animations
keyframes: {
fadeIn: {
'0%': { opacity: '0', transform: 'translateY(4px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
slideIn: {
'0%': { opacity: '0', transform: 'translateX(20px)' },
'100%': { opacity: '1', transform: 'translateX(0)' },
},
pop: {
'0%': { transform: 'scale(0.95)' },
'100%': { transform: 'scale(1)' },
}
},
animation: {
'fade-in': 'fadeIn 0.3s ease-out forwards',
'slide-in': 'slideIn 0.3s ease-out forwards',
'pop': 'pop 0.2s cubic-bezier(0.16, 1, 0.3, 1)',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
display: ['Outfit', 'sans-serif'],
mono: ['JetBrains Mono', 'monospace'],
},
},
},
plugins: [],
}