Skip to content

The open alternative to Salesforce, designed for AI.

fix: Blue Button Secondary Color Issue in Dark Mode (#5333)

Indrakant D770ee11b9c03
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 6fa8c4565e7..71290ecc781 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
@@ -160,7 +160,7 @@ const StyledButton = styled.button<
border-color: ${variant === 'secondary'
? focus
? theme.color.blue
- : theme.color.blue20
+ : theme.accent.primary
: focus
? theme.color.blue
: 'transparent'};