Web:Components:DropDownIten: fix dark theme for icon with rect fill

This commit is contained in:
TimofeyBoyko 2022-10-05 13:02:34 +03:00
parent 73fa50cc46
commit 62c1acb5e4

View File

@ -63,6 +63,13 @@ const StyledDropdownItem = styled.div`
? props.theme.dropDownItem.icon.disableColor
: props.theme.dropDownItem.icon.color};
}
rect[fill] {
fill: ${(props) =>
props.disabled
? props.theme.dropDownItem.icon.disableColor
: props.theme.dropDownItem.icon.color};
}
}
}