-
Notifications
You must be signed in to change notification settings - Fork 0
/
Styles.js
84 lines (80 loc) · 1.76 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
import { StyleSheet } from "react-native";
export const containerStyles = StyleSheet.create({
// base container for the app
baseContainer: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
width: "100%",
},
// container for the general layout of components
fit: {
alignItems: "center",
},
// container for main menu buttons
mainButtonContainer: {
borderRadius: 10,
overflow: "hidden",
margin: 12,
},
inputContainer: {
width: '90%',
},
mainMenuCard: {
width: '90%',
height: '90%',
flex: 1,
borderRadius: 5,
marginBottom: '5%',
},
});
export const textStyles = StyleSheet.create({
// title text for the app
titleText: {
fontSize: 20,
fontWeight: "bold",
},
// text for main menu buttons
mainButtonText: {
fontSize: 16,
textTransform: "uppercase",
color: "#fff",
fontWeight: "bold",
},
header1: {
fontSize: 18,
fontWeight: "bold",
marginBottom: 5,
},
header2: {
fontSize: 16,
marginBottom: 2,
},
body: {
fontSize: 16,
},
});
export const buttonStyles = StyleSheet.create({
// main menu buttons
mainButton: {
backgroundColor: "#4233b5e5",
alignItems: "center",
justifyContent: "center",
width: 150,
height: 150,
padding: 10,
borderRadius: 10,
elevation: 3,
},
});
export const textInputStyles = StyleSheet.create({
// text input for the app
input: {
height: 40,
margin: 12,
width: 200,
borderWidth: 1,
padding: 10,
},
});