-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
133 lines (130 loc) 路 4.66 KB
/
Copy pathtailwind.config.js
File metadata and controls
133 lines (130 loc) 路 4.66 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
"./index.html",
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
colors: {
// Apple-inspired color palette
'apple-blue': '#007AFF',
'apple-green': '#34C759',
'apple-red': '#FF3B30',
'apple-orange': '#FF9500',
'apple-purple': '#AF52DE',
'apple-pink': '#FF2D92',
'apple-yellow': '#FFCC02',
// Neutral grays (Apple style)
'apple-gray-50': '#F5F5F7',
'apple-gray-100': '#E5E5E7',
'apple-gray-200': '#D1D1D6',
'apple-gray-300': '#C7C7CC',
'apple-gray-400': '#AEAEB2',
'apple-gray-500': '#8E8E93',
'apple-gray-600': '#636366',
'apple-gray-700': '#48484A',
'apple-gray-800': '#3A3A3C',
'apple-gray-900': '#1C1C1E',
// Custom gradients
'gradient-primary': 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
'gradient-secondary': 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)',
'gradient-success': 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)',
'gradient-warning': 'linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)',
// Legacy colors for compatibility
'primary-bg': '#F7F6FA',
'primary-text': '#1B1B1F',
'secondary-text': '#6E6E7A',
'accent-1': '#007AFF',
'accent-2': '#00C2FF',
'positive': '#34C759',
'negative': '#FF3B30',
'dark-bg': '#1C1C1E',
'dark-text': '#E4E4E7',
},
fontFamily: {
'sf': ['-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'sans-serif'],
'sf-mono': ['SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', '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' }],
'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': '1rem',
'2xl': '1.5rem',
'3xl': '2rem',
},
boxShadow: {
'apple': '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
'apple-lg': '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
'apple-xl': '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
'apple-2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
'glow': '0 0 20px rgba(0, 122, 255, 0.3)',
'glow-green': '0 0 20px rgba(52, 199, 89, 0.3)',
'glow-red': '0 0 20px rgba(255, 59, 48, 0.3)',
},
animation: {
'fade-in': 'fadeIn 0.5s ease-in-out',
'slide-up': 'slideUp 0.5s ease-out',
'slide-down': 'slideDown 0.5s ease-out',
'scale-in': 'scaleIn 0.3s ease-out',
'bounce-gentle': 'bounceGentle 2s infinite',
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'float': 'float 6s ease-in-out infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
slideUp: {
'0%': { transform: 'translateY(20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
slideDown: {
'0%': { transform: 'translateY(-20px)', opacity: '0' },
'100%': { transform: 'translateY(0)', opacity: '1' },
},
scaleIn: {
'0%': { transform: 'scale(0.9)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
bounceGentle: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-10px)' },
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-20px)' },
},
glow: {
'0%': { boxShadow: '0 0 5px rgba(0, 122, 255, 0.5)' },
'100%': { boxShadow: '0 0 20px rgba(0, 122, 255, 0.8)' },
},
},
backdropBlur: {
'xs': '2px',
},
},
},
plugins: [],
}