Skip to content

The open alternative to Salesforce, designed for AI.

Fix: danger font color values & acc. to design specs (#5344)

Indrakant D737fffefbd21
diff --git a/packages/twenty-front/src/modules/ui/input/button/components/Button.tsx b/packages/twenty-front/src/modules/ui/input/button/components/Button.tsx
index 304eaf0bc51..33932d69b63 100644
--- a/packages/twenty-front/src/modules/ui/input/button/components/Button.tsx
+++ b/packages/twenty-front/src/modules/ui/input/button/components/Button.tsx
@@ -203,7 +203,9 @@ const StyledButton = styled('button', {
box-shadow: ${!disabled && focus
? `0 0 0 3px ${theme.color.red10}`
: 'none'};
- color: ${!disabled ? theme.font.color.danger : theme.color.red20};
+ color: ${!disabled
+ ? theme.font.color.danger
+ : theme.border.color.danger};
&:hover {
background: ${!disabled
? theme.background.danger