forked from LucianoNeo/pogo2d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
109 lines (105 loc) · 2.65 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/**/*.tsx',
'./src/**/*.jsx'
],
theme: {
screens: {
sm: '680px',
md: '768px',
lg: '976px',
xl: '1440px',
},
extend: {
backgroundImage:{
blur: 'url(/src/assets/blur.png)'
},
fontFamily: {
sans: 'Roboto, sans-serif',
},
colors: {
green: {
100: '#4cabad',
300: '#00B37E',
500: '#00875F',
700: '#015F43',
},
blue: {
500: '#81D8F7',
},
orange: {
500: '#FBA94C',
},
red: {
500: '#F75A68',
},
gray: {
100: '#E1E1E6',
200: '#C4C4CC',
300: '#8D8D99',
500: '#323238',
600: '#29292E',
700: '#121214',
900: '#09090A'
}
},
},
keyframes: {
walk: {
'0%': { left: '0' },
'100%': { left: '-256px' },
},
fadein: {
'0%': { opacity: '0' },
'100%': { opacity: '100'},
},
fadeinout: {
'0%': { opacity: '0' },
'50%': { opacity: '100'},
'90%': { opacity: '100'},
'100%': { opacity: '0'},
},
fadeinScale: {
'0%': { opacity: '0' ,transform: 'scale(1)'},
'100%': { opacity: '100', transform: 'scale(1.5)' },
},
shake: {
'0%': { bottom: '40px' },
'75%': { bottom: '50px' },
'100%': { bottom: '40px' },
},
screenShake: {
'0%': { transform: 'translateX(0)' },
'25%': { transform: 'translateX(-15px)' },
'50%': { transform: 'translateX(15px)' },
'75%': { transform: 'translateX(-15px)' },
'100%': { transform: 'translateX(0)' },
},
load: {
'0%': {width: '1%' },
'100%': {width: '90%' },
},
throw: {
'0%': { bottom: '30px', width: '80px' },
'50%': { bottom: '250px',transform: 'rotate(-45deg)' },
'60%': { bottom: '300px',transform: 'rotate(-45deg)' },
'50%': { bottom: '400px',transform: 'rotate(-45deg)' },
'75%': { bottom: '350px',width: '40px',transform: 'rotate(-50deg)' },
'100%': { bottom: '300px',width: '40px',transform: 'rotate(-10deg)' },
},
},
animation: {
'walking': 'walk 1s infinite steps(4)',
'fadein': 'fadein 2s ease-out',
'fadein-out': 'fadeinout 3s ease-out',
'fadeinscale': 'fadeinScale 2s ease-out',
'fadeinmenu': 'fadeinScale 500ms',
'pokeball-shake': 'shake 1s infinite ease-in-out',
'pokeball-throw': 'throw 2s infinite ease-out',
'loading': 'load 5s infinite ease-in-out ',
'screenShake': 'screenShake 200ms',
},
},
plugins: [],
}