The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix workflow nodes color in dark mode (#18456)
BugIsGod1c898f36d697
diff --git a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsxindex ca852371cda..2afcf48c659 100644--- a/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx+++ b/packages/twenty-front/src/modules/workflow/workflow-diagram/components/WorkflowDiagramCanvasBase.tsx@@ -164,7 +164,7 @@ export const WorkflowDiagramCanvasBase = ({event: MouseEvent | React.MouseEvent<Element, MouseEvent>;}) => void;}) => {- const { theme } = useContext(ThemeContext);+ const { theme, colorScheme } = useContext(ThemeContext);const store = useStore();const reactflow = useReactFlow();@@ -623,6 +623,7 @@ export const WorkflowDiagramCanvasBase = ({preventScrolling={true}connectionLineComponent={WorkflowDiagramConnection}connectionRadius={0}+ colorMode={colorScheme}><Background color={theme.border.color.medium} size={2} />