feat: update workflow editor background colors for improved UI consistency
This commit is contained in:
@@ -874,7 +874,7 @@ export function WorkflowEditor({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div ref={editorRef} className="flex h-full min-h-0 w-full bg-[#f7f8fa]">
|
<div ref={editorRef} className="flex h-full min-h-0 w-full bg-[#f2f4f7]">
|
||||||
{nodeLibraryRendered ? (
|
{nodeLibraryRendered ? (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
@@ -961,7 +961,7 @@ export function WorkflowEditor({
|
|||||||
data-workflow-canvas
|
data-workflow-canvas
|
||||||
ref={canvasRef}
|
ref={canvasRef}
|
||||||
className={[
|
className={[
|
||||||
"relative h-full min-h-0 overflow-hidden bg-[#f7f8fa]",
|
"relative h-full min-h-0 overflow-hidden bg-[#f2f4f7]",
|
||||||
pendingNodeDrag?.active ? "ring-2 ring-primary/30" : "",
|
pendingNodeDrag?.active ? "ring-2 ring-primary/30" : "",
|
||||||
].join(" ")}
|
].join(" ")}
|
||||||
>
|
>
|
||||||
@@ -1014,10 +1014,10 @@ export function WorkflowEditor({
|
|||||||
maxZoom={1.35}
|
maxZoom={1.35}
|
||||||
>
|
>
|
||||||
<Background
|
<Background
|
||||||
gap={18}
|
gap={[14, 14]}
|
||||||
size={1}
|
size={2}
|
||||||
color="hsl(var(--muted-foreground) / 0.08)"
|
color="rgb(133 133 173 / 0.15)"
|
||||||
className="bg-[#f7f8fa]"
|
className="bg-[#f2f4f7]"
|
||||||
/>
|
/>
|
||||||
<Controls
|
<Controls
|
||||||
className="!bottom-4 !left-4 overflow-hidden !rounded-xl !border !border-border/70 !bg-background/90 !shadow-lg backdrop-blur"
|
className="!bottom-4 !left-4 overflow-hidden !rounded-xl !border !border-border/70 !bg-background/90 !shadow-lg backdrop-blur"
|
||||||
|
|||||||
Reference in New Issue
Block a user