forked from montamal/react-native-leaderboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.js
51 lines (49 loc) · 897 Bytes
/
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
import { StyleSheet } from 'react-native';
const styles = StyleSheet.create({
row: {
alignItems: 'center',
backgroundColor: 'transparent',
flexDirection: 'row',
justifyContent: 'space-between',
borderBottomWidth: 0.5,
borderBottomColor: '#d6d7da',
marginTop: 1,
padding: 15,
},
left: {
flexDirection: 'row',
alignItems: 'center',
},
rank: {
fontSize: 17,
marginRight: 5,
},
singleDidget: {
paddingLeft: 16,
paddingRight: 6,
},
doubleDidget: {
paddingLeft: 10,
paddingRight: 2,
},
label: {
fontSize: 17,
fontWeight: 'bold',
flex: 1,
paddingRight: 80,
},
score: {
fontSize: 20,
position: 'absolute',
right: 15,
paddingLeft: 15,
},
avatar: {
height: 37,
width: 37,
borderRadius: 37 / 2,
marginRight: 10,
borderWidth: 2,
},
});
export default styles;