mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-02 10:04:09 +03:00
FIX: Corrected button border color for danger button (#2409)
This commit is contained in:
parent
7a5476e31a
commit
4efbe4d798
@ -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'
|
||||||
|
@ -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};
|
||||||
|
Loading…
Reference in New Issue
Block a user