-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
79 lines (77 loc) · 2.53 KB
/
tailwind.config.js
File metadata and controls
79 lines (77 loc) · 2.53 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
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
keyframes: {
float: {
'0%, 100%': { transform: 'translateY(0px)' },
'50%': { transform: 'translateY(-12px)' },
},
superGlow: {
'0%, 100%': { opacity: '0.6', transform: 'scale(1)' },
'50%': { opacity: '1', transform: 'scale(1.15)' },
},
glowFast: {
'0%, 100%': { opacity: '0.6', transform: 'scale(1)' },
'50%': { opacity: '1', transform: 'scale(1.15)' },
},
pulseGlow: {
'0%, 100%': { opacity: '0.9', transform: 'scale(1)' },
'50%': { opacity: '1', transform: 'scale(1.1)' },
},
shine: {
'0%': { backgroundPosition: '0% 50%' },
'100%': { backgroundPosition: '100% 50%' },
},
'metal-shine': {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100%)' },
},
spin: {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(360deg)' },
},
gradient: {
'0%, 100%': { backgroundPosition: '0% 50%' },
'50%': { backgroundPosition: '100% 50%' },
},
infiniteScroll: {
'0%': { transform: 'translateX(0)' },
'100%': { transform: 'translateX(-50%)' },
},
scroll: {
"0%": { transform: "translateX(0)" },
"100%": { transform: "translateX(-50%)" },
},
marquee: {
"0%": { transform: "translateX(0%)" },
"100%": { transform: "translateX(-50%)" }, // Shift half since duplicated
},
},
perspective: {
1000: '1000px',
},
transformStyle: {
'preserve-3d': 'preserve-3d',
},
animation: {
float: 'float 4s ease-in-out infinite',
'super-glow': 'superGlow 3s ease-in-out infinite',
'glow-fast': 'glowFast 2s ease-in-out infinite',
'pulse-glow': 'pulseGlow 1.5s ease-in-out infinite',
'shine' : 'shine 2.5s linear infinite',
'metal-shine': 'metal-shine 2s infinite linear',
'spin': 'spin 15s linear infinite',
'background': 'gradient 15s ease infinite',
'infinite-scroll': 'infiniteScroll 25s linear infinite',
'scroll': 'scroll 20s linear infinite',
'marquee': 'marquee 30s linear infinite',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/aspect-ratio'),
[require('tailwind-scrollbar-hide')],
],
};