Web:Components:PasswordInput: fixed text color for tooltip in dark theme
This commit is contained in:
parent
f62a69a957
commit
64d90c5d5d
@ -161,8 +161,11 @@ const TooltipStyle = styled.div`
|
||||
|
||||
const StyledTooltipContainer = styled(Text)`
|
||||
//margin: 8px 16px 16px 16px;
|
||||
color: ${(props) => props.theme.passwordInput.tooltipTextColor} !important;
|
||||
`;
|
||||
|
||||
StyledTooltipContainer.defaultProps = { theme: Base };
|
||||
|
||||
const StyledTooltipItem = styled(Text)`
|
||||
margin-left: 8px;
|
||||
height: 24px;
|
||||
|
@ -696,6 +696,8 @@ const Base = {
|
||||
|
||||
lineHeight: "32px",
|
||||
|
||||
tooltipTextColor: black,
|
||||
|
||||
text: {
|
||||
lineHeight: "14px",
|
||||
marginTop: "-2px",
|
||||
|
@ -686,6 +686,8 @@ const Dark = {
|
||||
color: "#858585",
|
||||
disableColor: "#858585",
|
||||
|
||||
tooltipTextColor: black,
|
||||
|
||||
iconColor: "#646464",
|
||||
hoverIconColor: "#858585",
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user