-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
83 lines (82 loc) · 2.27 KB
/
tailwind.config.js
File metadata and controls
83 lines (82 loc) · 2.27 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/** @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}',
],
darkMode: 'class',
theme: {
extend: {
animation: {
'fade-in': 'fadeIn 0.5s ease-out',
'slide-in': 'slideIn 0.6s ease-out',
'slide-up': 'slideUp 0.4s ease-out',
'slide-down': 'slideDown 0.3s ease-out',
'float': 'float 3s ease-in-out infinite',
'glow': 'glow 2s ease-in-out infinite alternate',
'bounce-subtle': 'bounceSubtle 2s infinite',
},
keyframes: {
fadeIn: {
'from': { opacity: '0' },
'to': { opacity: '1' }
},
slideIn: {
'from': {
opacity: '0',
transform: 'translateY(20px)'
},
'to': {
opacity: '1',
transform: 'translateY(0)'
}
},
slideUp: {
'from': {
opacity: '0',
transform: 'translateY(30px) scale(0.95)'
},
'to': {
opacity: '1',
transform: 'translateY(0) scale(1)'
}
},
slideDown: {
'from': {
opacity: '0',
maxHeight: '0'
},
'to': {
opacity: '1',
maxHeight: '500px'
}
},
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-10px)' }
},
glow: {
'from': { boxShadow: '0 0 20px rgba(59, 130, 246, 0.5)' },
'to': { boxShadow: '0 0 30px rgba(147, 51, 234, 0.8)' }
},
bounceSubtle: {
'0%, 100%': { transform: 'translateY(0%)' },
'50%': { transform: 'translateY(-5%)' }
}
},
fontFamily: {
sans: ['Inter', 'system-ui', 'sans-serif'],
mono: ['Fira Code', 'Monaco', 'Cascadia Code', 'Segoe UI Mono', 'monospace'],
},
backdropBlur: {
xs: '2px',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
},
},
plugins: [],
}