-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobalStyles.js
129 lines (122 loc) · 2.63 KB
/
globalStyles.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
117
118
119
120
121
122
123
124
125
126
127
128
129
import { StyleSheet } from 'react-native';
import { GRAY_COLOR, INACTIVE_COLOR_BORDER, MAIN_COLOR, WHITE_COLOR } from './constant';
import { vw } from './viewport';
const globalStyles = StyleSheet.create({
rowView: {
minHeight: '15%',
width: '100%',
paddingHorizontal: 4 * vw,
justifyContent: 'space-around',
},
rowTitle: {
fontSize: 5 * vw,
},
pickerStyle: {
backgroundColor: WHITE_COLOR,
color: 'black',
},
pickerItemStyle: {
borderWidth: 2,
borderColor: MAIN_COLOR,
borderStyle: 'solid',
borderRadius: 10,
overflow: 'hidden',
color: 'white',
},
pickerInactiveItemStyle: {
borderWidth: 2,
borderColor: INACTIVE_COLOR_BORDER,
borderStyle: 'solid',
borderRadius: 10,
overflow: 'hidden',
color: 'white',
},
// Vibrate
rowContent: {
display: 'flex',
flexDirection: 'row',
},
leftContent: {
paddingHorizontal: 8 * vw,
paddingVertical: 3 * vw,
backgroundColor: WHITE_COLOR,
borderTopLeftRadius: 10,
borderWidth: 2,
borderColor: MAIN_COLOR,
borderStyle: 'solid',
borderRightWidth: 0,
borderBottomLeftRadius: 10,
},
rightContent: {
paddingHorizontal: 8 * vw,
paddingVertical: 3 * vw,
borderTopRightRadius: 10,
borderWidth: 2,
backgroundColor: 'white',
borderColor: MAIN_COLOR,
borderStyle: 'solid',
borderLeftWidth: 0,
borderBottomRightRadius: 10,
},
activeInnerText: {
color: WHITE_COLOR,
},
inactiveInnerText: {
color: MAIN_COLOR,
},
// TimeInterval
col2: {
width: '50%',
flexDirection: 'row',
},
col4: {
width: '50%',
justifyContent: 'center',
textAlignVertical: 'bottom',
padding: 5,
fontSize: 3.75 * vw,
},
inputField: {
width: '50%',
borderWidth: 1,
borderRadius: 10,
textAlign: 'center',
borderColor: MAIN_COLOR,
fontSize: 5 * vw,
backgroundColor: WHITE_COLOR,
},
inputFieldDisabled: {
width: '50%',
borderWidth: 1,
borderRadius: 10,
textAlign: 'center',
fontSize: 5 * vw,
borderColor: INACTIVE_COLOR_BORDER,
backgroundColor: GRAY_COLOR,
},
// Buttons
primaryButton: {
backgroundColor: MAIN_COLOR,
paddingVertical: 3 * vw,
borderRadius: 10,
},
primaryButtonText: {
textAlign: 'center',
color: WHITE_COLOR,
fontSize: 5 * vw,
},
secondaryButton: {
backgroundColor: WHITE_COLOR,
paddingVertical: 3 * vw,
borderRadius: 10,
borderColor: MAIN_COLOR,
borderWidth: 2,
marginTop: 20,
},
secondaryButtonText: {
textAlign: 'center',
color: MAIN_COLOR,
fontSize: 5 * vw,
},
});
export default globalStyles;