This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppStyles.js
128 lines (124 loc) · 2.74 KB
/
AppStyles.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
import React from 'react';
import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
maincontainer: {
flexDirection: 'column',
alignItems: 'center',
},
topcontainer: {
width: '100%',
height: '40%',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#102027'
},
bottomcontainer: {
width: '100%',
height: '70%',
backgroundColor: 'white'//'#000000',
},
brandfont: {
fontFamily: 'Lobster-Regular',
color: '#97abb5',
textShadowColor: 'black',
textShadowOffset: {width: 2, height: 2},
textShadowRadius: 3,
fontSize: 45
},
urlinput: {
backgroundColor: 'white',
width: '60%',
height: '100%',
borderWidth: 1,
borderRadius: 15,
textAlign: 'center'
},
urlview: {
position: 'absolute',
top: '37.5%',
backgroundColor: 'transparent',
alignItems: 'center',
width: '100%',
height: '5%',
zIndex: 1000
},
midline: {
flexDirection: 'row',
width: '100%',
height: '0.1%',
backgroundColor: 'white',
},
convertbuttonview: {
position: 'absolute',
width: '40%',
top: '50%',
zIndex: 1000,
height: '5%'
},
playerbuttonview: {
position: 'absolute',
width: '40%',
top: '58%',
zIndex: 1000,
height: '5%'
},
// Todo: put duplicate code in single class...
//https://www.reactnative.guide/8-styling/8.2-common-styles-mixins.html
playerbutton: {
shadowColor: 'rgba(0,0,0, .4)', // IOS
shadowOffset: { height: 1, width: 1 }, // IOS
shadowOpacity: 2, // IOS
shadowRadius: 3, //IOS
color: "#97abb5",
backgroundColor: '#97abb5',
elevation: 2, // Android
height: 50,
height: '100%',
justifyContent: 'center',
alignItems: 'center',
borderRadius: 5
},
convertbutton: {
shadowColor: 'rgba(0,0,0, .4)', // IOS
shadowOffset: { height: 1, width: 1 }, // IOS
shadowOpacity: 2, // IOS
shadowRadius: 3, //IOS
color: "#97abb5",
backgroundColor: '#102027',
elevation: 2, // Android
height: 50,
height: '100%',
justifyContent: 'center',
alignItems: 'center',
borderRadius: 5
},
activitycontainer: {
position: 'absolute',
left: 0,
right: 0,
top: 0,
bottom: 0,
alignItems: 'center',
justifyContent: 'center'
},
messagetext: {
position: 'absolute',
top: '120%',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'transparent',
zIndex: 1000
},
});
const container = StyleSheet.compose(
styles.container,
styles.topcontainer,
styles.bottomcontainer,
styles.brandfont,
styles.urlinput,
styles.urlview,
styles.midline,
styles.convertbutton,
styles.activitycontainer,
styles.messagetext);
export default styles;