-
Notifications
You must be signed in to change notification settings - Fork 31
/
tailwind.config.js
42 lines (41 loc) · 999 Bytes
/
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
const { boxShadow } = require("tailwindcss/defaultTheme");
module.exports = {
purge: [
"./pages/*.tsx",
"./pages/**/*.tsx",
"./components/*.tsx",
"./components/**/*.tsx",
],
theme: {
extend: {
spacing: {
"2/3": "66.66666667%",
},
animation: {
enter: "enter 200ms ease-out",
},
keyframes: {
enter: {
"0%": { transform: "scale(0.9)", opacity: 0 },
"100%": { transform: "scale(1)", opacity: 1 },
},
},
},
container: {
padding: "1rem",
center: true,
},
boxShadow: {
...boxShadow,
xs: "0 2px 2px rgba(0,0,0,0.02)",
sm: "0 4px 4px rgba(0,0,0,0.02)",
},
},
variants: {
textColor: ["responsive", "hover", "focus", "group-hover"],
backgroundColor: ["responsive", "hover", "focus", "group-hover"],
translate: ["hover", "focus", "group-hover"],
opacity: ["hover", "group-hover"],
scale: ["hover", "group-hover"],
},
};