-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
109 lines (102 loc) · 2 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
107
108
109
const homeScreen = {
greetingStyle: {
color: 'black',
fontSize: 32,
textAlign: 'center',
marginBottom: 10,
marginTop: 10
},
buttonType: "outline",
buttonStyle: {
paddingVertical: 15,
marginVertical: 5,
marginHorizontal: 30,
borderColor: 'blue',
backgroundColor: 'white',
borderWidth: 1
},
buttonTitleStyle: {
color: 'blue'
}
}
const settingsScreen = {
topButtonBar: {
containerStyle: {
height: 50
}
}
}
const chatScreen = {
chatItem: {
usernameTextStyle: {
color: 'blue',
fontSize: 20,
marginLeft: 35,
marginTop: 15
},
textStyle: {
color: 'black',
fontSize: 20,
marginHorizontal: 35,
marginTop: 15
}
},
inputTextStyle: {
height: 40,
borderColor: 'gray',
borderWidth: 1,
backgroundColor: 'white',
marginLeft: 30,
marginRight: 30,
marginBottom: 30,
marginTop: 10,
paddingHorizontal: 15
}
}
const bottomNavigation = {
iconColor: 'blue',
iconSize: 40,
disabledIconColor: 'gray'
}
const input = {
inputStyle: {
// see https://reactnative.dev/docs/textinput
color: 'black',
fontSize: 16
},
labelStyle: {
color: 'blue',
fontSize: 16
},
containerStyle: {
paddingHorizontal: 20
}
}
const groceriesScreen = {
item: {
containerStyle: {
height: 50
},
rightIconSize: 26
},
selectedItem: {
containerStyle: {
backgroundColor: 'lightblue'
}
},
menuIconStyle: {
marginLeft: 4,
paddingRight: 12,
paddingBottom: 4,
paddingTop: 4
}
}
const styles = {
homeScreen,
settingsScreen,
chatScreen,
bottomNavigation,
groceriesScreen,
input
}
export default styles;