-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
96 lines (96 loc) · 2.67 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
boxShadow: {
innersmall: "inset 3px 3px 10px 5px blue",
},
keyframes: {
move: {
"0%": {
opacity: 1,
transform: " translate(-50%,calc(-50% + 40px)) scale(0.7)",
},
"100%": {
opacity: 1,
transform: "translate(-50%,-50%) scale(0.7) ",
},
},
expand: {
"0%": { transform: "translate(-50%, -50%) scale(0.7)" },
"100%": {
transform: "translate(-50%, calc(-50% - 25px)) scale(1)",
},
},
fadeIn: {
"0%": { opacity: 0, transform: "translateY(20px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
fadeOut: {
"0%": { opacity: 1, transform: "translateY(0)" },
"100%": { opacity: 0, transform: "translateY(20px)" },
},
moveAndExpand: {
"0%": {
transform: "translate(0, 20px) scale(0.7)",
},
"50%": {
transform: "translate(0, 0)",
animationTimingFunction: "cubic-bezier(0.42, 0, 1, 1)",
},
"100%": {
transform: "translate(100px, 0) scale(1.5)",
animationTimingFunction: "cubic-bezier(1, 0.19, 0.91, 0.46)",
},
},
},
transitionProperty: {
background: "background-color, background-image",
},
transitionDuration: {
2000: "1000ms",
},
animation: {
fadeIn: "fadeIn 0.3s ease-in-out",
fadeOut: "fadeOut 0.3s ease-in-out",
expand: "expand 1s cubic-bezier(1,0,.8,1.03) forwards",
move: "move 1s cubic-bezier(.01,.57,0,.99) forwards",
moveAndExpand: "moveAndExpand 1s forwards",
},
fontFamily: {
nanum: ["NanumMyeongjo"],
continuous: ["Continuous"],
},
fontSize: {
mini: "0.625rem",
caption: "0.75rem",
body2: "0.875rem",
body1: "1rem",
subheading: "1.125rem",
heading3: "1.375rem",
heading2: "1.75rem",
heading1: "2.375rem",
hero: "3.125rem",
},
colors: {
theme1: {
primary: "#F6F4EE",
invitation: "#E8EADB",
album: "#9E9C95",
pink: "#F5B9B1",
red: "#BE5B46",
},
black: "#191919",
darkGray: "#848484",
gray: "#C7C7C7",
lightGray: "#F9F9F9",
white: "#FFFFFF",
},
spacing: {
8.75: "35px", // 사용자 정의 스페이싱 추가
},
},
},
plugins: [],
};