This commit is contained in:
Jori Lallo
2017-10-29 23:28:45 -07:00
parent fe9965093c
commit 148cf8ad33

View File

@@ -131,17 +131,17 @@ const Swatch = ({ onClick, ...props }: SwatchProps) => (
);
const SwatchOutset = styled(Flex)`
width: 24px;
height: 24px;
margin-right: 5px;
border: 2px solid ${({ active, color }) => (active ? color : 'transparent')};
border-radius: 2px;
background: ${({ color }) => color};
${({ onClick }) => onClick && `cursor: pointer;`}
width: 24px;
height: 24px;
margin-right: 5px;
border: 2px solid ${({ active, color }) => (active ? color : 'transparent')};
border-radius: 2px;
background: ${({ color }) => color};
${({ onClick }) => onClick && `cursor: pointer;`}
&:last-child {
margin-right: 0;
}
&:last-child {
margin-right: 0;
}
`;
const SwatchInset = styled(Flex)`