-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
111 lines (111 loc) · 1.95 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
module.exports = {
purge: {
content: [
`components/**/*.{vue,js}`,
`layouts/**/*.vue`,
`pages/**/*.vue`,
`plugins/**/*.{js,ts}`,
`nuxt.config.{js,ts}`,
],
},
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
zIndex: {
0: 0,
1: 1,
2: 2,
3: 3,
10: 10,
20: 20,
30: 30,
40: 40,
50: 50,
25: 25,
50: 50,
75: 75,
100: 100,
auto: 'auto',
},
colors: {
primary: {
extraLight: '#dcfce7',
lighter1: '#6EE7B7',
default: '#10B981',
},
white: '#FFF',
black: '#1F2937',
error: '#b71c1c',
},
borderWidth: {
DEFAULT: '1px',
0: '0',
2: '2px',
3: '3px',
4: '4px',
6: '6px',
8: '8px',
},
fontSize: {
btn: '2rem',
xs: '.75rem',
sm: '.875rem',
tiny: '.875rem',
base: '1.6rem',
md: '2.4rem',
lg: '3rem',
xl: '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
},
screens: {
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1440px',
'2xl': '1536px',
},
spacing: {
px: '1px',
0: '0',
0.5: '0.50rem',
1: '1rem',
1.5: '1.5rem',
2: '2rem',
2.5: '2.5rem',
3: '3rem',
3.5: '3.5rem',
4: '4rem',
5: '5rem',
6: '6rem',
7: '7rem',
8: '8rem',
9: '9rem',
10: '10rem',
11: '11rem',
12: '12rem',
14: '14rem',
16: '16rem',
20: '20rem',
24: '24rem',
28: '28rem',
32: '32rem',
36: '36rem',
37: '37rem',
40: '40rem',
44: '44rem',
48: '48rem',
},
},
variants: {
extend: {
opacity: ['group-hover'],
scale: ['group-hover'],
},
},
// plugins: [require('@tailwindcss/forms')],
}