-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
131 lines (131 loc) · 3.88 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
],
darkMode: "class",
theme: {
fontFamily: {
sans: ["Spoqa Han Sans Neo", "sans-serif"],
},
extend: {
screens: {
tlg: { max: "1024px" },
tmd: { max: "768px" },
tsm: { max: "640px" },
txs: { max: "480px" },
},
colors: {
"theme-naver": "#03C75A",
"theme-kakao": "#FFE812",
h: {
0: "#006AE2",
1: "#1B73E7",
e: "#E9F0FE",
f: "#F9FAFD",
r: "#F03A39",
"r-h": "#FF5252",
},
l: {
2: "#202124",
5: "#5F6368",
9: "#97989C",
b: "#BDC1C6",
d: "#D2D4DC",
e: "#E9EAEE",
f: "#F2F1F6",
},
f: {
1: "#17181B",
8: "#8AB4F8",
9: "#9FBCF2",
},
d: {
2: "#202124",
3: "#2E3134",
4: "#3C4043",
6: "#646568",
9: "#97989C",
c: "#CDCED2",
},
},
animation: {
"zoom-in": "zoom-in 0.2s 1 both",
"zoom-in-fontbox": "zoom-in-fontbox 0.2s 1 both",
"fade-in": "fade-in 0.2s 1 both",
"fade-in-fontbox": "fade-in-fontbox 0.4s 1 both",
"fade-in-from-top": "fade-in-from-top 0.2s 1 both",
"fade-in-account": "fade-in-fontbox 0.2s 1 both",
"fade-in-time-out": "fade-in-time-out 1s 1 both",
"skeleton-anim": "skeleton-anim 2s infinite",
pulse: "pulse 3s linear infinite",
"hover-delay": "zoom-in-fontbox 0.2s 0.4s 1 both ",
},
backgroundImage: {
gradient: "linear-gradient(90deg, #F9FAFD, #D4E1FD, #F9FAFD)",
"gradient-dark": "linear-gradient(90deg, #2E3134, #3C4043, #2E3134)",
},
backgroundSize: {
"gradient-size": "200% 100%",
},
keyframes: {
"zoom-in": {
"0%": { opacity: "0", transform: "scale(0.5)" },
"100%": { opacity: "1", transform: "scale(1)" },
},
"zoom-in-fontbox": {
"0%": { opacity: "0", transform: "translateX(-50%) scale(0.5)" },
"100%": { opacity: "1", transform: "translateX(-50%) scale(1)" },
},
"fade-in": {
"0%": {
opacity: "0",
transform: "translateX(-50%) translateY(12px)",
},
"100%": { opacity: "1", transform: "translateX(-50%) translateY(0)" },
},
"fade-in-fontbox": {
"0%": { opacity: "0", transform: "translateY(12px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
"fade-in-from-top": {
"0%": { opacity: "0", transform: "translateY(-12px)" },
"100%": { opacity: "1", transform: "translateY(0)" },
},
"fade-in-time-out": {
"0%": { opacity: "1" },
"90%": { opacity: "1" },
"100%": { opacity: "0" },
},
"skeleton-anim": {
"0%": { backgroundPosition: "200% center" },
"100%": { backgroundPosition: "0% center" },
},
pulse: {
"0%": {
boxShadow:
"0 0 0 0 rgba(240, 58, 57, 0.7), 0 0 0 0 rgba(240, 58, 57, 0.7)",
},
"40%": {
boxShadow:
"0 0 0 0.1875rem rgba(240, 58, 57, 0.0), 0 0 0 0 rgba(240, 58, 57, 0.7)",
},
"80%": {
boxShadow:
"0 0 0 0.1875rem rgba(240, 58, 57, 0.0), 0 0 0 0.1125rem rgba(240, 58, 57, 0)",
},
"100%": {
boxShadow:
"0 0 0 0 rgba(240, 58, 57, 0.0), 0 0 0 0.1125rem rgba(240, 58, 57, 0)",
},
},
},
dropShadow: {
default: "1px 2px 4px #97989C",
dark: "1px 2px 4px #101010",
none: "0 0 0 transparent",
},
},
},
};