mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 13:02:15 +03:00
fix: favourite button background (#2128)
update:favourite button background
This commit is contained in:
parent
2f0da64e1b
commit
5ce8b4c73c
@ -196,14 +196,10 @@ const StyledButton = styled.button<
|
||||
`;
|
||||
case 'danger':
|
||||
return `
|
||||
background: ${
|
||||
!disabled ? theme.background.transparent.primary : 'transparent'
|
||||
};
|
||||
background: 'transparent';
|
||||
border-color: ${
|
||||
variant === 'secondary'
|
||||
? !disabled
|
||||
? theme.color.red
|
||||
: theme.color.red20
|
||||
? !disabled && theme.color.red20
|
||||
: focus
|
||||
? theme.color.red
|
||||
: 'transparent'
|
||||
|
Loading…
Reference in New Issue
Block a user