@shopgate/engage
Version:
Shopgate's ENGAGE library.
21 lines • 474 B
JavaScript
import { css } from 'glamor';
import { themeName } from '@shopgate/pwa-common/helpers/config';
const isIOS = themeName.includes('ios');
const priceWrapper = css(isIOS ? {
lineHeight: 1.75,
marginTop: 2,
alignItems: 'center'
} : {
lineHeight: 1.75
}).toString();
const basicPrice = css({
fontSize: '0.875rem'
}).toString();
const strikedPrice = css(isIOS ? {
fontSize: '0.75rem'
} : {}).toString();
export default {
basicPrice,
priceWrapper,
strikedPrice
};