Web: Files: fixed badge theme
This commit is contained in:
parent
52bf38ba84
commit
9be980fdb9
@ -169,7 +169,6 @@ const LinkRow = (props) => {
|
||||
return (
|
||||
<StyledLinkRow {...rest} isExpired={isExpired}>
|
||||
<Avatar
|
||||
className="avatar"
|
||||
size="min"
|
||||
source={EyeReactSvgUrl}
|
||||
roleIcon={expiryDate ? <ClockReactSvg /> : null}
|
||||
|
@ -90,12 +90,13 @@ const StyledLinkRow = styled.div`
|
||||
}
|
||||
|
||||
.avatar_role-wrapper {
|
||||
${({ isExpired }) =>
|
||||
isExpired &&
|
||||
${({ isExpired, theme }) =>
|
||||
css`
|
||||
svg {
|
||||
path {
|
||||
fill: #f98e86;
|
||||
fill: ${isExpired
|
||||
? theme.infoPanel.links.iconErrorColor
|
||||
: theme.infoPanel.links.iconColor};
|
||||
}
|
||||
}
|
||||
`}
|
||||
|
@ -2013,6 +2013,11 @@ const Base = {
|
||||
closeButtonSize: "17px",
|
||||
closeButtonBg: "transparent",
|
||||
|
||||
links: {
|
||||
iconColor: "#3B72A7",
|
||||
iconErrorColor: "rgba(242, 28, 14, 0.5)", //"#F21C0E",
|
||||
},
|
||||
|
||||
members: {
|
||||
iconColor: "#A3A9AE",
|
||||
iconHoverColor: "#657077",
|
||||
|
@ -2009,6 +2009,11 @@ const Dark = {
|
||||
closeButtonSize: "12px",
|
||||
closeButtonBg: "#a2a2a2",
|
||||
|
||||
links: {
|
||||
iconColor: "#858585",
|
||||
iconErrorColor: "rgba(242, 28, 14, 0.5)", //"#F21C0E",
|
||||
},
|
||||
|
||||
members: {
|
||||
iconColor: "#A3A9AE",
|
||||
iconHoverColor: "#ffffff",
|
||||
|
Loading…
Reference in New Issue
Block a user