-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
134 lines (134 loc) · 2.83 KB
/
Copy pathtailwind.config.js
File metadata and controls
134 lines (134 loc) · 2.83 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
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
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./index.html',
'./src/**/*.{js,ts,jsx,tsx}',
'./storybook/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
// Custom breakpoints
screens: {
xs: '360px',
sm: '480px',
},
// Colors
colors: {
// 오류
error: '#dc0000',
// 경고(검토 중 등)
warning: {
DEFAULT: '#e8920b',
100: '#fdf3e2',
},
// 배경색
'bg-light': '#f4f4f4',
'bg-dark': '#efefef',
// 텍스트 색상
text: {
100: '#232323',
90: '#5f5f5f',
70: '#828282',
50: '#a3a3a3',
},
// 라인 색상
line: {
1: '#e5e5e5',
2: '#c3c3c3',
3: '#232323',
},
// Main 색상
main: {
DEFAULT: '#07c079',
900: '#20c686',
700: '#51d3a1',
500: '#83dfbc',
300: '#b5ecd7',
100: '#e6f9f2',
},
// Sub 색상
sub: {
DEFAULT: '#0f7745',
900: '#278558',
},
subBlue: '#003BDC',
},
// Font Families
fontFamily: {
rixyeoljeongdo: [
'RixYeoljeongdo_Pro',
'Pretendard Variable',
'Pretendard',
'-apple-system',
'BlinkMacSystemFont',
'Apple SD Gothic Neo',
'Malgun Gothic',
'system-ui',
'sans-serif',
],
pretendard: [
'Pretendard Variable',
'Pretendard',
'-apple-system',
'BlinkMacSystemFont',
'Apple SD Gothic Neo',
'Malgun Gothic',
'system-ui',
'sans-serif',
],
},
// Font Sizes
fontSize: {
0: '11px',
1: '12px',
2: '13px',
3: '14px',
4: '16px',
5: '18px',
6: '20px',
7: '22px',
8: '28px',
9: '32px',
},
// Line Heights
lineHeight: {
0: '140%',
1: '140%',
2: '140%',
3: '140%',
4: '140%',
5: '140%',
6: '140%',
7: '140%',
8: '140%',
9: '140%',
10: '140%',
11: '140%',
12: '100%',
13: '100%',
14: '100%',
},
// Letter Spacing
letterSpacing: {
0: '-0.01em', // -1%
1: '0', // 0%
},
// Font Weights
fontWeight: {
regular: '400',
semibold: '600',
},
// Animations
keyframes: {
'toast-in': {
'0%': { opacity: '0', transform: 'translateY(8px)' },
'100%': { opacity: '1', transform: 'translateY(0)' },
},
},
animation: {
'toast-in': 'toast-in 180ms ease-out',
},
},
},
plugins: [],
}