mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-25 18:13:44 +03:00
fix: fix arrow color in responses (#1452)
This commit is contained in:
parent
4729fc3d8f
commit
6bedcf94b2
|
@ -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};
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user