This repository has been archived by the owner on Dec 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
68 lines (68 loc) · 1.64 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
mode: 'jit',
plugins: [],
theme: {
extend: {
animation: {
circleShow: 'circle 0.3s cubic-bezier(0.85, 0, 0.15, 1) 0.3s forwards',
comment01Show: 'comment01 0.8s cubic-bezier(0.85, 0, 0.15, 1) 0.9s forwards',
peopleShow: 'people 0.3s ease-in 0.6s forwards',
textShow: 'up 0.3s cubic-bezier(0.85, 0, 0.15, 1) 0.9s forwards',
},
keyframes: {
circle: {
'0%': {
height: 0,
width: 0,
},
'100%': {
border: '2px solid #333',
height: '30px',
transform: 'translate(50%, 50%)',
width: '130px',
},
},
comment01: {
'0%': {
opacity: 0,
transform: 'scale(0.5) translateX(-15%)',
},
'100%': {
opacity: 1,
transform: 'scale(1) translateX(-15%)',
},
},
people: {
'0%': {
opacity: 0,
transform: 'translateY(20px)',
},
'100%': {
opacity: 1,
transform: 'translateY(0)',
},
},
slide: {
'0%': {
transform: 'translateX(-100%)',
},
'100%': {
transform: 'translateX(0)',
},
},
up: {
'0%': {
opacity: 0,
transform: 'translateY(10px)',
},
'100%': {
opacity: 1,
transform: 'translateY(0)',
},
},
},
},
},
}