mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 02:23:43 +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']});
|
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};
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user