-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
81 lines (78 loc) · 2.88 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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {},
keyframes: {
text: {
"0%, 100%": {
"background-size": "200% 200%",
"background-position": "left center",
},
"50%": {
"background-size": "200% 200%",
"background-position": "right center",
},
},
mainBlob: {
"0%, 100%": { transform: "translate(0px, 0px) scale(1)" },
"25%": { transform: "translate(50px, 55px) scale(1.01)" },
"50%": { transform: "translate(-25px, 20px) scale(1)" },
"75%": { transform: "translate(-5px, -5px) scale(0.98)" },
},
mainBlob2: {
"0%, 100%": { transform: "translate(0px, 0px) scale(1)" },
"25%": { transform: "translate(-50px, 0px) scale(1.01)" },
"50%": { transform: "translate(-30px, -50px) scale(1)" },
"75%": { transform: "translate(-15px, 20px) scale(0.98)" },
},
mainBlob3: {
"0%, 100%": { transform: "translate(0px, 0px) scale(1)" },
"25%": { transform: "translate(50px, 0px) scale(1.01)" },
"50%": { transform: "translate(-20px, 20px) scale(1)" },
"75%": { transform: "translate(-50px, -5px) scale(0.98)" },
},
heroBlob: {
"0%, 100%": {
"border-radius": "60% 40% 30% 70%/ 60% 30% 70% 40%",
},
"25%": { "border-radius": "45% 50% 50% 55%/ 55% 45% 50% 30%" },
"50%": { "border-radius": "30% 60% 70% 40%/ 50% 60% 30% 40%" },
"75%": { "border-radius": "45% 50% 50% 55%/ 55% 45% 50% 30%" },
},
wave: {
"0%": { transform: "rotate(0.0deg)" },
"15%": { transform: "rotate(14.0deg)" },
"30%": { transform: "rotate(-8.0deg)" },
"40%": { transform: "rotate(14.0deg)" },
"50%": { transform: "rotate(-4.0deg)" },
"60%": { transform: "rotate(10.0deg)" },
"70%": { transform: "rotate(0.0deg)" },
"100%": { transform: "rotate(0.0deg)" },
},
},
animation: {
text: "text 5s ease infinite",
mainBlob1: "mainBlob 12s ease infinite",
mainBlob2: "mainBlob2 8s ease alternate-reverse infinite",
mainBlob3: "mainBlob3 8s ease alternate infinite",
heroBlob: "heroBlob 20s linear alternate-reverse infinite",
handWave: "wave 1.5s infinte",
},
fontFamily: {
space: ["Space Mono", "monospace", "sans-serif"],
deca: ["Lexend Deca", "Inter", "sans-serif"],
app: ["Homemade Apple", "cursive"],
out: ["Outfit", "Inter", "sans-serif"],
},
},
},
plugins: [],
darkMode: "class",
};
export default config;