forked from GlobalNomad-FE/FE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
93 lines (84 loc) · 3.03 KB
/
tailwind.config.ts
File metadata and controls
93 lines (84 loc) · 3.03 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
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}',
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-pretendard)', 'sans-serif'],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
'gradient-conic':
'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
'custom-gradient':
'linear-gradient(90deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.40) 100%)',
'custom-gradient2':
'linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0%, rgba(0, 0, 0, 0) 100%)',
},
fontSize: {
title: ['32px', { lineHeight: 'normal', fontWeight: '700' }],
h1: [
'28px',
{ lineHeight: 'normal', letterSpacing: '0.56px', fontWeight: '700' },
],
h2: [
'24px',
{ lineHeight: '29px', letterSpacing: '0.48px', fontWeight: '700' },
],
'h3-regular': ['20px', { lineHeight: 'normal', fontWeight: '400' }],
'h3-bold': ['20px', { lineHeight: 'normal', fontWeight: '700' }],
'h4-regular': ['18px', { lineHeight: 'normal', fontWeight: '400' }],
'h4-bold': ['18px', { lineHeight: 'normal', fontWeight: '700' }],
'body1-regular': ['16px', { lineHeight: '26px', fontWeight: '400' }],
'body1-bold': ['16px', { lineHeight: '20px', fontWeight: '700' }],
'body1-medium': ['16px', { lineHeight: '26px', fontWeight: '600' }],
'body2-regular': ['14px', { lineHeight: '22px', fontWeight: '400' }],
'body2-bold': ['14px', { lineHeight: 'normal', fontWeight: '700' }],
caption: ['12px', { lineHeight: '16px', fontWeight: '400' }],
},
boxShadow: {
custom:
'0px 0px 0px 1px #CDD0DC inset, 0px 2px 4px 0px rgba(5, 16, 55, 0.06)',
'search-bar-custom': '0px 4px 16px 0px rgba(17, 34, 17, 0.05)',
},
colors: {
black200: '#1b1b1b',
black100: '#171717',
'nomad-black': '#112211',
white: '#ffffff',
gray600: '#4b4b4b',
gray500: '#79747e',
gray400: '#a4a1aa',
gray300: '#adaeb8',
gray200: '#dddddd',
gray100: '#eeeeee',
gray50: '#fafafa',
red100: '#ff472e',
red200: '#ffe4e0',
yellow200: '#ffc23d',
blue300: '#0085ff',
blue200: '#2eb4ff',
blue100: '#e5f3ff',
green50: '#00AC07',
green100: '#F1EFFD',
green200: '#0B3B2D',
green400: '#CED8D5',
purple200: '#760dde',
green300: '#7ac555',
violet200: '#5534da',
},
screens: {
mobile: { max: '767px' },
tablet: { min: '768px', max: '1023px' },
mainTabletSize: { min: '768px', max: '1248px' },
mainPcSize: { min: '1248px' },
},
},
},
plugins: [require('tailwind-scrollbar-hide')], //스크롤바 숨김가능(scrollbar-hide)
};
export default config;