/
styles.js
82 lines (80 loc) 路 1.63 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import { StyleSheet } from 'react-native';
import * as colors from 'kitsu/constants/colors';
export const styles = StyleSheet.create({
container: {
backgroundColor: colors.darkPurple,
flex: 1,
},
headerContainer: {
backgroundColor: colors.listBackPurple,
shadowColor: 'rgba(0,0,0,0.2)',
shadowOffset: {
width: 0,
height: 3,
},
shadowOpacity: 0.5,
elevation: 3,
zIndex: 2,
},
listHeader: {
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
backgroundColor: colors.offWhite,
borderBottomWidth: 1,
borderBottomColor: colors.lightGrey,
},
listHeaderText: {
fontFamily: 'OpenSans',
fontWeight: '800',
fontSize: 10,
color: colors.grey,
paddingVertical: 8,
},
searchBox: {
height: 35,
margin: 10,
},
loading: {
alignItems: 'center',
justifyContent: 'center',
padding: 12,
},
emptyStateContainer: {
flex: 1,
width: '100%',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
},
statusWrapper: {
marginTop: 4,
padding: 16,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: colors.darkPurple,
},
statusTitle: {
fontWeight: 'bold',
fontSize: 16,
color: colors.white,
fontFamily: 'OpenSans',
textAlign: 'center',
margin: 4,
maxWidth: '85%',
},
statusText: {
maxWidth: '85%',
fontSize: 12,
color: colors.lightGrey,
fontFamily: 'OpenSans',
textAlign: 'center',
margin: 4,
},
statusImage: {
marginTop: 16,
width: 140,
height: 160,
resizeMode: 'contain',
},
});