-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
73 lines (73 loc) · 1.87 KB
/
tailwind.config.js
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
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
theme: {
extend: {
colors: {
"purple-200": "#DAC7FC",
"purple-300": "#CAACFF",
"purple-500": "#6B49CD",
"pink-500": "#AD26FF",
},
fontSize: {
13: "13px",
14: "14px",
15: "15px",
16: "16px",
17: "17px",
18: "18px",
19: "19px",
20: "20px",
21: "21px",
22: "22px",
},
animation: {
fadeIn: 'fadeIn 0.3s ease',
fadeIn1s: 'fadeIn 1s ease',
fadeOut: 'fadeOut 0.3s ease',
},
backgroundImage: {
gradient: 'var(--gradient)',
'gradient-r': 'var(--gradient-r)',
'gradient-half': 'var(--gradient-half)',
},
backgroundColor: (theme) => ({
...theme('colors'),
bg: 'var(--color-bg)',
'bg-menu': 'var(--color-bg-menu)',
'transparent-w-10': 'var(--color-transparent-w-10)',
'transparent-w-20': 'var(--color-transparent-w-20)',
'transparent-w-30': 'var(--color-transparent-w-30)',
'transparent-b-50': 'var(--color-transparent-b-50)',
'transparent-b-60': 'var(--color-transparent-b-60)',
'transparent-b-70': 'var(--color-transparent-b-70)',
'transparent-b-80': 'var(--color-transparent-b-80)',
'bg-200': 'var(--color-bg-200)',
'bg-300': 'var(--color-bg-300)',
'bg-400': 'var(--color-bg-400)',
}),
colors: {
primary: 'var(--color-primary)',
'primary-20': 'var(--color-primary-20)',
secondary: 'var(--color-secondary)',
clear: 'var(--color-clear)',
'transparent-w-10': 'var(--color-transparent-w-10)',
'transparent-w-20': 'var(--color-transparent-w-20)',
'transparent-w-30': 'var(--color-transparent-w-30)',
},
flexGrow: {
2: 2,
3: 3,
},
inset: {
'1/10': '10%',
'1/5': '20%',
'2/5': '40%',
'3/5': '60%',
'4/5': '80%',
},
},
},
plugins: [],
}