Skip to content

The open alternative to Salesforce, designed for AI.

Use the correct color for workflow nodes label (#7829)

Baptiste Devessier36e59d80c488
diff --git a/packages/twenty-front/src/modules/workflow/components/WorkflowDiagramBaseStepNode.tsx b/packages/twenty-front/src/modules/workflow/components/WorkflowDiagramBaseStepNode.tsx
index 8484a29e7ea..9d8c6b39b30 100644
--- a/packages/twenty-front/src/modules/workflow/components/WorkflowDiagramBaseStepNode.tsx
+++ b/packages/twenty-front/src/modules/workflow/components/WorkflowDiagramBaseStepNode.tsx
@@ -66,7 +66,9 @@ const StyledStepNodeLabel = styled.div<{ variant?: Variant }>`
font-weight: ${({ theme }) => theme.font.weight.medium};
column-gap: ${({ theme }) => theme.spacing(2)};
color: ${({ variant, theme }) =>
- variant === 'placeholder' ? theme.font.color.extraLight : null};
+ variant === 'placeholder'
+ ? theme.font.color.extraLight
+ : theme.font.color.primary};
`;
const StyledSourceHandle = styled(Handle)`