-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
46 lines (46 loc) · 1.39 KB
/
tailwind.config.js
File metadata and controls
46 lines (46 loc) · 1.39 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
// tailwind.config.js
export default {
darkMode: 'class', // THIS IS CRITICAL - enables dark mode with class strategy
content: [
"./index.html",
"./src/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
// Your existing animations
animation: {
'fade-in-down': 'fadeInDown 0.3s ease-out',
'flag': 'flagSlide 5s linear infinite',
'blob': 'blob 7s infinite',
'shake': 'shake 0.3s ease-in-out',
'fade-in': 'fadeIn 0.3s ease-in-out',
},
keyframes: {
fadeInDown: {
from: { opacity: '0', transform: 'translateY(-10px)' },
to: { opacity: '1', transform: 'translateY(0)' },
},
flagSlide: {
'0%': { backgroundPosition: '0% 0%' },
'100%': { backgroundPosition: '100% 0%' },
},
blob: {
'0%': { transform: 'translate(0px, 0px) scale(1)' },
'33%': { transform: 'translate(30px, -50px) scale(1.1)' },
'66%': { transform: 'translate(-20px, 20px) scale(0.9)' },
'100%': { transform: 'translate(0px, 0px) scale(1)' },
},
shake: {
'0%, 100%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-5px)' },
'75%': { transform: 'translateX(5px)' },
},
fadeIn: {
from: { opacity: '0' },
to: { opacity: '1' },
},
},
},
},
plugins: [],
}