forked from SWYP-team-2th/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
90 lines (90 loc) · 2.6 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
87
88
89
90
export const content = ['./src/**/*.{html,js,ts,jsx,tsx}'];
export const theme = {
screens: {
desktop: '480px',
},
extend: {
fontSize: {
h1: [
'32px',
{ lineHeight: '1.25', letterSpacing: '-0.02em', fontWeight: 'bold' },
],
h2: [
'28px',
{ lineHeight: '1.3', letterSpacing: '-0.02em', fontWeight: 'bold' },
],
h3: [
'24px',
{ lineHeight: '1.3', letterSpacing: '-0.015em', fontWeight: 'bold' },
],
'title-large': [
'22px',
{ lineHeight: '1.36', letterSpacing: '-0.02em', fontWeight: 'bold' },
],
'title-medium': [
'20px',
{ lineHeight: '1.2', letterSpacing: '-0.015em', fontWeight: '600' },
],
'title-small-1': [
'18px',
{ lineHeight: '1.2', letterSpacing: '-0.01em', fontWeight: '600' },
],
'title-small-2': [
'18px',
{ lineHeight: '1.2', letterSpacing: '-0.015em', fontWeight: '400' },
],
'title-x-small': [
'16px',
{ lineHeight: '1.2', letterSpacing: '-0.015em', fontWeight: '600' },
],
'body-1-long': [
'16px',
{ lineHeight: '1.3', letterSpacing: '-0.01em', fontWeight: '400' },
],
'body-1-normal': [
'16px',
{ lineHeight: '1.25', letterSpacing: '-0.01em', fontWeight: '500' },
],
'body-2-long': [
'14px',
{ lineHeight: '1.25', letterSpacing: '-0.01em', fontWeight: '400' },
],
'body-2-normal': [
'14px',
{ lineHeight: '1.2', letterSpacing: '-0.01em', fontWeight: '500' },
],
caption: [
'12px',
{ lineHeight: '1.25', letterSpacing: '-0.02em', fontWeight: '400' },
],
'label-large': [
'16px',
{ lineHeight: '1.2', letterSpacing: '-0.015em', fontWeight: 'bold' },
],
'label-medium': [
'14px',
{ lineHeight: '1.25', letterSpacing: '-0.015em', fontWeight: 'bold' },
],
'label-small': [
'11px',
{ lineHeight: '1.3', letterSpacing: '-0.02em', fontWeight: 'bold' },
],
'label-xsmall-1': [
'11px',
{ lineHeight: '1.2', letterSpacing: '-0.02em', fontWeight: 'bold' },
],
'label-xsmall-2': [
'11px',
{ lineHeight: '1.2', letterSpacing: '-0.02em', fontWeight: 'regular' },
],
'label-x-small-1': [
'11px',
{ lineHeight: '1.2', letterSpacing: '-0.02em', fontWeight: 'bold' },
],
'label-x-small-2': [
'11px',
{ lineHeight: '1.2', letterSpacing: '-0.02em', fontWeight: '400' },
],
},
},
};