-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.styles.ts
125 lines (122 loc) · 2.82 KB
/
App.styles.ts
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
import { StyleSheet, Dimensions, Platform, NativeModules } from "react-native";
const textColor = '#555555';
const textColorLight = '#cccccc';
const backgroundColor = '#ffffff';
const { StatusBarManager } = NativeModules;
const STATUSBAR_HEIGHT = Platform.OS === 'ios' ? 20 : StatusBarManager.HEIGHT;
export default StyleSheet.create({
menu: {
height: 56,
alignItems: 'flex-end'
},
menuTrigger: {
color: textColorLight,
fontSize: 35,
width: 40,
textAlign: 'center',
fontWeight: 'bold',
},
menuItem: {
paddingLeft: 10,
paddingTop: 5,
paddingBottom: 5,
fontSize: 15,
color: textColor,
},
content: {
marginTop: STATUSBAR_HEIGHT + 40,
backgroundColor: backgroundColor,
alignItems: 'center',
justifyContent: 'space-between',
height: Dimensions.get('window').height - STATUSBAR_HEIGHT - 90,
},
drinkNameInput: {
fontSize: 40,
color: textColorLight,
},
counterName: {
height: 35,
},
counterNameInput: {
fontSize: 30,
color: textColorLight,
},
counter: {
textAlign: 'center',
fontSize: 80,
},
buttons: {
flexDirection: 'row',
height: 84,
},
buttonPlus: {
backgroundColor: textColor,
borderColor: textColor,
borderWidth: 2,
color: '#fff',
width: 75,
height: 75,
padding: 4,
margin: 5,
borderRadius: 100,
fontSize: 45,
fontWeight: 'bold',
overflow: 'hidden',
textAlign: 'center',
},
buttonMinus: {
backgroundColor: 'transparent',
borderColor: textColor,
borderWidth: 2,
color: textColor,
width: 75,
height: 75,
padding: 4,
margin: 5,
borderRadius: 100,
fontSize: 45,
fontWeight: 'bold',
overflow: 'hidden',
textAlign: 'center',
zIndex: 99
},
buttonClear: {
backgroundColor: 'transparent',
borderColor: textColor,
borderWidth: 2,
width: 75,
height: 75,
padding: 11,
margin: 5,
borderRadius: 100,
fontSize: 35,
fontWeight: 'bold',
overflow: 'hidden',
textAlign: 'center',
},
stats: {
flexDirection: 'row',
justifyContent: 'space-between',
width: '90%',
height: 130,
},
logItem: {
fontSize: 15,
color: textColorLight,
lineHeight: 21,
},
graph: {
height: 130,
width: '40%',
marginLeft: 20,
},
lastSwipe: {
justifyContent: 'center',
alignItems: 'center',
flex: 1,
},
lastSwipeText: {
fontSize: 150,
color: textColorLight,
}
});