Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
width: '28px',
height: '28px',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)',
transition: `opacity ${tokens.transitionDurationDefault} ${tokens.transitionEasingDefault}`,
svg: css({
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)'
})
}),
errorImage: css({
backgroundColor: tokens.colorElementLightest,
width: '100%',
height: '40px',
position: 'relative',
zIndex: -1,
svg: css({
fill: tokens.colorTextLight,
width: '100%',
height: '50%',
position: 'absolute',
top: '50%',
left: '50%',
transform: 'translate(-50%, -50%)'
})
})
};