2022-08-23 19:32:51 +00:00
|
|
|
import { Platform, StyleSheet, TextStyle } from 'react-native';
|
2017-09-01 19:42:50 +00:00
|
|
|
|
2022-04-07 14:10:03 +00:00
|
|
|
import { MAX_SCREEN_CONTENT_WIDTH } from '../lib/constants';
|
2018-03-29 17:55:37 +00:00
|
|
|
|
2022-08-23 19:32:51 +00:00
|
|
|
const defaultTextStyle: TextStyle = {
|
|
|
|
textAlign: 'left',
|
|
|
|
backgroundColor: 'transparent',
|
|
|
|
...Platform.select({
|
|
|
|
android: {
|
2024-02-20 20:22:40 +00:00
|
|
|
includeFontPadding: false
|
2022-08-23 19:32:51 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
};
|
|
|
|
|
2017-09-01 19:42:50 +00:00
|
|
|
export default StyleSheet.create({
|
2017-09-21 17:08:00 +00:00
|
|
|
container: {
|
2020-03-30 19:20:50 +00:00
|
|
|
flex: 1,
|
|
|
|
flexDirection: 'column'
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
containerScrollView: {
|
2022-11-21 19:10:38 +00:00
|
|
|
padding: 16,
|
2019-03-29 19:36:07 +00:00
|
|
|
paddingBottom: 30
|
2017-09-21 17:08:00 +00:00
|
|
|
},
|
2019-11-25 20:01:17 +00:00
|
|
|
tabletScreenContent: {
|
2020-03-30 19:20:50 +00:00
|
|
|
justifyContent: 'center',
|
2019-11-25 20:01:17 +00:00
|
|
|
alignSelf: 'center',
|
|
|
|
width: MAX_SCREEN_CONTENT_WIDTH
|
|
|
|
},
|
2019-12-18 21:13:11 +00:00
|
|
|
modalFormSheet: {
|
|
|
|
// Following UIModalPresentationFormSheet size
|
|
|
|
// this not change on different iPad sizes
|
|
|
|
width: 540,
|
2020-06-15 14:00:46 +00:00
|
|
|
height: 620,
|
|
|
|
overflow: 'hidden',
|
|
|
|
borderRadius: 10
|
2019-12-18 21:13:11 +00:00
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
status: {
|
|
|
|
position: 'absolute',
|
2021-03-31 17:47:17 +00:00
|
|
|
bottom: -2,
|
|
|
|
right: -2,
|
|
|
|
borderRadius: 10
|
2018-03-29 17:55:37 +00:00
|
|
|
},
|
2019-07-18 17:44:02 +00:00
|
|
|
textAlignCenter: {
|
|
|
|
textAlign: 'center'
|
|
|
|
},
|
2018-03-29 17:55:37 +00:00
|
|
|
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,
|
|
|
|
lineHeight: 28
|
|
|
|
},
|
|
|
|
loginSubtitle: {
|
|
|
|
fontSize: 16,
|
|
|
|
lineHeight: 20,
|
|
|
|
marginBottom: 15
|
2018-04-24 19:34:03 +00:00
|
|
|
},
|
2018-08-31 18:13:30 +00:00
|
|
|
separator: {
|
2019-12-04 16:39:53 +00:00
|
|
|
height: StyleSheet.hairlineWidth
|
2018-08-31 18:13:30 +00:00
|
|
|
},
|
|
|
|
separatorTop: {
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
|
|
|
separatorBottom: {
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
|
|
|
separatorVertical: {
|
|
|
|
borderTopWidth: StyleSheet.hairlineWidth,
|
|
|
|
borderBottomWidth: StyleSheet.hairlineWidth
|
2018-11-14 21:42:03 +00:00
|
|
|
},
|
2019-11-25 20:01:17 +00:00
|
|
|
separatorLeft: {
|
|
|
|
borderLeftWidth: StyleSheet.hairlineWidth
|
|
|
|
},
|
2018-11-14 21:42:03 +00:00
|
|
|
textRegular: {
|
2022-08-23 19:32:51 +00:00
|
|
|
...defaultTextStyle,
|
2018-11-14 21:42:03 +00:00
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter',
|
2018-11-14 21:42:03 +00:00
|
|
|
fontWeight: '400'
|
|
|
|
},
|
|
|
|
android: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter-Regular'
|
2018-11-14 21:42:03 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textMedium: {
|
2022-08-23 19:32:51 +00:00
|
|
|
...defaultTextStyle,
|
2018-11-14 21:42:03 +00:00
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter',
|
2018-11-14 21:42:03 +00:00
|
|
|
fontWeight: '500'
|
|
|
|
},
|
|
|
|
android: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter-Medium'
|
2018-11-14 21:42:03 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textSemibold: {
|
2022-08-23 19:32:51 +00:00
|
|
|
...defaultTextStyle,
|
2018-11-14 21:42:03 +00:00
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter',
|
2018-11-14 21:42:03 +00:00
|
|
|
fontWeight: '600'
|
|
|
|
},
|
|
|
|
android: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter-SemiBold'
|
2018-11-14 21:42:03 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
textBold: {
|
2022-08-23 19:32:51 +00:00
|
|
|
...defaultTextStyle,
|
2018-11-14 21:42:03 +00:00
|
|
|
...Platform.select({
|
|
|
|
ios: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter',
|
2018-11-14 21:42:03 +00:00
|
|
|
fontWeight: '700'
|
|
|
|
},
|
|
|
|
android: {
|
2022-08-23 19:32:51 +00:00
|
|
|
fontFamily: 'Inter-Bold'
|
2018-11-14 21:42:03 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
inputLastChild: {
|
|
|
|
marginBottom: 15
|
2017-09-01 19:42:50 +00:00
|
|
|
}
|
|
|
|
});
|