-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
68 lines (68 loc) · 2.5 KB
/
tailwind.config.ts
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/**/*.{html,js,tsx,ts,jsx}"],
theme: {
extend: {
spacing: {
'128': '32rem',
},
fontFamily: {
'computer': [ '"Roboto Mono"', 'monospace' ],
'dialogue': [ '"Darumadrop One"', 'handwriting' ]
},
animation: {
'dialogue_letter_in': 'dialogue_letter_in 0.1s ease-in-out 1 forwards',
'product_on': 'product_on 1s ease-in-out 1 forwards',
'product_off': 'product_off 1s ease-in-out 1 forwards',
'conveyor_move': 'conveyor_move 1s ease-in-out 1 forwards',
'screen_activate': 'screen_activate 0.1s ease-in-out 1 forwards',
'time_flash': 'time_flash 0.5s ease-in-out 1 forwards',
'scene_in': 'scene_in 0.5s ease-in-out 1 forwards',
'scene_out': 'scene_out 0.5s ease-in-out 1 forwards',
'clipboard_in': 'clipboard_in 2.5s cubic-bezier(.11,.74,.41,1.06) 1 forwards',
},
keyframes: {
'dialogue_letter_in': {
'0%': { transform: 'scale(0)', opacity: 0 },
'100%': { transform: 'scale(1)', opacity: 1 },
},
'product_on': {
'0%': { transform: 'translateX(calc(-50% - 80vw))' },
'100%': { transform: 'translateX(-50%)' },
},
'product_off': {
'0%': { transform: 'translateX(-50%)' },
'100%': { transform: 'translateX(calc(-50% + 80vw))' },
},
'conveyor_move': {
'0%': { transform: 'translateX(-80vw)' },
'100%': { transform: 'translateX(0)' },
},
'screen_activate': {
'0%': { transform: 'scaleX(0.5) scaleY(0)', opacity: 0, filter: 'blur(4px)' },
'30%': { transform: 'scaleX(0.55) scaleY(0.85)', opacity: 0.3, filter: 'blur(2px)' },
'100%': { transform: 'scaleX(1) scaleY(1)', opacity: 1, filter: 'none' }
},
'time_flash': {
'0%': { opacity: 0, transform: 'scale(20)' },
'50%': { opacity: 1, transform: 'scale(15)' },
'100%': { opacity: 0, transform: 'scale(10)' },
},
'scene_in': {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
'scene_out': {
'0%': { opacity: 1 },
'100%': { opacity: 0 },
},
'clipboard_in': {
'0%': { opacity: 0, transform: 'translateY(512px)' },
'70%': { opacity: 0, transform: 'translateY(512px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
}
}
},
},
plugins: [],
}