2018-08-10 17:26:36 +00:00
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
|
2018-11-14 21:42:03 +00:00
|
|
|
import { verticalScale, moderateScale } from '../../utils/scaling';
|
2019-12-11 23:01:12 +00:00
|
|
|
import { isTablet } from '../../utils/deviceInfo';
|
2018-11-14 21:42:03 +00:00
|
|
|
import sharedStyles from '../Styles';
|
2018-08-10 17:26:36 +00:00
|
|
|
|
|
|
|
export default StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'column',
|
2019-12-11 23:01:12 +00:00
|
|
|
justifyContent: isTablet ? 'center' : 'flex-start'
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
onboarding: {
|
|
|
|
alignSelf: 'center',
|
|
|
|
marginTop: verticalScale(30),
|
2018-09-11 16:32:52 +00:00
|
|
|
marginBottom: verticalScale(35),
|
2018-11-14 21:42:03 +00:00
|
|
|
maxHeight: verticalScale(150),
|
2018-09-19 14:18:32 +00:00
|
|
|
resizeMode: 'contain',
|
|
|
|
width: 309,
|
|
|
|
height: 250
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
title: {
|
2018-11-14 21:42:03 +00:00
|
|
|
...sharedStyles.textBold,
|
|
|
|
letterSpacing: 0,
|
2018-08-10 17:26:36 +00:00
|
|
|
fontSize: moderateScale(24),
|
2018-11-14 21:42:03 +00:00
|
|
|
alignSelf: 'center',
|
|
|
|
marginBottom: verticalScale(8)
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
subtitle: {
|
2018-11-14 21:42:03 +00:00
|
|
|
...sharedStyles.textRegular,
|
2018-08-10 17:26:36 +00:00
|
|
|
fontSize: moderateScale(16),
|
2018-11-14 21:42:03 +00:00
|
|
|
color: '#54585E',
|
|
|
|
alignSelf: 'center'
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
buttonsContainer: {
|
|
|
|
marginBottom: verticalScale(10),
|
|
|
|
marginTop: verticalScale(30)
|
|
|
|
},
|
|
|
|
buttonContainer: {
|
2018-09-11 16:32:52 +00:00
|
|
|
marginHorizontal: 15,
|
|
|
|
marginVertical: 5,
|
2018-08-10 17:26:36 +00:00
|
|
|
flexDirection: 'row',
|
2018-09-11 16:32:52 +00:00
|
|
|
height: 60,
|
2018-08-10 17:26:36 +00:00
|
|
|
alignItems: 'center',
|
2018-09-11 16:32:52 +00:00
|
|
|
borderWidth: 1,
|
|
|
|
borderRadius: 2
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
buttonCenter: {
|
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'column',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
buttonTitle: {
|
2018-11-14 21:42:03 +00:00
|
|
|
...sharedStyles.textSemibold,
|
|
|
|
fontSize: 17
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
buttonSubtitle: {
|
2018-11-14 21:42:03 +00:00
|
|
|
...sharedStyles.textRegular,
|
|
|
|
fontSize: 15
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
buttonIconContainer: {
|
|
|
|
width: 65,
|
|
|
|
alignItems: 'center',
|
|
|
|
justifyContent: 'center'
|
|
|
|
},
|
|
|
|
buttonIcon: {
|
2018-09-11 16:32:52 +00:00
|
|
|
marginHorizontal: 10,
|
2018-08-31 16:46:33 +00:00
|
|
|
width: 20,
|
|
|
|
height: 20
|
2018-08-10 17:26:36 +00:00
|
|
|
},
|
|
|
|
buttonActive: {
|
|
|
|
opacity: 0.5
|
|
|
|
},
|
2018-09-19 14:18:32 +00:00
|
|
|
closeModal: {
|
|
|
|
position: 'absolute',
|
|
|
|
left: 15
|
2018-08-10 17:26:36 +00:00
|
|
|
}
|
|
|
|
});
|