-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
36 lines (35 loc) · 981 Bytes
/
tailwind.config.js
File metadata and controls
36 lines (35 loc) · 981 Bytes
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{html,js,ts,jsx,tsx}'],
theme: {
extend: {
colors: {
background: '#FDFCF8', // 米白色
foreground: '#2C2C24', // 深壤土
moss: {
DEFAULT: '#5D7052', // 苔藓绿
light: '#F3F4F1',
},
clay: {
DEFAULT: '#C18C5D', // 赤陶土
},
sand: '#E6DCCD', // 沙色
stone: '#F0EBE5', // 石头色
wood: '#DED8CF', // 原木色
},
borderRadius: {
'organic-sm': '16px',
'organic-md': '24px',
'organic-lg': '32px',
},
boxShadow: {
'organic-moss': '0 4px 20px -2px rgba(93, 112, 82, 0.15)',
'organic-clay': '0 10px 40px -10px rgba(193, 140, 93, 0.2)',
}
},
},
plugins: [],
corePlugins: {
preflight: false, // 小程序环境需要禁用 preflight
}
}