-
Notifications
You must be signed in to change notification settings - Fork 10
/
tailwind.config.js
76 lines (70 loc) · 1.69 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
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/**/*.{tsx,ts,js}", "./index.html"],
theme: {
screens: {
"2xl": { max: "1536px" },
// => @media (max-width: 1535px) { ... }
xl: { max: "1280px" },
// => @media (max-width: 1279px) { ... }
lg: { max: "1024px" },
// => @media (max-width: 1023px) { ... }
md: { max: "768px" },
// => @media (max-width: 767px) { ... }
sm: { max: "640px" },
// => @media (max-width: 639px) { ... }
},
colors: {
mg: "#212121",
fg: "rgb(245,245,245)",
dg: "grey",
secondary: "rgb(254, 221, 39)",
black: "black",
white: "white",
mask: "rgba(0,0,0,0.4)",
},
extend: {
maxWidth: {},
keyframes: {
"spin-bounce": {
"0%, 100%": {
transform: "scale(0)",
},
"50%": {
transform: "scale(1)",
},
},
"placeholder-bounce": {
"0%": {
opacity: 0.6,
},
"50%": {
opacity: 1,
},
"100%": {
opacity: 0.6,
},
},
"lds-ring": {
"0%": {
transform: "rotate(0deg)",
},
"100%": {
transform: " rotate(360deg)",
},
},
},
animation: {
"spin-loading": "spin-bounce 2s infinite ease-in-out",
"placeholder-loading": "placeholder-bounce 1.5s infinite",
"ring-spin-loading":
"lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite",
},
transitionProperty: {
width: "width",
spacing: "margin, padding",
opacity: "opacity",
},
},
},
plugins: [],
}