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

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XC2jX6Hdj7pxGGKzBTrbqB
This commit is contained in:
2026-08-17 15:07:30 +02:00
co-authored by Claude Opus 5
parent e19776aed1
commit 59295b1646
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>
)
}