-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtailwind.config.js
156 lines (147 loc) · 5.1 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
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
150
151
152
153
154
155
156
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
keyframes: {
dropdown: {
'0%': { opacity: '0', transform: 'scale(0.9)' },
'100%': { opacity: '1', transform: 'scale(1)' },
},
scaleUp: {
'0%': { transform: 'scale(0)' },
'100%': { transform: 'scale(1)' },
},
},
animation: {
dropdown: 'dropdown .1s ease',
scaleUp: 'scaleUp .2s ease-in-out',
fadeIn: 'fadeIn .3s ease-in-out',
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
colors: {
DEFAULT: '#1B1D1F',
primary: {
300: '#08995C',
200: '#0ABE7D',
100: '#CFF4D2',
50: '#F5FFF6',
30: '#0ABE7D4D',
},
yellow: {
100: '#FFD232',
30: '#FFD2324D',
},
purple: {
100: '#A45EFF',
30: '#A45EFF4D',
},
red: {
200: '#FF3257',
100: '#FF5C5C',
30: '#FF5C5C4D',
},
blue: {
100: '#3257FF',
30: '#3257FF4D',
},
grey: {
800: '#1B1D1F',
700: '#26282B',
600: '#474C51',
500: '#74787D',
400: '#A0A4A8',
300: '#CBCDD2',
200: '#E9EBED',
120: '#F1f3f5',
100: '#F7F8F9',
},
white: '#FFFFFF',
icon: {
kakao: '#FFE812',
naver: '#57B04B',
google: '#FFFFFF',
},
},
borderColor: {
DEFAULT: '#E9EBED',
primary: {
300: '#08995C',
200: '#0ABE7D',
100: '#CFF4D2',
50: '#F5FFF6',
},
},
boxShadow: {
chatCard: '0px 0px 20px 0px #00000014',
dropdown: '0px 0px 14px 0px #07D5801A',
searchTab:
'0 1px 2px rgba(60,64,67,0.3), 0 2px 6px 2px rgba(60,64,67,0.15)',
searchBar:
'0 1px 2px rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15)',
},
screens: {
'2xs': '430px',
xs: '584px',
sm: '640px',
// => @media (min-width: 640px) { ... }
md: '768px',
// => @media (min-width: 768px) { ... }
tablet: '1000px',
// => @media (min-width: 1000px) { ... }
lg: '1024px',
// => @media (min-width: 1024px) { ... }
desktop: '1240px',
// => @media (min-width: 1280px) { ... }
xl: '1280px',
// => @media (min-width: 1280px) { ... }
'2xl': '1536px',
// => @media (min-width: 1536px) { ... }
},
fontSize: {
h1PC: ['32px', { lineHeight: '40px', fontWeight: 'bold' }],
h1TAB: ['30px', { lineHeight: '38px', fontWeight: 'bold' }],
h1MOB: ['25px', { lineHeight: '33px', fontWeight: 'bold' }],
h2PC: ['26px', { lineHeight: '34px', fontWeight: 'bold' }],
h2TAB: ['24px', { lineHeight: '32px', fontWeight: 'bold' }],
h2MOB: ['21px', { lineHeight: '29px', fontWeight: 'bold' }],
h3PC: ['22px', { lineHeight: '30px', fontWeight: 'bold' }],
h3TAB: ['20px', { lineHeight: '28px', fontWeight: 'bold' }],
h3MOB: ['17px', { lineHeight: '25px', fontWeight: 'bold' }],
h4PC: ['18px', { lineHeight: '26px', fontWeight: 'bold' }],
h4TAB: ['16px', { lineHeight: '32px', fontWeight: 'bold' }],
h4MOB: ['14px', { lineHeight: '22px', fontWeight: 'bold' }],
b1PC: ['18px', { lineHeight: '26px', fontWeight: 'normal' }],
b1TAB: ['16px', { lineHeight: '32px', fontWeight: 'normal' }],
b1MOB: ['14px', { lineHeight: '22px', fontWeight: 'normal' }],
b2PC: ['16px', { lineHeight: '24px', fontWeight: 'bold' }],
b2TAB: ['15px', { lineHeight: '23px', fontWeight: 'bold' }],
b2MOB: ['13px', { lineHeight: '21px', fontWeight: 'bold' }],
b3PC: ['16px', { lineHeight: '24px', fontWeight: 'medium' }],
b3TAB: ['15px', { lineHeight: '23px', fontWeight: 'medium' }],
b3MOB: ['13px', { lineHeight: '21px', fontWeight: 'medium' }],
b4PC: ['16px', { lineHeight: '24px', fontWeight: 'normal' }],
b4TAB: ['15px', { lineHeight: '23px', fontWeight: 'normal' }],
b4MOB: ['13px', { lineHeight: '21px', fontWeight: 'normal' }],
cap1PC: ['14px', { lineHeight: '22px', fontWeight: 'bold' }],
cap1TAB: ['13px', { lineHeight: '21px', fontWeight: 'bold' }],
cap1MOB: ['11px', { lineHeight: '19px', fontWeight: 'bold' }],
cap2PC: ['14px', { lineHeight: '22px', fontWeight: 'normal' }],
cap2TAB: ['13px', { lineHeight: '21px', fontWeight: 'normal' }],
cap2MOB: ['11px', { lineHeight: '19px', fontWeight: 'normal' }],
},
transitionProperty: {
width: 'width',
},
},
},
plugins: [require('tailwind-scrollbar-hide'), require('@tailwindcss/forms')],
};