Refine workflow editor canvas styling
This commit is contained in:
@@ -630,9 +630,9 @@ export function WorkflowEditor({
|
|||||||
>
|
>
|
||||||
<Background
|
<Background
|
||||||
gap={18}
|
gap={18}
|
||||||
size={1.4}
|
size={1}
|
||||||
color="hsl(var(--muted-foreground) / 0.18)"
|
color="hsl(var(--muted-foreground) / 0.09)"
|
||||||
className="bg-[radial-gradient(circle_at_20%_10%,hsl(var(--primary)/0.08),transparent_28%),linear-gradient(180deg,hsl(var(--background)),hsl(var(--muted)/0.24))]"
|
className="bg-[radial-gradient(circle_at_20%_10%,hsl(var(--primary)/0.045),transparent_30%),linear-gradient(180deg,hsl(var(--background)),hsl(var(--muted)/0.16))]"
|
||||||
/>
|
/>
|
||||||
<Controls
|
<Controls
|
||||||
className="!bottom-4 !left-4 overflow-hidden !rounded-xl !border !border-border/70 !bg-background/95 !shadow-lg"
|
className="!bottom-4 !left-4 overflow-hidden !rounded-xl !border !border-border/70 !bg-background/95 !shadow-lg"
|
||||||
@@ -968,7 +968,7 @@ function WorkflowCanvasEdge({
|
|||||||
markerEnd={markerEnd}
|
markerEnd={markerEnd}
|
||||||
className={cn(
|
className={cn(
|
||||||
"!stroke-[1.8px] transition-colors",
|
"!stroke-[1.8px] transition-colors",
|
||||||
selected ? "!stroke-primary" : "!stroke-border"
|
selected ? "!stroke-primary" : "!stroke-muted-foreground/45"
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{condition ? (
|
{condition ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user