-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.ts
104 lines (102 loc) · 3.4 KB
/
tailwind.config.ts
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
// FILEPATH: /Users/gabrielhubner/Desktop/Coding/Second-hand Projects/pots_n_pans/tailwind.config.ts
import { type Config } from "tailwindcss";
const config: Config = {
content: ["./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
fontFamily: {
indie: ["Indie Flower", "Merriweather Sans", "sans"],
},
animation: {
jump: "jump 0.3s",
falling: "falling 20s linear infinite",
falling1: "falling1 34s linear infinite",
falling2: "falling2 42s linear infinite",
falling3: "falling3 32s linear infinite",
wiggle: "wiggle 1s ease-in-out infinite",
},
keyframes: {
jump: {
"0%": { transform: "translateY(0)" },
"50%": { transform: "translateY(-10px)" },
"100%": { transform: "translateY(0)" },
},
falling: {
"0%": {
transform: "translateY(20px) rotate(0deg)",
opacity: "0",
top: "-10%",
},
"10%": { opacity: "1" },
"20%": { transform: "translateY(-375px) rotate(45deg)" },
"40%": { transform: "translateY(-375px) rotate(90deg)" },
"60%": { transform: "translateY(375px) rotate(180deg)" },
"80%": { transform: "translateY(-375px) rotate(180deg)" },
"100%": {
transform: "translateY(-450px) rotate(225deg)",
top: "110%",
},
},
falling1: {
"0%": {
transform: "translateY(20px) rotate(0deg)",
opacity: "0",
top: "-10%",
},
"10%": { opacity: "1" },
"20%": { transform: "translateY(-375px) rotate(45deg)" },
"40%": { transform: "translateY(-375px) rotate(90deg)" },
"60%": { transform: "translateY(375px) rotate(180deg)" },
"80%": { transform: "translateY(-375px) rotate(180deg)" },
"100%": {
transform: "translateY(-450px) rotate(225deg)",
top: "110%",
},
},
falling2: {
"0%": {
transform: "translateY(20px) rotate(0deg)",
opacity: "0",
top: "-10%",
},
"10%": { opacity: "1" },
"20%": { transform: "translateY(-375px) rotate(45deg)" },
"40%": { transform: "translateY(-375px) rotate(90deg)" },
"60%": { transform: "translateY(375px) rotate(180deg)" },
"80%": { transform: "translateY(-375px) rotate(180deg)" },
"100%": {
transform: "translateY(-450px) rotate(225deg)",
top: "110%",
},
},
falling3: {
"0%": {
transform: "translateY(20px) rotate(0deg)",
opacity: "0",
top: "-10%",
},
"10%": { opacity: "1" },
"20%": { transform: "translateY(-375px) rotate(45deg)" },
"40%": { transform: "translateY(-375px) rotate(90deg)" },
"60%": { transform: "translateY(375px) rotate(180deg)" },
"80%": { transform: "translateY(-37px) rotate(180deg)" },
"100%": {
transform: "translateY(-450px) rotate(225deg)",
top: "110%",
},
},
wiggle: {
"0%, 100%": { transform: "rotate(-3deg)" },
"50%": { transform: "rotate(3deg)" },
},
},
},
variants: {
extend: {
animation: ["hover"],
},
},
plugins: [],
},
};
export default config;