-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathRNUILib.config.js
55 lines (53 loc) · 1.17 KB
/
RNUILib.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
import { Colors, Typography } from 'react-native-ui-lib';
export const loadReactNativeUILibraryConfiguration = () => {
Colors.loadColors({
black: '#000000',
blackOpacity75: 'rgba(0, 0, 0, 0.75)',
blackOpacity88: 'rgba(0, 0, 0, 0.88)',
brightBlue: '#0056C7',
brightRed: '#D0031B',
lightGrayLines: '#DDDDDD',
secondaryGray: '#767676',
secondaryMediumGray: '#63666A',
secondaryMobileGray: '#767676',
white: '#FFFFFF',
whiteOpacity75: 'rgba(255, 255, 255, 0.75)',
});
Typography.loadTypographies({
heading1: {
fontSize: 25,
fontWeight: '600',
},
heading2: {
fontSize: 21,
fontWeight: '400',
},
heading3: {
fontSize: 17,
fontWeight: '600',
letterSpacing: 0.2,
},
bodySmall: {
fontSize: 15,
fontWeight: '400',
},
label: {
fontSize: 13,
fontWeight: '500',
textTransform: 'uppercase',
letterSpacing: 0.26,
},
centeredText: {
textAlign: 'center',
},
mobileBody: {
fontSize: 17,
fontWeight: '400',
lineHeight: 22,
},
caption: {
fontSize: 13,
fontWeight: '400',
},
});
};