-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
57 lines (56 loc) · 1.68 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
import type { Config } from 'tailwindcss';
const config: Config = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./utils/**/*.{js,ts,jsx,tsx,mdx}',
],
mode: 'jit',
theme: {
extend: {
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
},
fontFamily: {
Pretendard: ['Pretendard'],
},
transitionDuration: {
'2000': '2000ms',
},
},
},
// 커스텀 스타일 추가
plugins: [
({ addUtilities }: any) => {
addUtilities({
'.layout-container': {
'@apply max-w-[1440px] px-4 mx-auto w-full': '',
},
'.hid': {
'@apply absolute left-[-9999px] top-[-9999px] leading-[0] w-0 h-0 overflow-hidden': '',
},
'.paginationButton': {
'@apply flex-center w-[34px] h-[34px] rounded-full border border-[#b1b1b1]': '',
},
'.flex-center': {
'@apply flex items-center justify-center': '',
},
'.weather-introduce-card': {
'@apply w-1/3 bg-white rounded-2xl text-center py-3 px-10 break-keep': '',
},
'.introduce-bg': {
'@apply p-14 rounded-2xl bg-slate-100 max-lg:p-8 max-md:p-6': '',
},
'.introduce-title': {
'@apply text-center text-xl font-bold mb-8 max-lg:mb-6 max-md:text-lg': '',
},
'.link-button': {
'@apply flex-center bg-slate-900 text-white hover:bg-slate-600': '',
},
});
},
],
};
export default config;