-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
103 lines (100 loc) · 2.38 KB
/
Copy pathtailwind.config.ts
File metadata and controls
103 lines (100 loc) · 2.38 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
import type { Config } from "tailwindcss";
import plugin from "tailwindcss/plugin";
import type { PluginAPI } from "tailwindcss/types/config";
const config: Config = {
darkMode: ["class"],
content: ["./views/**/*.{ts,tsx}", "./shared/components/**/*.{ts,tsx}", "./app/**/*.{ts,tsx}"],
prefix: "",
theme: {
extend: {
colors: {
black: "#1B1B1B",
white: "#FFFFFF",
gray_01: "#EEEEEE",
gray_02: "#D8D8D8",
gray_03: "#B4B4B4",
gray_04: "#929292",
gray_05: "#696969",
gray_06: "#454545",
navy: "#1A3260",
sky: "#CFE5FF",
red: "#E12B55",
green: "#4DA764",
yellow: "#FFDE75",
kakaoLogo: "#381E1F",
kakaoBg: "#FCE84D",
naverBg: "#63C33D",
googleBg: "#D0533F",
},
fontFamily: {
Pretendard: ["Pretendard"],
},
keyframes: {
blink: {
"50%": { opacity: "0" },
},
},
animation: {
blink: "blink 1s step-end infinite",
},
},
},
plugins: [
require("tailwindcss-animate"),
plugin(function ({ addUtilities }: PluginAPI) {
addUtilities({
".title": {
fontSize: "48px",
lineHeight: "auto",
fontWeight: "bold",
},
".heading1": {
fontSize: "24px",
lineHeight: "29px",
fontWeight: "bold",
},
".heading2": {
fontSize: "20px",
lineHeight: "24px",
fontWeight: "bold",
},
".body1": {
fontSize: "16px",
lineHeight: "24px",
fontWeight: "600",
},
".body2": {
fontSize: "16px",
lineHeight: "24px",
fontWeight: "medium",
},
".body3": {
fontSize: "14px",
lineHeight: "22px",
fontWeight: "medium",
},
".caption": {
fontSize: "12px",
lineHeight: "14px",
fontWeight: "regular",
},
".placeholder": {
fontSize: "14px",
lineHeight: "22px",
fontWeight: "regular",
},
".button": {
fontSize: "16px",
lineHeight: "19px",
fontWeight: "600",
},
".popup": {
fontSize: "18px",
lineHeight: "21px",
fontWeight: "bold",
},
});
}),
],
};
export default config;