style.js
907 Bytes
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
import { StyleSheet } from 'react-native'
import { Colors } from 'react-native/Libraries/NewAppScreen'
import { setUnit } from '../../libs/utils'
const styles = StyleSheet.create({
body: {
backgroundColor: Colors.white,
flex: 1,
justifyContent: 'center',
alignItems: 'center'
},
headerImg: {
width: setUnit(200),
height: setUnit(200),
borderColor: 'rgba(0,0,0,.3)',
borderWidth: 1,
borderRadius: setUnit(100),
},
title: {
fontSize: setUnit(29),
paddingTop: setUnit(20),
paddingBottom: setUnit(20),
color: 'rgba(0,0,0,.9)'
},
tips: {
fontSize: setUnit(20),
color: 'rgba(0,0,0,.3)'
},
appVersion: {
paddingTop: setUnit(100)
},
appVersionTitle: {
fontSize: setUnit(16),
color: 'rgba(0,0,0,.2)'
}
})
export { styles }