Only show outline box if not mixed colors

This commit is contained in:
Paul Kaplan 2017-10-27 11:37:08 -04:00
parent 5bae62e7d1
commit 7622d02184

View file

@ -20,7 +20,7 @@ const ColorButtonComponent = props => (
> >
<div <div
className={classNames(styles.colorButtonSwatch, { className={classNames(styles.colorButtonSwatch, {
[styles.outlineSwatch]: props.outline [styles.outlineSwatch]: props.outline && !(props.color === MIXED)
})} })}
style={{ style={{
background: colorToBackground(props.color) background: colorToBackground(props.color)