FIX: Corrected button border color for danger button (#2409)

This commit is contained in:
Uwem Israel 2023-11-08 23:47:12 +01:00 committed by GitHub
parent 7a5476e31a
commit 4efbe4d798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -208,7 +208,7 @@ const StyledButton = styled.button<
variant === 'secondary' variant === 'secondary'
? focus ? focus
? theme.color.red ? theme.color.red
: theme.color.red20 : theme.border.color.danger
: focus : focus
? theme.color.red ? theme.color.red
: 'transparent' : 'transparent'

View File

@ -43,7 +43,7 @@ const StyledCenteredTitle = styled.div`
`; `;
export const StyledConfirmationButton = styled(StyledCenteredButton)` export const StyledConfirmationButton = styled(StyledCenteredButton)`
border-color: ${({ theme }) => theme.color.red20}; border-color: ${({ theme }) => theme.border.color.danger};
box-shadow: none; box-shadow: none;
color: ${({ theme }) => theme.color.red}; color: ${({ theme }) => theme.color.red};
font-size: ${({ theme }) => theme.font.size.md}; font-size: ${({ theme }) => theme.font.size.md};