-
Notifications
You must be signed in to change notification settings - Fork 24
/
tailwind.config.js
53 lines (52 loc) · 1.28 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
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = {
theme: {
extend: {
fontFamily: {
sans: ["Inter var", ...defaultTheme.fontFamily.sans],
},
minWidth: {
md: "28rem",
},
width: {
md: "28rem",
},
},
customForms: (theme) => ({
default: {
input: {
borderColor: theme("colors.cool-gray.300"),
"&::placeholder": {
color: theme("colors.cool-gray.500"),
opacity: "1",
},
},
textarea: {
borderColor: theme("colors.cool-gray.300"),
"&::placeholder": {
color: theme("colors.cool-gray.500"),
opacity: "1",
},
},
multiselect: {
borderColor: theme("colors.cool-gray.300"),
},
select: {
borderColor: theme("colors.cool-gray.300"),
iconColor: theme("colors.cool-gray.500"),
},
checkbox: {
borderColor: theme("colors.cool-gray.300"),
},
radio: {
borderColor: theme("colors.cool-gray.300"),
},
},
}),
},
variants: {
display: ["responsive", "group-hover"],
visibility: ["responsive", "group-hover"],
},
plugins: [require("@tailwindcss/ui")],
};