-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
57 lines (57 loc) · 1.3 KB
/
Copy pathtailwind.config.js
File metadata and controls
57 lines (57 loc) · 1.3 KB
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
/** @type {import('tailwindcss').Config} */
import colors from "./src/data/mocks/colors.data";
import fontSize from "./src/data/mocks/font_size.data";
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors,
fontSize,
animation: {
toast: "appear 0.3s forwards, disappear 0.3s 2.5s forwards",
ripple: "ripple 0.6s linear forwards",
},
keyframes: {
appear: {
"0%": {
maxHeight: "0",
opacity: "0",
right: "-100%",
},
"100%": {
maxHeight: "160px",
opacity: "1",
right: "20px",
},
},
disappear: {
"0%": {
maxHeight: "160px",
opacity: "1",
right: "20px",
},
"100%": {
maxHeight: "0",
opacity: "0",
right: "-100%",
},
},
ripple: {
"0%": {
transform: "translate(-50%, -50%) scale(0)",
opacity: "1",
},
"100%": {
transform: "translate(-50%, -50%) scale(2)",
opacity: "0",
},
},
},
},
container: {
padding: "24px",
center: true,
},
},
plugins: [],
};