fix: favourite button background (#2128)

update:favourite button background
This commit is contained in:
Kirthi Bagrecha Jain 2023-10-19 21:24:36 +05:30 committed by GitHub
parent 2f0da64e1b
commit 5ce8b4c73c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'