-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
81 lines (76 loc) · 2.56 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
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{tsx,ts,js,jsx}"],
darkMode: "class",
theme: {
extend: {
typography: (theme) => ({
DEFAULT: {
css: {
maxWidth: "100%",
},
},
}),
keyframes: {
ring: {
"0%": { rotate: "5deg" },
"50%": { rotate: "-5deg" },
"100%": { rotate: "5deg" },
},
},
animation: {
ring: "ring 0.3s ease infinite",
},
fontFamily: {
default: ["pretendard Variable"],
point: ["Elice Digital Baeum"],
},
fontSize: {
zero: "0px",
xs: ["12px", { lineHeight: "18px", fontWeight: "200" }],
sm: ["14px", { lineHeight: "22px", fontWeight: "300" }],
md: ["16px", { lineHeight: "24px", fontWeight: "400" }],
lg: ["20px", { lineHeight: "30px", fontWeight: "500" }],
xl: ["24px", { lineHeight: "36px", fontWeight: "600" }],
"2xl": ["32px", { lineHeight: "48px", fontWeight: "700" }],
"3xl": ["48px", { lineHeight: "64px", fontWeight: "800" }],
},
colors: {
primary: {
DEFAULT: "#092232",
second: "#FABC75",
"second-dark": "#FF941A",
background: "#4a3f39",
"background-second": "#796661",
},
background: {
DEFAULT: "#f5f5f7",
},
literal: {
normal: "#282c31",
error: "#ff5656",
star: "#ffd250",
highlight: "#e11d48",
info: "#1e1b4b",
confirm: "#747bff",
},
gray: {
100: "#eeeeee",
150: "#dedede",
200: "#cecece",
300: "#bfbfbf",
400: "#b0b0b0",
600: "#989898",
},
slate: {
100: "#f1f5f9",
200: "#e2e8f0",
300: "#cbd5e1",
400: "#94a3b8",
600: "#475569",
},
},
},
},
plugins: [require("@tailwindcss/typography")],
};