forked from zsajjad/BusinessCard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.js
65 lines (62 loc) · 1.34 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
/**
*
* Styles for CameraRedemption Screen
*
*/
import { StyleSheet } from "react-native";
import Colors from "./theme/Colors";
import Dimensions from "./theme/Dimensions";
export const screenHeight = Dimensions.screenHeight;
export const screenWidth = Dimensions.screenWidth;
const styles = StyleSheet.create({
screen: {
backgroundColor: Colors.black,
flex: 1
},
camera: {
position: "absolute",
width: Dimensions.screenWidth,
height: Dimensions.screenHeight,
alignItems: "center",
justifyContent: "center",
top: 0,
left: 0,
flex: 1
},
imageBackground: {
position: "absolute",
width: Dimensions.screenWidth,
height: Dimensions.screenHeight,
alignItems: "flex-start",
justifyContent: "flex-start",
top: 0,
left: 0
},
buttonContainer: {
width: 70,
height: 70,
backgroundColor: Colors.white,
borderRadius: 35,
position: "absolute",
bottom: 36,
alignSelf: "center",
alignItems: "center",
justifyContent: "center"
},
button: {
width: 64,
height: 64,
backgroundColor: Colors.white,
borderRadius: 32,
borderWidth: 4,
borderColor: Colors.black
},
boundingRect: {
position: "absolute",
alignItems: "center",
justifyContent: "center",
borderWidth: 2,
borderColor: "#FF6600"
}
});
export default styles;