From c6dd2c4d07dcfc4114735b560b48503ea91562ba Mon Sep 17 00:00:00 2001 From: Jeff Phillips Date: Wed, 4 Dec 2024 08:11:20 -0500 Subject: [PATCH] fix(edges): Fix colors for selected/hovered edges for light and dark themes (#258) --- .../module/src/components/nodes/labels/LabelBadge.tsx | 8 +++++--- packages/module/src/css/topology-components.css | 8 +++++--- .../components/groups/DefaultTaskGroupCollapsed.tsx | 1 - .../src/pipelines/components/nodes/TaskBadge.tsx | 10 +++++++--- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/packages/module/src/components/nodes/labels/LabelBadge.tsx b/packages/module/src/components/nodes/labels/LabelBadge.tsx index ffce97b2..9b295bd3 100644 --- a/packages/module/src/components/nodes/labels/LabelBadge.tsx +++ b/packages/module/src/components/nodes/labels/LabelBadge.tsx @@ -39,8 +39,10 @@ const LabelBadge = React.forwardRef( height += paddingY * 2; rect = ( ( {rect} : undefined} onActionIconClick={() => onCollapseChange(element, false)} shadowCount={shadowCount} diff --git a/packages/module/src/pipelines/components/nodes/TaskBadge.tsx b/packages/module/src/pipelines/components/nodes/TaskBadge.tsx index de16507f..f9ed8220 100644 --- a/packages/module/src/pipelines/components/nodes/TaskBadge.tsx +++ b/packages/module/src/pipelines/components/nodes/TaskBadge.tsx @@ -38,8 +38,10 @@ const TaskBadge = React.forwardRef( height += paddingY * 2; rect = ( ( {rect} {typeof badge === 'string' ? (