From 2ea2f722d4161c4c7802f7300f61623d72fd5e54 Mon Sep 17 00:00:00 2001 From: Dmitrii Vasilev Date: Sun, 18 Oct 2026 11:42:51 +0700 Subject: [PATCH] feat(website): /t27f/graph/ in the site's own style (dark, Outfit and JetBrains Mono) The page was plain white. The page chrome now uses the t27.ai tokens from src/index.css (black page, #0b0d0c panel, #00FF88 accent, Outfit text, JetBrains Mono for names), with a link back to t27.ai. Box and line colours are not set here: they come from spec_graph_view.t27 (gHashTag/t27#10215, master 538df0750), so t27f.wasm, spec_graph_view.mjs and the vendored view spec are regenerated on the lab and PROVENANCE.txt carries the new checksums. graph.js stays 39 lines; its only change is the SVG font. Derived edges are not included: the derive pass is a separate module the wasm glue does not call yet. Refs #1648 Co-Authored-By: Claude Sonnet 5.5 --- apps/website/README.md | 3 ++ apps/website/public/t27f/graph/PROVENANCE.txt | 36 +++++++++++++----- apps/website/public/t27f/graph/graph.js | 2 +- apps/website/public/t27f/graph/index.html | 31 ++++++++++++++- .../public/t27f/graph/spec_graph_view.mjs | 8 ++-- .../t27f/graph/specs/spec_graph_view.t27 | 24 +++++++----- apps/website/public/t27f/graph/t27f.wasm | Bin 38321 -> 39273 bytes 7 files changed, 78 insertions(+), 26 deletions(-) diff --git a/apps/website/README.md b/apps/website/README.md index 73d595b745..5873838511 100644 --- a/apps/website/README.md +++ b/apps/website/README.md @@ -243,6 +243,9 @@ one line per edge, labelled with kind, name, source lines and inference label. T `specs/t27f/spec_graph_export.t27` and the layout from `specs/t27f/spec_graph_view.t27`, both compiled to `t27f.wasm`; `graph.js` is only the glue (loads the wasm, feeds the bytes, emits SVG). A spec over the graph's cap (192 nodes, 254 edges) is refused with the verdict, never truncated. +The page is in the site's own style (the tokens of `src/index.css`, not `docs/BRAND-KIT.md`). The +colour of every box and line lives in `spec_graph_view.t27` (change it there, in gHashTag/t27, then +regenerate `t27f.wasm`); the CSS in `index.html` styles the page chrome only. `PROVENANCE.txt` in that directory records the t27 commit, the compiler, the checksums and how to rebuild. To add a spec to the picker, copy it from t27 into `specs/` there and add an `