forked from ecklf/react-hooks-mobx-state-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
47 lines (46 loc) · 1.05 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
const { boxShadow } = require("tailwindcss/defaultTheme");
module.exports = {
theme: {
fontFamily: {
display: [
"Inter",
"-apple-system",
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
'"Helvetica Neue"',
"Arial",
'"Noto Sans"',
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"'
]
},
customForms: theme => ({
default: {
input: {
backgroundColor: theme("colors.gray.900"),
"&::placeholder": {
color: theme("colors.gray.500"),
opacity: "1"
},
"&:focus": {
outline: "none",
boxShadow: theme("boxShadow.none"),
borderColor: theme("colors.orange.500")
}
}
}
}),
extend: {
boxShadow: {
...boxShadow,
outline: "0 0 0 3px rgba(239, 121, 48, 0.5)"
}
}
},
variants: {},
plugins: [require("@tailwindcss/custom-forms")]
};