-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
125 lines (125 loc) · 2.65 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
module.exports = {
corePlugins: {
preflight: true,
container: true,
appearance: false,
backgroundAttachment: false,
backgroundColor: true,
backgroundPosition: false,
backgroundRepeat: false,
backgroundSize: false,
borderCollapse: false,
borderColor: true,
borderRadius: false,
borderStyle: false,
borderWidth: true,
cursor: true,
display: true,
flexDirection: true,
flexWrap: true,
alignItems: true,
alignSelf: false,
justifyContent: true,
alignContent: false,
flex: true,
flexGrow: true,
flexShrink: false,
float: true,
fontFamily: false,
height: true,
lineHeight: true,
listStylePosition: false,
listStyleType: false,
maxHeight: false,
maxWidth: true,
minHeight: false,
minWidth: true,
negativeMargin: false,
objectFit: false,
objectPosition: false,
order: true,
opacity: true,
outline: true,
overflow: true,
placeholderColor: false,
pointerEvents: false,
position: true,
inset: true,
resize: false,
boxShadow: false,
fill: false,
stroke: false,
tableLayout: false,
textAlign: true,
textColor: true,
fontStyle: true,
textTransform: true,
textDecoration: true,
fontSmoothing: false,
letterSpacing: false,
userSelect: true,
verticalAlign: false,
visibility: false,
whitespace: true,
wordBreak: true,
width: true,
zIndex: true,
},
theme: {
// Some useful comment
extend: {
colors: {
error: "var(--bt-error-color, red)",
link: "var(--bt-link-color, #00A1DE)",
lightgray: "lightgray",
},
},
},
variants: {
// Some useful comment
backgroundColor: ["hover"],
borderColor: [],
borderWidth: ["responsive"],
container: [],
cursor: [],
display: ["responsive"],
fontSize: [],
fontWeight: [],
flexGrow: [],
flexWrap: [],
float: [],
fontStyle: [],
height: [],
inset: [],
lineHeight: [],
margin: ["responsive"],
maxWidth: ["responsive"],
minWidth: [],
padding: ["responsive"],
placeholderColor: [],
order: ["responsive"],
overflow: [],
opacity: [],
position: [],
textColor: [],
textAlign: ["responsive"],
textTransform: [],
textDecoration: ["hover"],
userSelect: [],
whitespace: [],
width: ["responsive"],
wordBreak: [],
zIndex: [],
},
plugins: [
// Some useful comment
],
purge: {
content: ["./src/**/*.js", "./src/components/**/*.js"],
options: {
safelist: {
standard: [/^w.*12$/], // whitelist w-1/12, w-2/12, ...
},
},
},
};