Skip to content

The open alternative to Salesforce, designed for AI.

Delete API key button now visible in light mode (#8094)

Balaji Krishnamurthy288fb1dbda24
diff --git a/packages/twenty-ui/src/input/button/components/Button.tsx b/packages/twenty-ui/src/input/button/components/Button.tsx
index 6487178e4b7..a01a85012b2 100644
--- a/packages/twenty-ui/src/input/button/components/Button.tsx
+++ b/packages/twenty-ui/src/input/button/components/Button.tsx
@@ -286,9 +286,7 @@ const StyledButton = styled('button', {
: 'none'};
opacity: ${disabled ? 0.24 : 1};
color: ${!inverted
- ? !disabled
- ? theme.font.color.danger
- : theme.color.red20
+ ? theme.font.color.danger
: theme.font.color.inverted};
&:hover {
background: ${!inverted