diff --git a/frontend/src/components/Flow/flow.css b/frontend/src/components/Flow/flow.css index faef60b..f313a6b 100644 --- a/frontend/src/components/Flow/flow.css +++ b/frontend/src/components/Flow/flow.css @@ -25,6 +25,12 @@ * back. Per canvas, because the brain draws its connections heavier. */ --edge-pulse-width: 2.5; + /* + * The line dragged between two ports is the edge it is about to become: the + * selected stroke at the same weight, so nothing shifts on release. + */ + --xy-connectionline-stroke: var(--primary); + --xy-connectionline-stroke-width: var(--xy-edge-stroke-width); --xy-handle-background-color: var(--card); --xy-handle-border-color: var(--muted-foreground); --xy-selection-background-color: color-mix(