@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
66 lines (65 loc) • 1.92 kB
JavaScript
import { __assign } from "tslib";
import styles from '../styles';
import { theme } from '../utils';
var nutritionalInfo = {
nutritionalInfo: {
classes: '',
props: {},
style: {
alignItems: 'stretch'
}
},
nutritionalInfo__content: {
classes: '',
props: {},
style: {
alignItems: 'stretch',
backgroundColor: theme.colors.background.secondary,
borderRadius: theme.spacing.borderRadius.medium,
paddingBottom: theme.spacing.padding.small,
paddingLeft: theme.spacing.padding.medium,
paddingRight: theme.spacing.padding.medium,
paddingTop: theme.spacing.padding.small,
width: '100%'
}
},
nutritionalInfo__line: {
classes: '',
props: {},
style: {
alignItems: 'center',
borderStyle: 'solid',
borderBottomColor: theme.colors.border.primary,
borderBottomWidth: 1,
borderLeftWidth: 0,
borderRightWidth: 0,
borderTopWidth: 0,
flexDirection: 'row',
justifyContent: 'space-between',
paddingBottom: 15,
paddingTop: 15
}
},
nutritionalInfo__lineLast: {
classes: '',
props: {},
style: {
alignItems: 'center',
flexDirection: 'row',
justifyContent: 'space-between',
paddingBottom: 15,
paddingTop: 15
}
},
nutritionalInfo__lineLabel: {
classes: '',
props: {},
style: __assign(__assign({}, styles.textBody), { fontSize: theme.fontSizes.large })
},
nutritionalInfo__lineValue: {
classes: '',
props: {},
style: __assign(__assign({}, styles.textBody), { fontSize: theme.fontSizes.large })
}
};
export default nutritionalInfo;