This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyles.js
106 lines (102 loc) · 1.98 KB
/
styles.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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import {
StyleSheet,
Platform,
Dimensions,
} from 'react-native';
export const palette = {
RICH_NAVY: '#2A547A',
SKY_BLUE: '#1EB4D2',
HONEYCOMB: '#F2B93B',
SILVER: '#E8E9EA',
CHARCOAL: '#4D4D4D',
WHITE: '#FFF',
};
export const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: palette.SILVER,
marginTop: Platform.OS === 'ios' ? 20 : 0,
},
textInput: {
height: 40,
fontSize: 14,
padding: 5,
borderWidth: 1,
borderRadius: 5,
borderColor: palette.SILVER,
},
heading1: {
fontSize: 24,
fontWeight: '300',
paddingLeft: 10,
paddingBottom: 2,
paddingTop: 4,
color: palette.SKY_BLUE,
},
heading2: {
fontSize: 21,
fontWeight: 'bold',
paddingLeft: 10,
paddingBottom: 2,
paddingTop: 4,
color: palette.RICH_NAVY,
},
formContainer: {
flex: 1,
backgroundColor: palette.SILVER,
},
formView: {
flex: 1,
padding: 10,
backgroundColor: palette.WHITE,
},
postCard: {
marginBottom: 10,
marginHorizontal: 7,
backgroundColor: palette.WHITE,
borderTopRightRadius: 10,
borderTopLeftRadius: 10,
paddingTop: 10,
borderBottomColor: palette.CHARCOAL,
borderBottomWidth: 4,
},
button: {
flex: 1,
height: 50,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: palette.SKY_BLUE,
},
buttonText: {
fontSize: 17,
textAlign: 'center',
flex: 1,
marginTop: 15,
justifyContent: 'space-around',
color: palette.WHITE,
},
toolbar: {
flexDirection: 'row',
alignItems: 'stretch',
backgroundColor: '#C00',
height: 50,
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
mapContainer: {
...StyleSheet.absoluteFillObject,
justifyContent: 'flex-end',
alignItems: 'center',
marginTop: Platform.OS === 'ios' ? 20 : 0,
height: Dimensions.height,
},
map: {
...StyleSheet.absoluteFillObject,
},
scrollSection: {
flex: 1,
},
});