Skip to content

Commit 2729a69

Browse files
committed
fix(website): keep dimmed graph nodes clearly visible under a spotlight
The dim color sat so close to the scene background that spotlighted views read as if the other nodes had been removed. Brighten the dimmed node and link colors so a spotlight grays the rest out instead of hiding it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N3Cn3zmu1uUVkYJfwyPFeJ
1 parent 7ba4458 commit 2729a69

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

website/src/components/graph/TtscWebsiteGraphViewerScene.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ type ViewerNode = ITtscWebsiteGraphViewer.Node;
1414

1515
const { LINK_COLORS, NODE_COLORS, linkKey } = TtscWebsiteGraphViewerModel;
1616

17-
const DIMMED_NODE = "#232833";
18-
const DIMMED_LINK = "#ffffff0a";
17+
// Dimmed nodes must stay clearly visible against the #0a0c10 background: a
18+
// spotlight grays the rest out, it never makes them look removed.
19+
const DIMMED_NODE = "#434c5c";
20+
const DIMMED_LINK = "#ffffff14";
1921
const SELECTED_NODE = "#f5f8ff";
2022

2123
/** A handle the React shell uses to drive the imperative scene. */

0 commit comments

Comments
 (0)