-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
54 lines (54 loc) · 1.47 KB
/
tailwind.config.js
File metadata and controls
54 lines (54 loc) · 1.47 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
// ... existing imports and config
module.exports = {
// ... other config
theme: {
extend: {
fontFamily: {
sans: ['var(--font-exo)', 'sans-serif'],
},
// Add smooth scrolling configuration
animation: {
'smooth-scroll': 'smooth-scroll 1s ease-in-out',
'spin-slow': 'spin 8s linear infinite',
'shimmer': 'shimmer 2s infinite',
'float': 'float 6s ease-in-out infinite',
'dash': 'dash 2s ease-out forwards',
'gradient-shift': 'gradient-shift 8s ease infinite',
},
keyframes: {
'smooth-scroll': {
'0%': { transform: 'translateY(0)' },
'100%': { transform: 'translateY(var(--scroll-y, 0))' },
},
'shimmer': {
'100%': { transform: 'translateX(100%)' },
},
'float': {
'0%, 100%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-20px)' },
},
'dash': {
'to': { strokeDashoffset: '0' },
},
'gradient-shift': {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
},
// ... other theme extensions
},
},
plugins: [
require('@tailwindcss/typography'),
// Add a plugin for smooth scrolling behavior
function({ addBase }) {
addBase({
'html': {
scrollBehavior: 'smooth',
},
});
},
// ... other plugins
],
// ... plugins, etc.
}