Skip to content

Commit

Permalink
overridden styles for InfoListItem
Browse files Browse the repository at this point in the history
  • Loading branch information
shubham-eaton committed Dec 12, 2024
1 parent 15aae8b commit 7b71a47
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ export const Icon = styled(Avatar, {
height: `2.5rem`,
padding: `.5rem`,
marginRight: theme.spacing(2),
...theme.applyStyles('dark', {
color: getIconColor(),
backgroundColor: statusColor || Colors.black[500],
}),
};
}
return {
Expand All @@ -138,6 +142,10 @@ export const Icon = styled(Avatar, {
height: `2.5rem`,
marginRight: theme.spacing(2),
opacity: isInvisible ? 0 : 'auto',
...theme.applyStyles('dark', {
color: getIconColor(),
backgroundColor: 'transparent',
}),
};
}
);
Expand Down

0 comments on commit 7b71a47

Please sign in to comment.