-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
77 lines (74 loc) · 3.22 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
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
keyframes: {
wave: {
'0%': { transform: 'rotate(0.0deg)' },
'10%': { transform: 'rotate(20deg)' },
'20%': { transform: 'rotate(-10deg)' },
'30%': { transform: 'rotate(20deg)' },
'40%': { transform: 'rotate(-10deg)' },
'50%': { transform: 'rotate(10.0deg)' },
'60%': { transform: 'rotate(0.0deg)' },
'100%': { transform: 'rotate(0.0deg)' },
},
"jump-spin": {
'0%': { transform: 'translateY(0em)' },
'10%': { transform: 'rotateY(0deg)' },
'40%': { transform: 'translateY(-0.5em) rotateY(150deg)' },
'50%': { transform: 'translateY(-0.6em) rotateY(180deg)' },
'60%': { transform: 'translateY(-0.5em) rotateY(210deg)' },
'90%': { transform: 'rotateY(360deg)' },
'100%': { transform: 'translateY(0em) rotateY(360deg)' },
},
"jump-roll": {
'0%': { transform: 'translateY(0em)' },
'10%': { transform: 'rotateZ(0deg)' },
'40%': { transform: 'translateY(-0.5em) rotateZ(150deg)' },
'50%': { transform: 'translateY(-0.6em) rotateZ(180deg)' },
'60%': { transform: 'translateY(-0.5em) rotateZ(210deg)' },
'90%': { transform: 'rotateZ(360deg)' },
'100%': { transform: 'translateY(0em) rotateZ(360deg)' },
},
"spin-out-in": {
'0%': { transform: 'rotateY(0deg)', opacity: 1 },
'40%': { transform: 'rotateY(90deg)', opacity: 0 },
'60%': { transform: 'rotateY(90deg)', opacity: 0 },
'100%': { transform: 'rotateY(0deg)', opacity: 1 },
},
"spin-in": {
'0%': { transform: 'rotateY(90deg)', opacity: 0 },
'100%': { transform: 'rotateY(0deg)', opacity: 1 },
},
},
animation: {
'spin-slow': 'spin 2s linear infinite',
'waving': 'wave 2s linear infinite',
'jump-spin': 'jump-spin 1s linear infinite',
'jump-roll': 'jump-roll 1s linear infinite',
'spin-out-in': 'spin-out-in 1.5s linear',
'spin-in': 'spin-out-in 600ms linear',
},
colors: {
pastel: {
"cream": "#fcf5c7",
"pink1": "#fdc5f5",
"pink2": "#f7aef8",
"purple": "#b388eb",
"blue": "#8093f1",
"lightblue": "#72ddf7",
"green": "#7bf1a8",
"red": "#f08080",
"grey": "#cddcdf",
"yellow": "#fdf2b0",
},
}
},
},
plugins: [],
}