Fix visual regressions

This commit is contained in:
Charles Bochet
2023-10-20 00:04:51 +02:00
parent 08772b4456
commit 943731fed8
2 changed files with 3 additions and 2 deletions

View File

@ -196,10 +196,10 @@ const StyledButton = styled.button<
`;
case 'danger':
return `
background: 'transparent';
background: transparent;
border-color: ${
variant === 'secondary'
? !disabled && theme.color.red20
? theme.border.color.danger
: focus
? theme.color.red
: 'transparent'