-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
73 lines (73 loc) · 1.65 KB
/
Copy pathtailwind.config.js
File metadata and controls
73 lines (73 loc) · 1.65 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
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
content: [
'./index.html',
'./*.{tsx,ts,jsx,js}',
'./components/**/*.{tsx,ts,jsx,js}',
],
theme: {
extend: {
colors: {
indigo: {
50: '#EEF2FF',
100: '#E0E7FF',
200: '#C7D2FE',
300: '#A5B4FC',
400: '#818CF8',
500: '#6366F1',
600: '#4F46E5',
700: '#4338CA',
800: '#3730A3',
900: '#312E81',
950: '#1E1B4B',
},
zinc: {
50: '#FAFAFA',
100: '#F4F4F5',
200: '#E4E4E7',
300: '#D4D4D8',
400: '#A1A1AA',
500: '#71717A',
600: '#52525B',
700: '#3F3F46',
800: '#27272A',
900: '#18181B',
950: '#09090B',
},
/* Origami Fox: Rose 替代 Red 作为错误色 */
rose: {
50: '#FFF1F2',
100: '#FFE4E6',
200: '#FECDD3',
300: '#FDA4AF',
400: '#FB7185',
500: '#F43F5E',
600: '#E11D48',
700: '#BE123C',
800: '#9F1239',
900: '#881337',
950: '#4C0519',
},
},
borderRadius: {
/* Origami Fox: 将 lg/xl/2xl/3xl 全部映射为 4px */
sm: '4px',
DEFAULT: '4px',
md: '4px',
lg: '4px',
xl: '4px',
'2xl': '4px',
'3xl': '4px',
},
transitionTimingFunction: {
'fox': 'cubic-bezier(0.16, 1, 0.3, 1)',
},
transitionDuration: {
'fast': '150ms',
'medium': '250ms',
},
},
},
plugins: [],
};