Fixed Actor Icon Size & color (#12373)
 1. was 16px instead of 14px like 2. 2. was 14px – font color had low contrast – height was 16px instead of 14px Couldn't test if 1 was fixed as didn't have a local email server. 2. is fixed:  --------- Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com> Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
committed by
GitHub
parent
e723d64bc4
commit
f81d396413
@ -56,8 +56,8 @@ export const AvatarChipsLeftComponent: React.FC<
|
||||
backgroundColor={theme.background.invertedSecondary}
|
||||
>
|
||||
<LeftIcon
|
||||
color="white"
|
||||
size={theme.icon.size.md}
|
||||
color={theme.font.color.inverted}
|
||||
size={theme.icon.size.sm}
|
||||
stroke={theme.icon.stroke.sm}
|
||||
/>
|
||||
</StyledInvertedIconContainer>
|
||||
@ -66,7 +66,7 @@ export const AvatarChipsLeftComponent: React.FC<
|
||||
|
||||
return (
|
||||
<LeftIcon
|
||||
size={theme.icon.size.md}
|
||||
size={theme.icon.size.sm}
|
||||
stroke={theme.icon.stroke.sm}
|
||||
color={LeftIconColor || 'currentColor'}
|
||||
/>
|
||||
|
||||
@ -109,17 +109,11 @@ const StyledContainer = withTheme(styled.div<
|
||||
background-color: ${({ theme, variant }) =>
|
||||
variant === ChipVariant.Highlighted || variant === ChipVariant.Static
|
||||
? theme.background.transparent.light
|
||||
: variant === ChipVariant.Rounded
|
||||
? theme.background.transparent.lighter
|
||||
: 'inherit'};
|
||||
: 'inherit'};
|
||||
|
||||
border: ${({ theme, variant }) =>
|
||||
variant === ChipVariant.Rounded
|
||||
? `1px solid ${theme.border.color.medium}`
|
||||
: 'none'};
|
||||
border: none;
|
||||
|
||||
border-radius: ${({ theme, variant }) =>
|
||||
variant === ChipVariant.Rounded ? '50px' : theme.border.radius.sm};
|
||||
border-radius: ${({ theme }) => theme.border.radius.sm};
|
||||
|
||||
& > svg {
|
||||
flex-shrink: 0;
|
||||
|
||||
Reference in New Issue
Block a user