@open-tender/store
Version:
A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API
77 lines (76 loc) • 2.24 kB
JavaScript
import { __assign } from "tslib";
import styles from '../styles';
import { theme } from '../utils';
var modalContent = {
modalContent: {
classes: '',
props: {},
style: {
alignItems: 'stretch',
width: 720,
backgroundColor: theme.colors.background.primary
}
},
modalContent__container: {
classes: '',
props: {},
style: {
alignItems: 'stretch',
gap: 50,
padding: theme.spacing.padding.large,
width: '100%'
}
},
modalContent__header: {
classes: '',
props: {},
style: {
alignItems: 'center',
flexGrow: 0,
flexShrink: 0,
gap: theme.spacing.padding.small
}
},
modalContent__title: {
classes: '',
props: {},
style: __assign(__assign({}, styles.textHeading), { fontSize: theme.fontSizes.xxxlarge, textAlign: 'center' })
},
modalContent__subtitle: {
classes: '',
props: {},
style: __assign(__assign({}, styles.textBody), { fontSize: theme.fontSizes.xlarge, textAlign: 'center' })
},
modalContent__content: {
classes: '',
props: {},
style: {
alignItems: 'center',
flexGrow: 0,
flexShrink: 0
}
},
modalContent__footer: {
classes: '',
props: {},
style: {
alignItems: 'center',
flexDirection: 'row',
flexGrow: 0,
flexShrink: 0,
gap: theme.spacing.padding.large,
justifyContent: 'center'
}
},
modalContent__primary: {
classes: '',
props: {},
style: __assign(__assign({}, styles.buttonPrimary), { borderRadius: 64, fontSize: theme.fontSizes.large, paddingBottom: 15, paddingLeft: 30, paddingRight: 30, paddingTop: 15 })
},
modalContent__secondary: {
classes: '',
props: {},
style: __assign(__assign({}, styles.buttonSecondary), { borderRadius: 64, fontSize: theme.fontSizes.large, paddingBottom: 15, paddingLeft: 30, paddingRight: 30, paddingTop: 15 })
}
};
export default modalContent;