-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
58 lines (58 loc) · 1.81 KB
/
tailwind.config.cjs
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
keyframes: {
swing: {
'15%': { transform: 'translateX(5px)' },
'30%': { transform: 'translateX(-5px)' },
'50%': { transform: 'translateX(3px)' },
'80%': { transform: 'translateX(2px)' },
'100%': { transform: 'translateX(0)' },
},
grow: {
'0%': { transform: 'scaleY(0.3)' },
'50%': { transform: 'scaleY(1)' },
'100%': { transform: 'scaleY(0.3)' },
},
wobble: {
'0%': { transform: 'translateX(0rem)' },
'50%': { transform: 'translateX(2rem)' },
'100%': { transform: 'translateX(0rem)' },
},
jump: {
'0%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-1.25rem)' },
'100%': { transform: 'translateY(0)' },
},
pulse2: {
'0%': { transform: 'scale(0)' },
'50%': { transform: 'scale(1.5)' },
'100%': { transform: 'scale(0)' },
},
pulsar: {
'0%': { transform: 'scale(0)', opacity: '1' },
'50%': { transform: 'scale(1)', opacity: '0.25' },
'100%': { transform: 'scale(0)', opacity: '1' },
},
ping2: {
'0%': { transform: 'scale(0)', opacity: '1' },
'100%': { transform: 'scale(1)', opacity: '0' },
},
waving: {
to: { 'backgroud-position': '80px 50%, 150px 50%' },
},
shimmer: {
from: { backgroundPosition: '200% 0' },
to: { backgroundPosition: '-200% 0' },
},
},
animation: {
swing: 'swing 1s ease 1',
},
},
},
plugins: [require('@headlessui/tailwindcss')],
};