Skip to content

Commit

Permalink
fix: fix arrow color in responses (#1452)
Browse files Browse the repository at this point in the history
  • Loading branch information
stasiukanya committed Nov 5, 2020
1 parent 4729fc3 commit 6bedcf9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/common-elements/shelfs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ export const ShelfIcon = styled(IntShelfIcon)`
transform: rotateZ(${props => directionMap[props.direction || 'down']});
polygon {
fill: ${props =>
(props.color && props.theme.colors[props.color] && props.theme.colors[props.color].main) ||
props.color};
fill: ${({ color, theme }) =>
(color && theme.colors.responses[color] && theme.colors.responses[color].color) || color};
}
`;

Expand Down

0 comments on commit 6bedcf9

Please sign in to comment.