-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
86 lines (84 loc) · 2.4 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
const PX0_300 = { ...Array.from(Array(301)).map((_, i) => `${i / 10}rem`) };
const PX0_50 = { ...Array.from(Array(51)).map((_, i) => `${i / 10}rem`) };
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./src/pages/**/*.{js,ts,jsx,tsx,mdx}',
'./src/common/**/*.{js,ts,jsx,tsx,mdx}',
'./src/features/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {
spacing: PX0_300,
borderRadius: PX0_50,
minWidth: PX0_300,
maxWidth: PX0_300,
minHeight: PX0_300,
colors: {
grey: '#BCBCBC',
green: {
100: '#8E9A78',
200: '#4B523F',
300: '#26291F',
400: '#333A29',
},
yellow: '#FFCE00',
pink: { 100: '#FFCBF1', 200: '#976489' },
blue: '#7A7EA4',
},
lineHeight: PX0_50,
fontSize: {
...PX0_50,
/**
* @deprecated
*/
'24-bold-24': [
'2.4rem',
{ lineHeight: '24px', letterSpacing: '0em', fontWeight: '700' },
],
'16-light-24': [
'1.6rem',
{ lineHeight: '24px', letterSpacing: '0em', fontWeight: '300' },
],
'24-bold-32': [
'2.4rem',
{ lineHeight: '32px', letterSpacing: '0em', fontWeight: '700' },
],
'10-regular-12': [
'1.0rem',
{ lineHeight: '12px', letterSpacing: '0em', fontWeight: '400' },
],
'14-light-24': [
'1.4rem',
{ lineHeight: '24px', letterSpacing: '0em', fontWeight: '300' },
],
'14-regular-24': [
'1.4rem',
{ lineHeight: '24px', letterSpacing: '0em', fontWeight: '400' },
],
'24-light-32': [
'2.4rem',
{ lineHeight: '32px', letterSpacing: '0em', fontWeight: '300' },
],
'24-regular-32': [
'2.4rem',
{ lineHeight: '32px', letterSpacing: '0em', fontWeight: '400' },
],
'20-semibold-24': [
'2.0rem',
{ lineHeight: '24px', letterSpacing: '0em', fontWeight: '600' },
],
'24-semibold-24': [
'2.4rem',
{ lineHeight: '24px', letterSpacing: '0em', fontWeight: '600' },
],
},
fontFamily: {
'lemon-milk': ['var(--font-lemon-milk)'],
pretendard: ['var(--font-pretendardVariable)'],
},
},
},
plugins: [],
};