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
| import { StyleSheet } from 'react-native';
import { colors } from './colors';
export const typography = StyleSheet.create({
h1: {
fontSize: 24,
fontWeight: '700',
color: colors.text,
lineHeight: 32,
},
h2: {
fontSize: 20,
fontWeight: '600',
color: colors.text,
lineHeight: 28,
},
h3: {
fontSize: 16,
fontWeight: '600',
color: colors.text,
lineHeight: 24,
},
body: {
fontSize: 14,
fontWeight: '400',
color: colors.text,
lineHeight: 22,
},
bodySmall: {
fontSize: 12,
fontWeight: '400',
color: colors.textMuted,
lineHeight: 18,
},
mono: {
fontSize: 13,
fontFamily: 'monospace',
color: colors.text,
lineHeight: 20,
},
monoSmall: {
fontSize: 11,
fontFamily: 'monospace',
color: colors.textMuted,
lineHeight: 16,
},
label: {
fontSize: 12,
fontWeight: '500',
color: colors.textMuted,
letterSpacing: 0.5,
textTransform: 'uppercase',
},
link: {
fontSize: 14,
fontWeight: '400',
color: colors.textLink,
lineHeight: 22,
},
});
|