-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
47 lines (43 loc) · 1.3 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
module.exports = {
purge: ['./src/**/*.html', './src/**/*.vue', './src/**/*.jsx'],
prefix: 'tw-',
important: true, // 모든 tailwind css에 important를 추가합니다.
theme: {
screens: {
sm: '640px',
// => @media (min-width: 640px) { ... }
md: '768px',
// => @media (min-width: 768px) { ... }
lg: '1024px',
// => @media (min-width: 1024px) { ... }
xl: '1165px', // 1165px
// => @media (min-width: 1280px) { ... }
},
container: {
padding: '1rem',
},
fontFamily: {
display: ['NotoSansKR', 'sans-serif'],
body: ['NotoSansKR', 'sans-serif'],
},
colors: {
primary: 'var(--color-primary)',
secondary: 'var(--color-secondary)',
danger: 'var(--color-danger)',
'text-primary': 'var(--color-text-primary)',
'text-secondary': 'var(--color-text-secondary)',
'gray-100': 'var(--color-gray-100)',
'gray-200': 'var(--color-gray-200)',
'gray-300': 'var(--color-gray-300)',
'gray-400': 'var(--color-gray-400)',
'gray-500': 'var(--color-gray-500)',
'gray-600': 'var(--color-gray-600)',
'gray-700': 'var(--color-gray-700)',
'gray-800': 'var(--color-gray-800)',
'gray-900': 'var(--color-gray-900)',
},
extend: {},
},
variants: {},
plugins: [],
}