-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
95 lines (90 loc) · 3.38 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
boxShadow: {
'intense-black': '0 0 5px 5px black',
'intense-white': '0 0 5px 5px white',
'intense-gray': '0 0 5px 5px gray',
'intense-red': '0 0 5px 5px red',
'intense-green': '0 0 5px 5px green',
'intense-blue': '0 0 5px 5px blue',
'intense-yellow': '0 0 5px 5px yellow',
'mild-black': '0 0 2px 2px black',
'mild-white': '0 0 2px 2px white',
'mild-gray': '0 0 2px 2px gray',
'mild-red': '0 0 2px 2px red',
'mild-green': '0 0 2px 2px green',
'mild-blue': '0 0 2px 2px blue',
'mild-yellow': '0 0 2px 2px yellow',
},
keyframes: {
floatUpAndFadeOut: {
'0%': {
transform: 'translateY(0)',
opacity: 1,
pointerEvents: 'none',
},
'50%': {
transform: 'translateY(-15px)',
opacity: 0,
},
'80%': { transform: 'translateY(-20px)', opacity: 0 },
'100%': {
transform: 'translateY(-20px)',
opacity: 0,
pointerEvents: 'none',
},
},
entityAnimate: {
'0%': { transform: 'translate3d(0,0,0)' },
'100%': { transform: 'translate3d(-100%,0,0)' },
},
entityAnimateLeft: {
'0%': { transform: 'translate3d(-100%,0,0) scaleX(-1)' },
'100%': { transform: 'translate3d(0,0,0) scaleX(-1)' },
},
floatUpAndDown: {
'0%': { transform: 'translateY(0)' },
'50%': { transform: 'translateY(-3px)' },
'100%': { transform: 'translateY(0)' },
},
borderPulse: {
'0%': {
borderColor: 'rgba(255, 255, 255, 0.5)',
boxShadow: '0 0 5px 2px rgba(255, 255, 255, 0.5)',
},
'50%': {
borderColor: 'rgba(255, 255, 255, 1)',
boxShadow: '0 0 5px 2px rgba(255, 255, 255, 1)',
},
'100%': {
borderColor: 'rgba(255, 255, 255, 0.5)',
boxShadow: '0 0 5px 2px rgba(255, 255, 255, 0.5)',
},
},
},
animation: {
floatUpAndFadeOut15: 'floatUpAndFadeOut 1.5s linear',
floatUpAndFadeOut20: 'floatUpAndFadeOut 2s linear',
floatUpAndFadeOut25: 'floatUpAndFadeOut 2.5s linear',
entityAnimate05: 'entityAnimate 0.5s steps(6) infinite',
entityAnimateOnce05: 'entityAnimate 0.5s steps(6) forwards',
entityAnimate08: 'entityAnimate 0.8s steps(6) infinite',
entityAnimateOnce08: 'entityAnimate 0.8s steps(6) forwards',
entityAnimate10: 'entityAnimate 1s steps(6) infinite',
entityAnimate20: 'entityAnimate 2s steps(6) infinite',
entityAnimateLeft05: 'entityAnimateLeft 0.5s steps(6) infinite',
entityAnimateLeftOnce05: 'entityAnimateLeft 0.5s steps(6) forwards',
entityAnimateLeft08: 'entityAnimateLeft 0.8s steps(6) infinite',
entityAnimateLeftOnce08: 'entityAnimateLeft 0.8s steps(6) forwards',
entityAnimateLeft10: 'entityAnimateLeft 1s steps(6) infinite',
entityAnimateLeft20: 'entityAnimateLeft 2s steps(6) infinite',
floatUpAndDown: 'floatUpAndDown 1s linear infinite',
borderPulse: 'borderPulse 1s linear infinite',
},
},
},
plugins: [],
};