/
Styles.js
66 lines (63 loc) · 1.47 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
import { StyleSheet, Dimensions } from 'react-native';
const windowWidth = Dimensions.get('window').width;
const windowHeight = Dimensions.get('window').height;
const shadow = {
shadowColor: "black",
shadowOffset: {
width: 0,
height: 8,
},
shadowOpacity: 0.46,
shadowRadius: 11.14,
elevation: 17,
};
export const styles = StyleSheet.create({
baseViewStyle: {
flex: 1,
flexDirection: 'column',
backgroundColor: '#DEDEDE'
},
actionSelectionStyle: {
flex: 1,
backgroundColor: 'white',
borderRadius: 15,
alignItems: 'center',
marginTop: windowHeight / 4,
marginBottom: windowHeight / 4,
marginLeft: windowWidth / 16,
marginRight: windowWidth / 16,
...shadow
},
operationSelectionStyle: {
alignSelf: 'center',
margin: 15,
flexDirection: 'row'
},
textStyleHeader: {
color: '#008AB3',
fontWeight: 'bold',
fontSize: 30,
alignSelf: 'center',
},
imageViewStyle: {
marginTop: 20,
justifyContent: 'center',
alignItems: 'center'
},
imageStyle: {
width: 200,
height: 200,
tintColor: 'black'
},
actionButtonStyle: {
alignSelf: 'center',
backgroundColor: "#008AB3",
padding: 10,
margin: 5,
borderRadius: 15,
...shadow
},
textStyle: {
color: 'white'
}
});