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
|
import React from 'react';
import { colors, spacings } from '../lib/foundations';
export const openSans: React.CSSProperties = {
fontFamily: 'Open Sans',
};
export const sourceSansPro: React.CSSProperties = {
fontFamily: '"Source Sans Pro", "Noto Sans Myanmar", "Noto Sans Thai", sans-serif',
};
export const tinyText = {
...openSans,
fontSize: '12px',
fontWeight: 600,
lineHeight: '18px',
};
export const smallText = {
...openSans,
fontSize: '14px',
fontWeight: 600,
lineHeight: '20px',
color: colors.whiteAlpha80,
};
export const smallNormalText = {
...smallText,
fontWeight: 'normal',
};
export const normalText = {
...openSans,
fontSize: '15px',
lineHeight: '18px',
};
export const largeText = {
...sourceSansPro,
fontWeight: 600,
fontSize: '18px',
lineHeight: '24px',
};
export const buttonText = {
...largeText,
color: colors.white,
};
export const bigText = {
...sourceSansPro,
fontSize: '24px',
fontWeight: 700,
lineHeight: '28px',
};
export const hugeText = {
...sourceSansPro,
fontSize: '32px',
fontWeight: 700,
lineHeight: '34px',
color: colors.white,
};
export const measurements = {
rowMinHeight: '48px',
horizontalViewMargin: spacings.medium,
verticalViewMargin: spacings.large,
rowVerticalMargin: spacings.large,
buttonVerticalMargin: spacings.medium,
};
|