Skip to content

The open alternative to Salesforce, designed for AI.

fix(ui): added primary blue accent disabled color. (#11945)

Yadong (Adam) Zhang3e9bff22bb73
diff --git a/packages/twenty-ui/src/input/button/components/Button/Button.tsx b/packages/twenty-ui/src/input/button/components/Button/Button.tsx
index 28602d917c9..ad08b0d072e 100644
--- a/packages/twenty-ui/src/input/button/components/Button/Button.tsx
+++ b/packages/twenty-ui/src/input/button/components/Button/Button.tsx
@@ -100,7 +100,9 @@ const StyledButton = styled('button', {
case 'blue':
return css`
background: ${!inverted
- ? theme.color.blue
+ ? disabled
+ ? theme.accent.accent4060
+ : theme.color.blue
: theme.background.primary};
border-color: ${!inverted
? focus