Brain: terracotta for fault, a ring set off from the fill, and a dotted ground

This commit is contained in:
2026-08-17 15:07:30 +02:00
parent 638e0936b0
commit 28c1fa571f
3 changed files with 114 additions and 37 deletions
+9 -1
View File
@@ -1,6 +1,8 @@
import { useQuery } from "@tanstack/react-query"
import { useNavigate } from "@tanstack/react-router"
import {
Background,
BackgroundVariant,
type Edge,
type Node,
ReactFlow,
@@ -209,7 +211,13 @@ function BrainCanvas() {
navigate({ to: "/flows/$flowName", params: { flowName: flow } })
}}
className="brain-flat h-full w-full"
/>
>
{/* The same dot grid the editor's canvas uses, quieter and masked back
to nothing at the edges — see flow.css. No zoom compensation here:
this canvas only ever sits at whatever `fitView` chose and cannot
be zoomed, so there is no moiré to chase. */}
<Background variant={BackgroundVariant.Dots} gap={24} size={1.5} />
</ReactFlow>
</motion.div>
)
}