-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
74 lines (74 loc) · 1.76 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
screens: {
sm: { min: "280px", max: "819px" },
md: { min: "820px", max: "1079px" },
lg: { min: "1080px" },
xl: { min: "1280px", max: "1600px" },
},
extend: {
keyframes: {
bubble: {
"0%": {
top: '27%',
scale: '1',
transform: "translateX(10px)",
opacity: "1",
},
"25%": {
transform: "translateX(-8px)",
},
"50%": {
transform: "translateX(8px)",
},
"75%": {
transform: "translateX(-8px)",
},
"100%": {
top: '5%',
scale: '0.5',
transform: "translateX(8px)",
opacity: "0"
},
},
pop: {
'0%': {
opacity: '0',
},
'50%': {
opacity: '0.7',
},
'100%': {
opacity: '0',
},
},
melt: {
'0%': {
transform: 'translateY(0)'
},
'50%': {
transform: 'translateY(16.5%)'
},
'100%': {
transform: 'translateY(0)'
}
}
},
colors: {
// 색상 옆에 어디 component에 쓰일 지 적어놓기 -> 통일된 디자인
"main-orange": "#ff6b00", //
"sub-orange": "#fca311", //
"main-yellow": "#ffc300", //
"sub-yellow": "#ffd60a", //
},
animation: {
bubble: "bubble 1s ease-in-out infinite",
melt: "melt 1.5s ease-in-out infinite",
pop: "pop 1s ease-in-out 0.5s infinite",
},
},
},
plugins: [],
};