forked from sprint6-part4-team3/WouldYouWithMe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
137 lines (127 loc) · 4.36 KB
/
tailwind.config.ts
File metadata and controls
137 lines (127 loc) · 4.36 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
/* eslint-disable @typescript-eslint/no-var-requires */
import type { Config } from "tailwindcss";
const pxToRem = require("tailwindcss-preset-px-to-rem");
const config: Config = {
presets: [pxToRem],
darkMode: "selector",
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
screens: {
sm: { max: "480px" },
md: "481px",
lg: "769px",
xl: "1280px",
},
extend: {
keyframes: {
fadeIn: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
fadeOut: {
"0%": { opacity: "1" },
"100%": { opacity: "0" },
},
},
animation: {
fadeIn: "fadeIn 0.3s ease-in-out",
fadeOut: "fadeOut 0.3s ease-in-out",
},
colors: {
brand: {
primary: "#22b8cf",
secondary: "#66d9e8",
tertiary: "#A3E635",
},
point: {
purple: "#A855F7",
blue: "#3B82F6",
green: "#10B981", // cyan 대신 green 으로 변경
pink: "#EC4899",
rose: "#F43F5E",
orange: "#F97316",
yellow: "#EAB308",
},
background: {
primary: "#0F172A",
secondary: "#1E293B",
tertiary: "#334155",
inverse: "#FFF",
},
interaction: {
inactive: "#94A3B8",
hover: "#1EA2B5",
pressed: "#198CA0",
focus: "#22b8cf",
},
border: {
primary: "#F8FAFC80",
secondary: "#F8FAFC10",
},
text: {
primary: "#F8FAFC",
secondary: "#CBD5E1",
tertiary: "#E2E8F0",
default: "#64748B",
inverse: "#FFFFFF",
disabled: "#94A3B8",
danger: "#ef4444",
},
status: {
danger: "#DC2626",
},
},
backgroundImage: {
"brand-gradient": "linear-gradient(to right, #22b8cf, #A3E635)",
},
},
fontSize: {
// landing
"40-600": ["40px", { lineHeight: "38px", fontWeight: "600" }],
"48-600": ["48px", { lineHeight: "38px", fontWeight: "600" }],
"64-600": ["64px", { lineHeight: "38px", fontWeight: "600" }],
// 3xl (32px)
"32-700": ["32px", { lineHeight: "38px", fontWeight: "700" }],
"32-600": ["32px", { lineHeight: "38px", fontWeight: "600" }],
"32-500": ["32px", { lineHeight: "38px", fontWeight: "500" }],
// 2xl (24px)
"24-700": ["24px", { lineHeight: "28px", fontWeight: "700" }],
"24-600": ["24px", { lineHeight: "28px", fontWeight: "600" }],
"24-500": ["24px", { lineHeight: "28px", fontWeight: "500" }],
"24-400": ["24px", { lineHeight: "28px", fontWeight: "400" }],
// xl (20px)
"20-700": ["20px", { lineHeight: "24px", fontWeight: "700" }],
"20-600": ["20px", { lineHeight: "24px", fontWeight: "600" }],
"20-500": ["20px", { lineHeight: "24px", fontWeight: "500" }],
"20-400": ["20px", { lineHeight: "24px", fontWeight: "400" }],
// 2lg (18px)
"18-700": ["18px", { lineHeight: "21px", fontWeight: "700" }],
"18-600": ["18px", { lineHeight: "21px", fontWeight: "600" }],
"18-500": ["18px", { lineHeight: "21px", fontWeight: "500" }],
"18-400": ["18px", { lineHeight: "21px", fontWeight: "400" }],
// lg (16px)
"16-700": ["16px", { lineHeight: "19px", fontWeight: "700" }],
"16-600": ["16px", { lineHeight: "19px", fontWeight: "600" }],
"16-500": ["16px", { lineHeight: "19px", fontWeight: "500" }],
"16-400": ["16px", { lineHeight: "19px", fontWeight: "400" }],
// md (14px)
"14-700": ["14px", { lineHeight: "17px", fontWeight: "700" }],
"14-600": ["14px", { lineHeight: "17px", fontWeight: "600" }],
"14-500": ["14px", { lineHeight: "17px", fontWeight: "500" }],
"14-400": ["14px", { lineHeight: "17px", fontWeight: "400" }],
// sm (13px)
"13-600": ["13px", { lineHeight: "16px", fontWeight: "600" }],
"13-500": ["13px", { lineHeight: "16px", fontWeight: "500" }],
// xs (12px)
"12-600": ["12px", { lineHeight: "14px", fontWeight: "600" }],
"12-500": ["12px", { lineHeight: "14px", fontWeight: "500" }],
"12-400": ["12px", { lineHeight: "14px", fontWeight: "400" }],
},
},
plugins: [],
};
export default config;