From 770ee11b9c0324cce92c3320b98f5a6653278b87 Mon Sep 17 00:00:00 2001
From: Indrakant D <60315832+its-id@users.noreply.github.com>
Date: Wed, 8 May 2024 12:23:26 +0530
Subject: [PATCH] fix: Blue Button Secondary Color Issue in Dark Mode (#5333)
fixes
[#5305](https://github.com/twentyhq/twenty/issues/5305#issue-2280997523)
light mode:
dark mode
---
.../src/modules/ui/input/button/components/Button.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 6fa8c4565..71290ecc7 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'};