/* eslint-disable import/prefer-default-export */ import { fontStyles } from '../../../styles/common'; import { StyleSheet } from 'react-native'; import Device from '../../../util/device'; const breakPoint = Device.getDeviceHeight() < 700; export const createStyles = (colors: any) => StyleSheet.create({ bottomModal: { justifyContent: 'flex-end', margin: 0, }, areYouSure: { width: '100%', padding: breakPoint ? 16 : 24, justifyContent: 'center', alignSelf: 'center', }, warningIcon: { alignSelf: 'center', color: colors.error.default, marginVertical: 10, }, heading: { marginHorizontal: 6, color: colors.text.default, ...fontStyles.bold, fontSize: 20, textAlign: 'center', lineHeight: breakPoint ? 24 : 26, }, red: { marginHorizontal: 24, color: colors.error.default, }, warningText: { ...fontStyles.normal, textAlign: 'center', fontSize: 14, lineHeight: breakPoint ? 18 : 22, color: colors.text.default, marginTop: 20, }, bold: { ...fontStyles.bold, }, delete: { marginBottom: 20, }, input: { ...fontStyles.normal, fontSize: 16, paddingTop: 2, color: colors.text.default, }, deleteWarningMsg: { ...fontStyles.normal, fontSize: 16, lineHeight: 20, marginTop: 10, color: colors.error.default, }, });