-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
61 lines (61 loc) · 1.62 KB
/
Copy pathtailwind.config.js
File metadata and controls
61 lines (61 loc) · 1.62 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
// Apple Blue - 主色调
'apple-blue': '#007AFF',
'apple-blue-dark': '#0051D5',
// Apple 灰度系统
'apple-gray': {
50: '#F9FAFB',
100: '#F3F4F6',
200: '#E5E7EB',
300: '#D1D5DB',
400: '#9CA3AF',
500: '#6B7280',
600: '#4B5563',
700: '#374151',
800: '#1F2937',
900: '#111827',
},
},
fontFamily: {
// San Francisco 字体回退系统
sans: ['-apple-system', 'BlinkMacSystemFont', 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Arial', 'sans-serif'],
},
backdropBlur: {
'apple': '20px',
},
boxShadow: {
'apple': '0 4px 24px rgba(0, 0, 0, 0.06)',
'apple-lg': '0 8px 48px rgba(0, 0, 0, 0.08)',
'paper': '0 10px 60px rgba(0, 0, 0, 0.12)',
},
borderRadius: {
'apple': '12px',
'apple-lg': '16px',
'apple-xl': '20px',
},
animation: {
'scale-in': 'scale-in 0.2s ease-out',
'fade-in': 'fade-in 0.3s ease-out',
},
keyframes: {
'scale-in': {
'0%': { transform: 'scale(0.95)', opacity: '0' },
'100%': { transform: 'scale(1)', opacity: '1' },
},
'fade-in': {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
},
},
},
},
plugins: [],
}