fix: fix arrow color in responses

This commit is contained in:
Anya Stasiuk 2020-11-05 14:47:24 +02:00
parent 4729fc3d8f
commit 15a1f6dc07

View File

@ -43,9 +43,8 @@ export const ShelfIcon = styled(IntShelfIcon)`
transform: rotateZ(${props => directionMap[props.direction || 'down']}); transform: rotateZ(${props => directionMap[props.direction || 'down']});
polygon { polygon {
fill: ${props => fill: ${({ color, theme }) =>
(props.color && props.theme.colors[props.color] && props.theme.colors[props.color].main) || (color && theme.colors.responses[color] && theme.colors.responses[color].color) || color};
props.color};
} }
`; `;