-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
57 lines (56 loc) · 1.7 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx,mdx}",
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
// Or if using `src` directory:
"./src/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
screens: {
standalone: { raw: "(display-mode:standalone)" },
},
keyframes: {
animateSpin: {
"0%": { transform: "rotate(0)" },
"100%": { transform: "rotate(360)" },
},
growHeight: {
"0%": { maxHeight: "0px" },
"100%": { maxHeight: "400px" }, // Adjust this value as needed
},
shrink: {
"0%": { transform: "scale(1)" },
"100%": { transform: "scale(0)" },
},
grow: {
"0%": { transform: "scale(0)" },
"100%": { transform: "scale(1)" },
},
fadeOut: {
"0%": { opacity: 1 },
"100%": { opacity: 0 },
},
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: {
shrink: "shrink 0.1s forwards",
grow: "grow 0.1s forwards",
fadeOut: "fadeOut 0.1s forwards",
wave: "wave 1.5s infinite",
growHeight: "growHeight 2s ease-in-out forwards", // 2s duration, ease-in-out timing function
},
},
},
};