-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
40 lines (40 loc) · 1.26 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: ["class"],
content: [
'./pages/**/*.{js,jsx}',
'./components/**/*.{js,jsx}',
'./app/**/*.{js,jsx}',
'./src/**/*.{js,jsx}',
],
theme: {
extend: {
borderColor: {
border: 'hsl(var(--border))',
},
keyframes: {
rain: {
'0%': { transform: 'translateY(0) scale(1)', opacity: 0 },
'50%': { transform: 'translateY(10px) scale(1)', opacity: 1 },
'100%': { transform: 'translateY(20px) scale(0.5)', opacity: 0 }
},
snow: {
'0%': { transform: 'translateY(0) translateX(0) rotate(0deg) scale(1)', opacity: 0 },
'50%': { transform: 'translateY(10px) translateX(5px) rotate(180deg) scale(1)', opacity: 1 },
'100%': { transform: 'translateY(20px) translateX(-5px) rotate(360deg) scale(0.5)', opacity: 0 }
},
lightning: {
'0%, 100%': { opacity: 0 },
'10%, 90%': { opacity: 0 },
'50%': { opacity: 1 }
}
},
animation: {
'rain': 'rain 1.5s linear infinite',
'snow': 'snow 3s linear infinite',
'lightning': 'lightning 2s ease-in-out infinite'
}
},
},
plugins: [require("tailwindcss-animate")],
}