typography.js
1.77 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
import palette from './palette';
export default {
h1: {
color: palette.text.primary,
fontWeight: 500,
fontSize: '35px',
letterSpacing: '-0.24px',
lineHeight: '40px'
},
h2: {
color: palette.text.primary,
fontWeight: 500,
fontSize: '29px',
letterSpacing: '-0.24px',
lineHeight: '32px'
},
h3: {
color: palette.text.primary,
fontWeight: 500,
fontSize: '24px',
letterSpacing: '-0.06px',
lineHeight: '28px'
},
h4: {
color: palette.text.primary,
fontWeight: 500,
fontSize: '20px',
letterSpacing: '-0.06px',
lineHeight: '24px'
},
h5: {
color: palette.text.primary,
fontWeight: 500,
fontSize: '16px',
letterSpacing: '-0.05px',
lineHeight: '20px'
},
h6: {
color: palette.text.primary,
fontWeight: 500,
fontSize: '14px',
letterSpacing: '-0.05px',
lineHeight: '20px'
},
subtitle1: {
color: palette.text.primary,
fontSize: '16px',
letterSpacing: '-0.05px',
lineHeight: '25px'
},
subtitle2: {
color: palette.text.secondary,
fontWeight: 400,
fontSize: '14px',
letterSpacing: '-0.05px',
lineHeight: '21px'
},
body1: {
color: palette.text.primary,
fontSize: '14px',
letterSpacing: '-0.05px',
lineHeight: '21px'
},
body2: {
color: palette.text.secondary,
fontSize: '12px',
letterSpacing: '-0.04px',
lineHeight: '18px'
},
button: {
color: palette.text.primary,
fontSize: '14px'
},
caption: {
color: palette.text.secondary,
fontSize: '11px',
letterSpacing: '0.33px',
lineHeight: '13px'
},
overline: {
color: palette.text.secondary,
fontSize: '11px',
fontWeight: 500,
letterSpacing: '0.33px',
lineHeight: '13px',
textTransform: 'uppercase'
}
};