/
index.ts
48 lines (46 loc) 路 1.14 KB
/
index.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
import { isPlatformIos, isFactorMobile, isFactorWatch } from '@rnv/renative';
import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
wrapper: {
backgroundColor: 'white',
position: 'absolute',
left: 0,
right: 0,
bottom: 0,
top: 0,
},
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'white',
},
text: {
color: 'black',
},
logo: {
width: 30,
height: 30,
},
header: {
marginTop: isPlatformIos ? 50 : 0, // TODO: remove once safe area view is implemented
flexDirection: 'row',
height: 60,
backgroundColor: 'white',
borderBottomColor: 'black',
borderBottomWidth: 1,
alignItems: 'center',
padding: 10,
},
introText: {
color: 'black',
fontWeight: 'bold',
marginHorizontal: 10,
display: isFactorMobile || isFactorWatch ? 'none' : 'flex',
},
dynamicText: {
color: 'black',
fontSize: isFactorWatch ? 10 : 14,
},
});
export default styles;