2018-04-24 19:34:03 +00:00
|
|
|
import { StyleSheet, Platform } from 'react-native';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2018-09-25 19:28:42 +00:00
|
|
|
import {
|
2019-03-29 19:36:07 +00:00
|
|
|
COLOR_DANGER, COLOR_BUTTON_PRIMARY, COLOR_SEPARATOR, COLOR_TEXT, COLOR_TEXT_DESCRIPTION, COLOR_TITLE
|
2018-09-25 19:28:42 +00:00
|
|
|
} from '../constants/colors';
|
2018-03-29 17:55:37 +00:00
|
|
|
|
2017-09-01 19:42:50 +00:00
|
|
|
export default StyleSheet.create({
|
2017-09-21 17:08:00 +00:00
|
|
|
container: {
|
2017-11-07 16:28:02 +00:00
|
|
|
backgroundColor: 'white',
|
|
|
|
flex: 1
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
containerScrollView: {
|
2019-03-29 19:36:07 +00:00
|
|
|
padding: 15,
|
|
|
|
paddingBottom: 30
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
buttonContainerLastChild: {
|
|
|
|
marginBottom: 40
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
buttonContainer: {
|
|
|
|
paddingVertical: 15,
|
|
|
|
backgroundColor: '#414852',
|
2018-03-29 17:55:37 +00:00
|
|
|
marginBottom: 20,
|
|
|
|
borderRadius: 2
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
2017-11-13 20:50:07 +00:00
|
|
|
buttonContainer_inverted: {
|
|
|
|
paddingVertical: 15,
|
|
|
|
marginBottom: 0
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
button: {
|
|
|
|
textAlign: 'center',
|
|
|
|
color: 'white',
|
|
|
|
fontWeight: '700'
|
|
|
|
},
|
2017-11-13 20:50:07 +00:00
|
|
|
button_inverted: {
|
|
|
|
textAlign: 'center',
|
|
|
|
color: '#414852',
|
|
|
|
fontWeight: '700',
|
|
|
|
flexGrow: 1
|
|
|
|
},
|
2017-09-01 19:42:50 +00:00
|
|
|
error: {
|
|
|
|
textAlign: 'center',
|
2018-03-29 17:55:37 +00:00
|
|
|
color: COLOR_DANGER,
|
2017-09-01 19:42:50 +00:00
|
|
|
paddingTop: 5
|
|
|
|
},
|
|
|
|
loading: {
|
|
|
|
flex: 1,
|
|
|
|
position: 'absolute',
|
|
|
|
backgroundColor: 'rgba(255,255,255,.2)',
|
|
|
|
left: 0,
|
|
|
|
top: 0
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
status: {
|
|
|
|
position: 'absolute',
|
|
|
|
bottom: -3,
|
|
|
|
right: -3,
|
|
|
|
borderWidth: 3,
|
2019-03-01 16:49:11 +00:00
|
|
|
borderColor: '#fff'
|
2018-03-29 17:55:37 +00:00
|
|
|
},
|
2019-03-29 19:36:07 +00:00
|
|
|
link: {
|
|
|
|
fontWeight: 'bold',
|
|
|
|
color: COLOR_BUTTON_PRIMARY
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
alignItemsFlexEnd: {
|
|
|
|
alignItems: 'flex-end'
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
alignItemsFlexStart: {
|
|
|
|
alignItems: 'flex-start'
|
|
|
|
},
|
2019-05-03 13:33:38 +00:00
|
|
|
alignItemsCenter: {
|
|
|
|
alignItems: 'center'
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
textAlignRight: {
|
|
|
|
textAlign: 'right'
|
|
|
|
},
|
|
|
|
opacity5: {
|
|
|
|
opacity: 0.5
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
|
|
|
loginTitle: {
|
|
|
|
fontSize: 20,
|
2018-11-14 21:42:03 +00:00
|
|
|
marginVertical: 15,
|
2019-03-29 19:36:07 +00:00
|
|
|
color: COLOR_TITLE,
|
2018-11-14 21:42:03 +00:00
|
|
|
lineHeight: 28
|
|
|
|
},
|
|
|
|
loginSubtitle: {
|
|
|
|
fontSize: 16,
|
2019-03-29 19:36:07 +00:00
|
|
|
color: COLOR_TITLE,
|
2018-11-14 21:42:03 +00:00
|
|
|
lineHeight: 20,
|
|
|
|
marginBottom: 15
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
2018-06-13 01:33:00 +00:00
|
|
|
headerButton: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
height: 44,
|
|
|
|
width: 44,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center'
|
2018-08-31 18:13:30 +00:00
|
|
|
},
|
|
|
|
separator: {
|
|
|
|
height: StyleSheet.hairlineWidth,
|
|
|
|
backgroundColor: COLOR_SEPARATOR
|
|
|
|
},
|
|
|
|
separatorTop: {
|
|
|
|
borderColor: COLOR_SEPARATOR,
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
|
|
|
separatorBottom: {
|
|
|
|
borderColor: COLOR_SEPARATOR,
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
|
|
|
separatorVertical: {
|
|
|
|
borderColor: COLOR_SEPARATOR,
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth,
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth
|
2018-11-14 21:42:03 +00:00
|
|
|
},
|
|
|
|
textRegular: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '400'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif',
|
|
|
|
fontWeight: 'normal'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textMedium: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '500'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif-medium',
|
|
|
|
fontWeight: 'normal'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textSemibold: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '600'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif',
|
|
|
|
fontWeight: 'bold'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textBold: {
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
|
|
|
fontFamily: 'System',
|
|
|
|
fontWeight: '700'
|
|
|
|
},
|
|
|
|
android: {
|
|
|
|
includeFontPadding: false,
|
|
|
|
fontFamily: 'sans-serif',
|
|
|
|
fontWeight: 'bold'
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
2019-03-29 19:36:07 +00:00
|
|
|
textColorTitle: {
|
|
|
|
color: COLOR_TITLE
|
|
|
|
},
|
|
|
|
textColorNormal: {
|
|
|
|
color: COLOR_TEXT
|
|
|
|
},
|
|
|
|
textColorDescription: {
|
|
|
|
color: COLOR_TEXT_DESCRIPTION
|
|
|
|
},
|
2018-11-14 21:42:03 +00:00
|
|
|
inputLastChild: {
|
|
|
|
marginBottom: 15
|
2017-09-01 19:42:50 +00:00
|
|
|
}
|
|
|
|
});
|