forked from innei-template/vite-react-ssr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
49 lines (48 loc) · 1.03 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
module.exports = {
purge: ['./src/**/*.html', './src/**/*.vue', './src/**/*.tsx'],
darkMode: false, // or 'media' or 'class'
mode: 'jit',
important: true, // important in prod is must be
theme: {
extend: {
screens: {
'light-mode': { raw: '(prefers-color-scheme: light)' },
'dark-mode': { raw: '(prefers-color-scheme: dark)' },
phone: { raw: '(max-width: 768px)' },
desktop: { raw: '(min-width: 1024px)' },
tablet: { raw: '(max-width: 1023px)' },
},
zIndex: {
'-10': -10,
'-1': -1,
0: 0,
1: 1,
10: 10,
20: 20,
30: 30,
40: 40,
50: 50,
60: 60,
70: 70,
80: 80,
90: 90,
100: 100,
auto: 'auto',
},
colors: {
primary: {
default: '#18A058FF',
deep: '#0C7A43FF',
shallow: '#36AD6AFF',
},
gray$: {
default: '#ddd',
},
},
},
},
variants: {
extend: {},
},
plugins: [],
}