-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.mjs
More file actions
58 lines (58 loc) · 1.92 KB
/
Copy pathtailwind.config.mjs
File metadata and controls
58 lines (58 loc) · 1.92 KB
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
screens: {
xs: "380px", // Ultra-small phones
"2xs": "320px", // Very small phones (150px covered by fluid scaling)
},
fontSize: {
"2xs": "0.625rem", // 10px for very small text on mobile
},
keyframes: {
"glow-pulse": {
"0%, 100%": { boxShadow: "0 0 5px rgba(34, 197, 94, 0.3)" },
"50%": { boxShadow: "0 0 20px rgba(34, 197, 94, 0.6)" },
},
"float-up": {
"0%": { transform: "translateY(0)", opacity: "1" },
"100%": { transform: "translateY(-20px)", opacity: "0" },
},
"neon-flicker": {
"0%, 19%, 21%, 23%, 25%, 54%, 56%, 100%": {
textShadow: "0 0 10px rgba(34, 197, 94, 0.7), 0 0 20px rgba(34, 197, 94, 0.4)"
},
"20%, 24%, 55%": {
textShadow: "0 0 5px rgba(34, 197, 94, 0.3), 0 0 10px rgba(34, 197, 94, 0.2)"
},
},
"shimmer": {
"0%": { backgroundPosition: "-1000px 0" },
"100%": { backgroundPosition: "1000px 0" },
},
"orbit": {
"0%": { transform: "rotate(0deg) translateX(50px) rotate(0deg)" },
"100%": { transform: "rotate(360deg) translateX(50px) rotate(-360deg)" },
},
},
animation: {
"glow-pulse": "glow-pulse 2s ease-in-out infinite",
"float-up": "float-up 1s ease-out forwards",
"neon-flicker": "neon-flicker 1.5s infinite",
"shimmer": "shimmer 2s infinite",
"orbit": "orbit 20s linear infinite",
"spin-slow": "spin 3s linear infinite",
},
},
},
plugins: [],
};