-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
138 lines (135 loc) · 3.17 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
/** @type {import('tailwindcss').Config} */
export const mainWidth = '1140px'
export const headerSize = '60px'
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
width: {
base: `${mainWidth}`,
},
height: {
header: `${headerSize}`,
},
padding: {
header: `${headerSize}`,
},
margin: {
center: '0 auto',
},
colors: {
background: '#f7f7f8',
// detail: '#666',
white: '#fff',
gray: {
lightest: '#e0e2e7',
lighter: '#D9D9D9',
light: '#8c8d9d',
medium: 'rgba(0, 0, 0, 0.37)',
dark: 'rgba(0, 0, 0, 0.05)',
afterDark: 'rgba(0, 0, 0, 0.1)',
darkest: '#1d1c1d',
},
underline: 'rgba(0, 0, 0, 0.1)',
black: '#000',
blue: {
100: '#0066ff',
200: '#5D9EFF',
soft: '#cad6eb',
primary: '#0066ff',
primaryHover: '#0055cc',
secondary: '#5D9EFF',
secondaryHover: '#4d88cc',
},
pupple: {
deep: '#292339',
},
whitesmoke: {
100: '#f5f5f7',
200: '#f0f2f5',
300: '#efefef',
},
dimgray: {
100: '#6f6f6f',
200: '#65676b',
},
lightgray: '#ced0d4',
silver: '#b7b7bf',
dark: '#191a20',
kakao: '#fee500',
naver: '#03c75a',
},
spacing: {},
fontFamily: {
kr: '"Noto Sans KR", sans-serif',
},
borderRadius: {
'8xs': '5px',
'10xs': '3px',
'11xl': '30px',
'41xl': '60px',
'3xs': '10px',
},
fontWeight: {
//font
thin: '100',
extralight: '200',
light: '300',
normal: '400',
medium: '500',
semibold: '600',
bold: '700',
extrabold: '800',
black: '900',
},
fontSize: {
//text
detail: '10px',
micro: '12px',
tiny: '13px',
mini: '15px',
small: '14px',
base: '16px',
medium: '18px',
semilarge: '20px',
large: '24px',
inherit: 'inherit',
huge: '28px',
},
screens: {
mq825: {
raw: 'screen and (max-width: 825px)',
},
mq675: {
raw: 'screen and (max-width: 675px)',
},
mq450: {
raw: 'screen and (max-width: 450px)',
},
},
zIndex: {
default: '1',
header: '1000',
sideBarBack: '1990',
sideBar: '1999',
modalBackground: '2000',
modal: '2001',
popBack: '2001',
pop: '2002',
},
boxShadow: {
xl: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
box: '0px 1px 1px rgba(0, 0, 0, 0.1), 0px 0px 1px rgba(0, 0, 0, 0.25)',
loginBox: '0 8px 16px rgba(182,190,204,.5)',
popupBox: '0px 0px 1px 0px rgba(0, 0, 0, 0.3), 0px 1px 1px 0px rgba(0, 0, 0, 0.1);',
circleBadge: '0 0 0 1px #1f232826',
},
aspectRatio: {
bg: '220/49',
},
},
},
corePlugins: {
preflight: false,
},
}