-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
144 lines (118 loc) · 3.43 KB
/
tailwind.config.ts
File metadata and controls
144 lines (118 loc) · 3.43 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
144
import type { Config } from "tailwindcss";
import scrollbarHide from "tailwind-scrollbar-hide";
import animated from "tailwindcss-animated";
const config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
white_100: "#FFFFFF",
black_500: "#000000",
transparent_10: "#23232310",
transparent_30: "#23232330",
transparent_50: "#23232350",
transparent_90: "#23232390",
example_gray_100: "#F5F5F5",
example_gray_300: "#E6E6E6",
example_gray_500: "#D3D3D3",
example_gray_700: "#D9D9D9",
example_gray_800: "#7f7f7f",
example_gray_900: "#B6B6B6",
example_gray_1000: "#a8a8a8",
example_gray_1100: "#9c9c9c",
example_gray_1200: "#8e8e8e",
background: "#FFFFFF",
placeholder_100: "#DDDDE3",
text_primary: "",
text_secondary: "",
// 임시 컬러
example_green_100: "#00C73C",
example_yellow_400: "#FEE500",
example_yellow_500: "#FFD400",
example_red_500: "#ED4044",
red_500: "#ED4044",
example_orange_500: "#FFA500",
// 메인 컬러
main: "#1363DE",
sub: "#e7f0fe",
// 서브 컬러
sub_1: "#f8f8f8",
sub_2: "#efefef",
sub_3: "#1363DE",
sub_gray_100: "#FCFCFC",
sub_gray_200: "#E1E1E1",
},
borderRadius: {
radius5: "0.5rem",
radius10: "1rem",
radius15: "1.5rem",
circle: "9999rem",
},
fontSize: {
size10: "1rem",
size11: "1.1rem",
size12: "1.2rem",
size13: "1.3rem",
size14: "1.4rem",
size15: "1.5rem",
size16: "1.6rem",
size17: "1.7rem",
size18: "1.8rem",
size20: "2rem",
},
fontWeight: {
thin: "300",
regular: "400",
medium: "500",
semiBold: "600",
bold: "700",
},
boxShadow: {
/* TODO
추후 디자인 고려하여 값 추가
*/
shadow_100: "0 0.8rem 2.4rem rgba(149, 157, 165, 0.2)",
shadow_300: "",
shadow_500: "0.3rem 0.3rem 2rem 0 rgba(0, 0, 0, 0.06)",
shadow_700: "0 0.4rem 0.4rem 0 rgba(0, 0, 0, 0.25)",
shadow_900: "",
example_shadow: "0 0 1rem 0.1rem rgba(0,0,0,0.15)",
},
screens: {
example_min: { min: "900px" },
example_max: { max: "900px" },
color_sheet_450: { max: "450px" },
color_sheet_420: { max: "420px" },
color_sheet_350: { max: "350px" },
},
zIndex: {
// 각 컴포넌트별 z index => 0 ~ 100
timeline_dashed: "22",
timeline_line: "23",
timeline_icon: "24",
header: "300",
headerLink: "400",
modal: "500",
bottom_sheet: "500",
toast: "600",
spinner: "800",
background: "900",
background_content: "999",
monthly_goal_overlay: "40",
monthly_goal_textarea: "50",
},
gridTemplateColumns: {
color8: "repeat(8, minmax(50px, 1fr))",
color6: "repeat(6, minmax(50px, 1fr))",
color5: "repeat(5, minmax(50px, 1fr))",
color4: "repeat(4, minmax(50px, 1fr))",
},
},
},
plugins: [animated, scrollbarHide],
} satisfies Config;
export default config;