-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
39 lines (39 loc) · 1.19 KB
/
tailwind.config.js
File metadata and controls
39 lines (39 loc) · 1.19 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
animation: {
'fade-in-up': 'fadeInUp 0.6s ease-out both',
'shake': 'shake 0.4s ease-in-out',
'float': 'float 4s ease-in-out infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
},
keyframes: {
fadeInUp: {
'0%': { opacity: '0', transform: 'translateY(20px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
shake: {
'0%, 100%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-5px)' },
'50%': { transform: 'translateX(5px)' },
'75%': { transform: 'translateX(-5px)' },
},
float: {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-8px)' },
},
glow: {
'0%': { boxShadow: '0 0 15px -8px rgba(66, 153, 225, 0.4)' },
'100%': { boxShadow: '0 0 15px -8px rgba(49, 130, 206, 0.6)' },
},
},
},
},
plugins: [],
}