-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
76 lines (76 loc) · 1.71 KB
/
tailwind.config.cjs
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
module.exports = {
content: ["./src/**/*.{js,jsx}"],
darkMode: "class",
theme: {
extend: {
colors: {
light: "#F2F2F2",
dark: "#222",
primaryLight: "#D294FF",
primaryDark: "#7700CC",
secondary: "#3b3b3b",
},
borderWidth: {
1: "1px",
},
minWidth: {
45: "180px",
175: "700px",
},
height: {
vh: "100vh",
},
animation: {
"slide-in-left": "slide-in-left 0.3s",
"slide-in-right": "slide-in-right 0.3s",
"settings-rotate-left": "settings-rotate-left 0.3s",
"settings-rotate-right": "settings-rotate-right 0.3s",
},
keyframes: {
"slide-in-left": {
"0%": {
transform: "translateX(60px)",
opacity: "0",
},
"30%": {
opacity: "0",
},
"100%": {
transform: "translateX(0px)",
opacity: "1",
},
},
"slide-in-right": {
"0%": {
transform: "translateX(0px)",
opacity: "1",
},
"30%": {
opacity: "0",
},
"100%": {
transform: "translateX(60px)",
opacity: "0",
},
},
"settings-rotate-left": {
"0%": {
transform: "rotate(0deg)",
},
"100%": {
transform: "rotate(-45deg)",
},
},
"settings-rotate-right": {
"0%": {
transform: "rotate(0deg)",
},
"100%": {
transform: "rotate(45deg)",
},
},
},
},
},
plugins: [require("prettier-plugin-tailwindcss")],
};