-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtailwind.config.js
More file actions
54 lines (50 loc) · 1.39 KB
/
tailwind.config.js
File metadata and controls
54 lines (50 loc) · 1.39 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
import plugin from 'tailwindcss/plugin';
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}",],
theme: {
extend: {
fontFamily: {
sans: ['Pretendard', 'sans-serif'],
},
boxShadow: {
'glow-main': '0 0 10px 2px #62FFBB'
},
colors: {
main: '#62FFBB',
sub01: '#D0FFEB',
sub02: '#EFFFF8',
sub03: '#FFFACC',
point: '#FFE600',
black: '#111411',
gray4: '#393C39',
gray3: '#757875',
gray2: '#B1B4B1',
gray1: '#EDF0ED',
white: '#FCFFFC',
customBackground: 'rgb(252, 255, 252)'
},
fontSize: {
'30': '30px',
'24': '24px',
'20': '20px',
'16': '16px',
'14': '14px',
'12': '12px',
}
},
},
plugins: [
plugin(function ({ addComponents}){
addComponents({
'.head-01': { fontSize: '30px', fontWeight: '700' },
'.title-01': { fontSize: '24px', fontWeight: '700' },
'.title-02': { fontSize: '20px', fontWeight: '700' },
'.title-03': { fontSize: '16px', fontWeight: '600' },
'.body-01': { fontSize: '20px', fontWeight: '400' },
'.body-02': { fontSize: '16px', fontWeight: '500' },
'.caption-01': { fontSize: '14px', fontWeight: '500' },
'.caption-02': { fontSize: '12px', fontWeight: '500' },
})
})
],
}