@shopgate/engage
Version:
Shopgate's ENGAGE library.
29 lines • 621 B
JavaScript
import { css } from 'glamor';
import { themeConfig } from '@shopgate/pwa-common/helpers/config';
const {
variables
} = themeConfig;
export const wrapper = css({
display: 'block',
color: 'var(--color-text-low-emphasis)',
fontSize: 12,
lineHeight: 'unset',
padding: `${variables.gap.big}px 0`,
'> *:first-child': {
marginTop: 0
},
' ol, ul': {
margin: `${variables.gap.small}px 0`,
paddingLeft: variables.gap.xbig
},
' ol': {
listStyle: 'decimal'
},
' ul': {
listStyle: 'disc'
},
' a': {
textDecoration: 'underline',
color: 'var(--color-primary)'
}
}).toString();