tailwind.config.js
1.13 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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./index.html",
"./src/**/*.{vue,js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
// 品牌主色
'brand-primary': '#3b82f6',
'brand-primary-hover': '#2563eb',
'brand-primary-light': '#dbeafe',
// 功能色
'success': '#10b981',
'warning': '#f59e0b',
'error': '#d4183d',
'info': '#3b82f6',
// 中性色
'neutral-50': '#f9fafb',
'neutral-100': '#f3f4f6',
'neutral-200': '#e5e7eb',
'neutral-300': '#e5e7eb',
'neutral-400': '#d1d5db',
'neutral-500': '#9ca3af',
'neutral-600': '#6b7280',
'neutral-700': '#4b5563',
'neutral-800': '#374151',
'neutral-900': '#1f2937',
},
borderRadius: {
lg: '10px',
md: '8px',
sm: '6px',
xl: '14px',
},
fontFamily: {
sans: ['DIN', '"Source Han Sans CN"', '-apple-system', 'BlinkMacSystemFont', '"Segoe UI"', 'system-ui', 'sans-serif'],
mono: ['DIN', 'monospace'],
},
},
},
plugins: [],
}