Skip to content

The open alternative to Salesforce, designed for AI.

Fix hardcoded colors in 2FA verification screen for dark mode (#17868)

Félix Malfaite757a1418da7
diff --git a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx
index d3bd2e59fd9..d462678c8ce 100644
--- a/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx
+++ b/packages/twenty-front/src/modules/auth/sign-in-up/components/internal/SignInUpTwoFactorAuthenticationVerification.tsx
@@ -118,7 +118,7 @@ const StyledCaretContainer = styled.div`
const StyledCaret = styled.div`
width: 1px;
height: 2rem;
- background-color: white;
+ background-color: ${({ theme }) => theme.font.color.light};
`;
const FakeCaret = () => {
@@ -137,7 +137,7 @@ const StyledDashContainer = styled.div`
`;
const StyledDash = styled.div`
- background-color: black;
+ background-color: ${({ theme }) => theme.font.color.primary};
border-radius: 9999px;
height: 0.25rem;
width: 0.75rem;