emotion-js/facepaint

Same numbers simplify selector and lose specificity

kirkstrobeck opened this issue · 2 comments

Given

const styles1 = css(mq({ marginTop: [1, 2] }));
const styles2 = css(mq({ marginTop: [500, 500] }));
cx(styles1, styles2)

marginTop should be 500, but it is 2


See https://codesandbox.io/s/k2qzrq2lm7

#5 may close this as well

tkh44 commented

Could you add this as test case in #5's PR? It would be nice to know if it does close it.