-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
149 lines (134 loc) · 4.47 KB
/
tailwind.config.ts
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
145
146
147
148
149
import type { Config } from 'tailwindcss';
export default {
darkMode: ['class'],
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/components/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
fontFamily: {
sans: ['Pretendard', 'sans-serif'],
},
fontSize: {
/* Header */
h1: ['48px', { lineHeight: '130%', fontWeight: '600' }],
h2: ['40px', { lineHeight: '130%', fontWeight: '600' }],
h3: ['32px', { lineHeight: '130%', fontWeight: '600' }],
/* Title */
t1: ['28px', { lineHeight: '130%', fontWeight: '600' }],
t2: ['24px', { lineHeight: '140%', fontWeight: '600' }],
t3: ['20px', { lineHeight: '150%', fontWeight: '600' }],
/* Subtitle */
s1: ['18px', { lineHeight: '145%', fontWeight: '600' }],
s2: ['16px', { lineHeight: '145%', fontWeight: '600' }],
s3: ['14px', { lineHeight: '150%', fontWeight: '600' }],
/* Body */
b1: ['18px', { lineHeight: '145%', fontWeight: '400' }],
b2: ['16px', { lineHeight: '145%', fontWeight: '400' }],
b3: ['14px', { lineHeight: '145%', fontWeight: '400' }],
/* Caption */
c1: ['13px', { lineHeight: '150%', fontWeight: '400' }],
c2: ['12px', { lineHeight: '150%', fontWeight: '500' }],
c3: ['11px', { lineHeight: '150%', fontWeight: '500' }],
/* Label */
l1: ['18px', { lineHeight: 'auto', fontWeight: '600' }],
l2: ['16px', { lineHeight: 'auto', fontWeight: '600' }],
l3: ['16px', { lineHeight: 'auto', fontWeight: '400' }],
l4: ['14px', { lineHeight: 'auto', fontWeight: '600' }],
l5: ['14px', { lineHeight: 'auto', fontWeight: '400' }],
l6: ['13px', { lineHeight: 'auto', fontWeight: '600' }],
},
colors: {
gray: {
0: '#FFFFFF',
50: '#E6EDF8',
100: '#D7E1EF',
200: '#A7B4C7',
300: '#7E8999',
400: '#5D6470',
500: '#3D424B',
600: '#2A2F38',
700: '#1F2127',
800: '#17191F',
900: '#0F1114',
1000: '#121212',
},
icon: {
red: '#E9838F',
accent: '#6B6BE1',
inverse: '#0F1114',
primary: '#D7E1EF',
secondary: '#A7B4C7',
tertiary: '#7E8999',
},
main: {
50: '#DFDFFA',
75: '#C2C2F3',
100: '#A9A9EE',
200: '#8484E6',
300: '#6B6BE1',
400: '#4B4B9E',
500: '#414189',
},
component: {
accent: {
primary: '#6B6BE1',
red: '#E9838F',
secondary: '#DFDFFA',
},
gray: {
inverse: '#FFFFFF',
primary: '#17191F',
secondary: '#1F2127',
tertiary: '#2A2F38',
},
},
background: {
primary: '#0F1114',
purple: 'rgba(65, 65, 137, 0.4)',
},
elevated: {
color: '#6B6BE133',
primary: '#121212E6',
secondary: '#12121299',
tertiary: '#1212124D',
},
line: {
accent: '#6B6BE1',
error: '#E9838F',
inverse: '#FFFFFF',
primary: '#1F2127',
secondary: '#3D424B',
tertiary: '#5D6470',
},
text: {
/* Accent */
primary: '#8484E6',
red: '#E9838F',
secondary: '#C2C2F3',
/* Gray */
alternative: '#7E8999',
disabled: '#5D6470',
inverse: '#0F1114',
neutral: '#A7B4C7',
normal: '#D7E1EF',
strong: '#E6EDF8',
},
kakaoBg: '#FEE500',
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
},
backgroundImage: {
hologram:
'conic-gradient(from 210deg at 50% 50%, #CCE4FF 0deg, #BBBBF1 50.06deg, #B8E2FB 85.94deg, #F2EFE8 134.97deg, #CCE4FF 172.05deg, #BBBBF1 224.67deg, #C7EDEB 259.36deg, #E7F5EB 298.82deg, #F2F0E7 328.72deg)',
blur: 'conic-gradient(from 210deg at 50% 50%, #CCE4FF 0deg, #C1A4E8 50.05925238132477deg, #B8E2FB 85.93856155872345deg, #F2EFE8 134.97360706329346deg, #CCE4FF 172.04889178276062deg, #BDAFE3 224.6718692779541deg, #C7EDEB 259.35521364212036deg, #E7F5EB 298.8224387168884deg, #F2F0E7 328.72185945510864deg))',
},
},
},
plugins: [],
} satisfies Config;