mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 21:13:01 +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':
|
case 'danger':
|
||||||
return `
|
return `
|
||||||
background: ${
|
background: 'transparent';
|
||||||
!disabled ? theme.background.transparent.primary : 'transparent'
|
|
||||||
};
|
|
||||||
border-color: ${
|
border-color: ${
|
||||||
variant === 'secondary'
|
variant === 'secondary'
|
||||||
? !disabled
|
? !disabled && theme.color.red20
|
||||||
? theme.color.red
|
|
||||||
: theme.color.red20
|
|
||||||
: focus
|
: focus
|
||||||
? theme.color.red
|
? theme.color.red
|
||||||
: 'transparent'
|
: 'transparent'
|
||||||
|
Loading…
Reference in New Issue
Block a user