-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
79 lines (75 loc) · 1.98 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./app/**/*.{js,jsx,ts,tsx}', './components/**/*.{js,jsx,ts,tsx}'],
presets: [require('nativewind/preset')],
theme: {
extend: {
fontFamily: {
H1: ['Pretendard-Bold', 'System'],
H2: ['Pretendard-SemiBold', 'System'],
SUB1: ['Pretendard-SemiBold', 'System'],
SUB2: ['Pretendard-SemiBold', 'System'],
SUB3: ['Pretendard-Medium', 'System'],
BODY1: ['Pretendard-Medium', 'System'],
BODY2: ['Pretendard-Medium', 'System'],
CAP1: ['Pretendard-SemiBold', 'System'],
CAP2: ['Pretendard-Bold', 'System'],
BTN1: ['Pretendard-SemiBold', 'System'],
BTN2: ['Pretendard-Medium', 'System'],
},
fontSize: {
H1: '24px',
H2: '22px',
SUB1: '20px',
SUB2: '18px',
SUB3: '16px',
BODY1: '15px',
BODY2: '14px',
CAP1: '13px',
CAP2: '12px',
BTN1: '14px',
BTN2: '12px',
},
lineHeight: {
H1: '28.8px',
H2: '30.8px',
SUB1: '28px',
SUB2: '27px',
SUB3: '24px',
BODY1: '24px',
BODY2: '22.4px',
CAP1: '19.5px',
CAP2: '18px',
BTN1: '21px',
BTN2: '14.4px',
},
backgroundColor: {
basic: 'rgba(0, 0, 0, 0.5)',
light: 'rgba(0, 0, 0, 0.2)',
},
dropShadow: {
basicShadow: '0px 0px 4px rgba(0, 0, 0, 0.08)',
},
colors: {
// Primary Color
DEFAULT: 'black',
// Gray Scale
dark_gray: '#333333',
deep_gray: '#666666',
medium_gray: '#999999',
semiLight_gray: '#AAAAAA',
light_gray: '#cccccc',
// System Color
purple: '#5B4FF4',
green: '#4FF48E',
yellow: '#FFD90C',
red: '#FF357F',
// Background Color
back_gray: '#F4F4F4',
// Stroke Color
stroke: '#EEEEEE',
},
},
},
plugins: [],
};