-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
88 lines (85 loc) · 1.97 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
77
78
79
80
81
82
83
84
85
86
87
88
/** @type {import('tailwindcss').Config} */
module.exports = {
mode: "jit",
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
my_cream: "#EADDC5",
my_main: "#F1A208",
my_hover_main: "#FFA900",
my_main_contrast: "#824600",
my_text_color: "#fffaff",
my_white_contrast: "#001233",
},
animation: {
comeUp: "comeUp 0.1s ease-in",
comeLeft: "comeLeft 0.1s ease-in",
comeRight: "comeRight 0.1s ease-in",
},
keyframes: {
comeUp: {
"0%": {
transform: "translateY(100%)",
},
"20%": {
transform: "translateY(80%)",
},
"40%": {
transform: "translateY(60%)",
},
"60%": {
transform: "translateY(40%)",
},
"80%": {
transform: "translateY(20%)",
},
"100%": {
transform: "translateY(0%)",
},
},
comeLeft: {
"0%": {
transform: "translateX(100%)",
},
"20%": {
transform: "translateX(80%)",
},
"40%": {
transform: "translateX(60%)",
},
"60%": {
transform: "translateX(40%)",
},
"80%": {
transform: "translateX(20%)",
},
"100%": {
transform: "translateX(0%)",
},
},
comeRight: {
"0%": {
transform: "translateX(-100%)",
},
"20%": {
transform: "translateX(-80%)",
},
"40%": {
transform: "translateX(-60%)",
},
"60%": {
transform: "translateX(-40%)",
},
"80%": {
transform: "translateX(-20%)",
},
"100%": {
transform: "translateX(-0%)",
},
},
},
},
},
plugins: [],
};