-
Notifications
You must be signed in to change notification settings - Fork 7
/
tailwind.conf.js
41 lines (41 loc) · 1.14 KB
/
tailwind.conf.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
// tailwind.config.js
module.exports = {
important: true,
purge: false,
future: {
removeDeprecatedGapUtilities: true,
purgeLayersByDefault: true,
},
theme: {
customForms: (theme) => ({
default: {
input: {
borderRadius: theme("borderRadius.lg"),
backgroundColor: theme("colors.gray.200"),
"&:focus": {
backgroundColor: theme("colors.white"),
},
},
select: {
borderRadius: theme("borderRadius.lg"),
boxShadow: theme("boxShadow.default"),
},
checkbox: {
width: theme("spacing.6"),
height: theme("spacing.6"),
},
},
}),
},
variants: {
opacity: ["responsive", "hover"],
},
plugins: [
require("@tailwindcss/custom-forms"),
// function({ addBase, config }) {
// addBase({
// ".vue-form-generator": { fontSize: "14px" },
// });
// },
],
};