-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
42 lines (42 loc) · 1.21 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
mode: 'jit',
theme: {
extend: {
animation: {
type: 'type 2.7s ease-out .8s infinite alternate both',
tilt: 'tilt 10s infinite linear',
},
keyframes: {
type: {
'0%': { transform: 'translateX(0ch)' },
'5%, 10%': { transform: 'translateX(1ch)' },
'15%, 20%': { transform: 'translateX(2ch)' },
'25%, 30%': { transform: 'translateX(3ch)' },
'35%, 40%': { transform: 'translateX(4ch)' },
'45%, 50%': { transform: 'translateX(5ch)' },
'55%, 60%': { transform: 'translateX(6ch)' },
'65%, 70%': { transform: 'translateX(7ch)' },
'75%, 80%': { transform: 'translateX(8ch)' },
'85%, 90%': { transform: 'translateX(9ch)' },
'95%, 100%': { transform: 'translateX(11ch)' },
},
tilt: {
'0%, 50%, 100%': {
transform: 'rotate(0deg)',
},
'25%': {
transform: 'rotate(0.5deg)',
},
'75%': {
transform: 'rotate(-0.5deg)',
},
},
},
},
},
plugins: [],
}