-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtailwind.config.js
More file actions
54 lines (53 loc) · 1.22 KB
/
tailwind.config.js
File metadata and controls
54 lines (53 loc) · 1.22 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
/** @type {import('tailwindcss').Config} */
import typography from '@tailwindcss/typography';
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
// 极简主义风格的中性色调
neutral: {
50: '#fafafa',
100: '#f5f5f5',
200: '#e5e5e5',
300: '#d4d4d4',
400: '#a3a3a3',
500: '#737373',
600: '#525252',
700: '#404040',
800: '#262626',
900: '#171717',
950: '#0a0a0a',
},
// 保留一些基础色调用于强调
accent: {
50: '#f5f5f5',
100: '#e6e6e6',
200: '#cccccc',
300: '#b3b3b3',
400: '#999999',
500: '#808080',
600: '#666666',
700: '#4d4d4d',
800: '#333333',
900: '#1a1a1a',
950: '#0d0d0d',
},
},
spacing: {
'18': '4.5rem',
'22': '5.5rem',
},
borderWidth: {
'0.5': '0.5px',
},
boxShadow: {
'subtle': '0 1px 3px rgba(0,0,0,0.05)',
'minimal': '0 1px 2px rgba(0,0,0,0.03)',
},
},
},
plugins: [
typography,
],
};