Brain: terracotta for fault, a ring set off from the fill, and a dotted ground
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user