forked from chec/sanity-template-commercejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
94 lines (89 loc) · 1.77 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
module.exports = {
corePlugins: {
preflight: false,
},
mode: 'jit',
purge: {
content: [
'./components/**/*.js',
'./lib/**/*.js',
'./pages/**/*.js',
'./tailwind.safelist.txt',
],
options: {
// Note: safelist is not utlized in JIT mode, use tailwind.safelist.txt instead
safelist: [
/^grid-cols-/,
/^xs:grid-cols-/,
/^sm:grid-cols-/,
/^md:grid-cols-/,
/^lg:grid-cols-/,
/^xl:grid-cols-/,
/^col-span-/,
/^xs:col-span-/,
/^sm:col-span-/,
/^md:col-span-/,
/^lg:col-span-/,
/^xl:col-span-/,
/^col-start-/,
/^xs:col-start-/,
/^sm:col-start-/,
/^md:col-start-/,
/^lg:col-start-/,
/^xl:col-start-/,
/^justify-self-/,
/^xs:justify-self-/,
/^sm:justify-self-/,
/^md:justify-self-/,
/^lg:justify-self-/,
/^xl:justify-self-/,
/^self-/,
/^xs:self-/,
/^sm:self-/,
/^md:self-/,
/^lg:self-/,
/^xl:self-/,
/^max-w-/,
/^text-/,
],
},
},
darkMode: false,
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000000',
white: '#FFFFFF',
pageBG: 'var(--pageBG)',
pageText: 'var(--pageText)',
},
screens: {
xs: '480px',
sm: '768px',
md: '940px',
lg: '1200px',
xl: '1600px',
},
extend: {
fontFamily: {
inherit: 'inherit',
},
fontSize: {
xxs: '.625rem',
},
zIndex: {
'-1': '-10',
50: 50,
60: 60,
70: 70,
80: 80,
90: 90,
},
},
},
variants: {
extend: {},
},
plugins: [],
}