From 48bb7491e347268012d6711213241b97f5b36a7f Mon Sep 17 00:00:00 2001 From: Austin Plear Date: Sat, 8 Aug 2026 11:24:07 -0400 Subject: [PATCH] style: give the two viewers one shared visual language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The flow viewer and the quality report install side by side and render side-by-side artifacts, but only shared a localStorage key. Both now draw from one token set: the same dark/darker/code surface stack, the same warm-paper light theme, one accent, one border/radius/shadow scale, and the same chip, label and button treatments. Design notes: - color-scheme is set per theme in both files, so the report's native + - +
@@ -374,7 +396,8 @@ el("h3", null, "Node kinds"); var lg = el("div", "legend"); [["entry","--node-entry"],["step","--node-step"],["external","--node-ext"],["io","--node-io"]].forEach(function(k){ - var sw = el("div", "sw", null, lg); sw.style.background = "var(" + k[1] + ")"; + var sw = el("div", "sw", null, lg); + sw.style.background = "var(" + k[1] + ")"; sw.style.borderColor = "var(" + k[1] + "-s)"; el("div", null, k[0], lg); }); el("h3", null, "Edge kinds");