forked from Plant-for-the-Planet-org/treecounter-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
42 lines (35 loc) · 1.1 KB
/
index.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
import { AppRegistry } from 'react-native';
import App from './app/components/App';
/* app.js */
import EStyleSheet from 'react-native-extended-stylesheet';
// import {
// setCustomView,
// setCustomTextInput,
// setCustomText,
// setCustomImage,
// setCustomTouchableHighlight
// } from 'react-native-global-props';
EStyleSheet.build({
// always call EStyleSheet.build() even if you don't use global variables!
$primary: '#b9d384',
$textColor: '#686060',
$placeholderColor: '#e9e9e9',
$colorPrimary: '#b7d37f',
$colorPrimaryDark: '#b7d37f',
$colorPrimaryAccent: '#e86f56',
$colorPrimaryAccentLight: '#ec6453'
});
// const customTextProps = {
// style: {
// fontFamily: Platform.OS === 'ios' ? 'HelveticaNeue' : 'Roboto'
// }
// };
// // Makes every image resize mode cover by default.
// const customImageProps = {
// resizeMode: 'cover'
// };
// //setCustomTextInput(customTextInputProps);
// setCustomText(customTextProps);
// setCustomImage(customImageProps);
//setCustomTouchableHighlight(customTouchableOpacityProps);
AppRegistry.registerComponent('TreecounterApp', () => App);