-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
70 lines (70 loc) · 1.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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.html",
"./src/**/*.js",
"./src/**/*.jsx",
"./src/**/*.ts",
"./src/**/*.tsx",
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
lineClamp: {
3: "3",
},
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
slideInRight: {
"0%": { transform: "translateX(50px)", opacity: "0" },
"100%": { transform: "translateX(0)", opacity: "1" },
},
bounceSlow: {
"0%, 100%": {
transform: "translateY(-5%)",
animationTimingFunction: "cubic-bezier(0.8,0,1,1)",
},
"50%": {
transform: "none",
animationTimingFunction: "cubic-bezier(0,0,0.2,1)",
},
},
slideInFromBottom: {
"0%": { transform: "translateY(100%)", opacity: "0" },
"100%": { transform: "translateY(0)", opacity: "1" },
},
pulse: {
"0%, 100%": { transform: "scale(1)" },
"50%": { transform: "scale(1.05)" },
},
},
animation: {
"fade-in": "fadeIn 1s ease-out",
"slide-in-right": "slideInRight 0.5s ease-out",
"bounce-slow": "bounceSlow 3s infinite",
"slide-in-bottom": "slideInFromBottom 0.5s ease-out forwards",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
},
fontFamily: {
sans: [
"-apple-system", // Use -apple-system as the primary font
"BlinkMacSystemFont",
'"Segoe UI"',
"Roboto",
"Oxygen-Sans",
"Ubuntu",
"Cantarell",
'"Helvetica Neue"',
"sans-serif", // Generic sans-serif as a fallback
],
},
},
},
variants: {
extend: {},
},
plugins: [],
};