-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
116 lines (115 loc) · 2.95 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
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
import {StyleSheet} from 'react-native';
import {
widthAdapter,
heightAdapter,
fontscale,
deviceWidth,
} from './uttils/adapterUtil';
import Colors from './uttils/Colors';
import FontsSize from './uttils/FontsSize';
import FontsWeight from './uttils/FontsWeight';
import fontFamily from './uttils/FontFamily';
export default StyleSheet.create({
header: {
height: heightAdapter(120),
backgroundColor: Colors.primaryAppColor,
width: deviceWidth, //'100%',
alignItems: 'center',
justifyContent: 'center',
},
headerName: {
fontSize: FontsSize.headerName,
fontWeight: FontsWeight.header,
color: Colors.primaryFontColor,
fontFamily: fontFamily.primaryFontFamily,
},
Footer: {
flexDirection: 'row',
height: heightAdapter(150),
backgroundColor: Colors.footerBgColor,
width: '100%',
alignItems: 'center',
justifyContent: 'center',
position: 'absolute',
bottom: 0,
},
footerCopyRights: {
fontSize: FontsSize.copyRights,
color: Colors.copyRights,
fontFamily: fontFamily.primaryFontFamily,
},
footerLogoName: {
fontSize: FontsSize.copyRights,
color: Colors.primaryAppColor,
fontFamily: fontFamily.primaryFontFamily,
},
primaryBtn: {
width: '100%',
height: heightAdapter(100),
// borderWidth: widthAdapter(2),
backgroundColor: Colors.primaryAppColor,
alignItems: 'center',
justifyContent: 'center',
borderRadius: widthAdapter(5),
},
btnName: {
fontSize: FontsSize.primaryBtnName,
color: Colors.primaryFontColor,
fontWeight: 'bold',
fontFamily: fontFamily.primaryFontFamily,
},
textInputContainer: {
height: heightAdapter(100),
width: '100%',
marginTop: heightAdapter(20),
marginBottom: heightAdapter(20),
fontFamily: fontFamily.primaryFontFamily,
// borderColor: 'red',
// borderWidth: 1,
},
textInput: {
height: '100%',
width: '100%',
fontSize: FontsSize.textInput,
color: '#666',
borderWidth: fontscale(1),
borderRadius: fontscale(3),
padding: widthAdapter(10),
fontFamily: fontFamily.primaryFontFamily,
},
captionText: {
position: 'absolute',
top: fontscale(-15),
left: widthAdapter(30),
// height: widthAdapter(50),
fontSize: fontscale(20),
backgroundColor: Colors.white,
// padding: widthAdapter(10),
fontFamily: fontFamily.primaryFontFamily,
// color: '#22caff',
// color: 'Black',
},
roundBtn: {
height: widthAdapter(150),
width: widthAdapter(150),
borderRadius: 100,
alignItems: 'center',
justifyContent: 'center',
},
menu: {
width: widthAdapter(100),
height: heightAdapter(100),
backgroundColor: 'transparent',
alignItems: 'center',
justifyContent: 'center',
// borderColor: 'white',
// borderWidth: 2,
},
menuLine: {
width: widthAdapter(75),
height: heightAdapter(5),
backgroundColor: Colors.white,
margin: widthAdapter(10),
borderRadius: widthAdapter(5),
},
});