-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
46 lines (46 loc) · 1.28 KB
/
tailwind.config.js
File metadata and controls
46 lines (46 loc) · 1.28 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{html,js,jsx}"],
darkMode: 'class',
theme: {
extend: {
scrollbar: {
width: '8px',
thumb: {
background: '#888',
borderRadius: '10px',
},
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
},
keyframes: {
coinSpin: {
'0%': { backgroundPosition: '0% 0%' },
'100%': { backgroundPosition: '100% 0%' },
},
waveScroll: {
'0%': { backgroundPosition: '0 0' },
'100%': { backgroundPosition: '-160px 0' },
},
swim: {
'0%': { transform: 'translateX(-100%)' },
'100%': { transform: 'translateX(100vw)' },
},
castLine: {
'0%': { backgroundPosition: '0 0' },
'100%': { backgroundPosition: '-288px 0' }
}
},
animation: {
coinSpin: 'coinSpin 0.7s steps(7) infinite',
sunSpin: 'coinSpin 2s steps(5) infinite',
waveScroll: 'waveScroll 2s linear infinite',
swim: 'swim 10s linear infinite',
fishSwim: 'coinSpin 1s steps(7) infinite',
castLine: 'castLine 3s steps(3) infinite'
},
},
},
plugins: [],
}