From 664e0ccef2cb59d5e19aad6d681ac8f98e9cf214 Mon Sep 17 00:00:00 2001 From: Manuel de Brito Fontes Date: Fri, 4 Dec 2026 23:16:16 -0300 Subject: [PATCH 1/2] laboratory: the pages draw the console the target draws lab.css and lab.js are the console: its components, nested under the class app so they weigh what they weighed in target.html, and its six screens. target.html keeps only its viewer. The 32 images came out byte for byte the same after the move. index.html draws the console's Workspaces and Inbox, its ranks of type in each theme, its buttons in each state, its states, rows and cards, and a terminal, all from lab.js. The dialog, toast, split view, open tints and the panels of the old look are gone. The five-second test shows the new Workspaces in dark or in light and asks whether the verdict on the spot is read before the one fill. The recognition test shows the Inbox, Workspaces and Overview without the mark or the name. The shooter holds every test screen to what a view of the target is held to. A recognition screen also fails on "spin" in its text or the mark in it. Co-Authored-By: Claude Opus 5.5 --- README.md | 33 +- cmd/palette/outputs.go | 4 +- five-seconds.html | 145 ++++----- index.html | 393 +++++++++++------------ lab.css | 529 +++++++++++++++++++------------ lab.js | 538 ++++++++++++++++++++++--------- palette.toml | 7 +- recognition.html | 38 +-- target.html | 699 +---------------------------------------- target/README.md | 5 +- target/shoot.mjs | 51 ++- 11 files changed, 1084 insertions(+), 1358 deletions(-) diff --git a/README.md b/README.md index ebe6762..179aee4 100644 --- a/README.md +++ b/README.md @@ -6,22 +6,25 @@ variables), the agent client the dashboard frames (the T3 Code fork's variables) else (`dist/tokens.json`). **[See it](https://spin-stack.github.io/brand/)**: `index.html` is the laboratory. -It draws the site's landing and a docs page, the dashboard's workspaces with their states, a -dialog and a toast; where the app as it is is shown; the mark's guide - -sizes, clear space, the lockup, the grounds it goes on and what it is not; the type scale in both -faces and the three weights; the palette by what each color is for; and the same page at a -phone's and a tablet's width - in dark or light and through protanopia, deuteranopia or -tritanopia, with every pair the palette is held to. - -Two pages beside it are tests a team runs by opening them, with nothing to install and nothing -sent anywhere: each counts its answers in the browser it is opened in. +It draws the site's landing and a docs page; the console's Workspaces and Inbox; where the app as +it is is shown; the mark's guide - sizes, clear space, the lockup, the grounds it goes on and what +it is not; the type scale in both faces, a dashboard page's ranks and the three weights; the +console's buttons in each state, its states, rows and cards; the palette by what each color is +for; and the same page at a phone's and a tablet's width - in dark or light and through +protanopia, deuteranopia or tritanopia, with every pair the palette is held to. + +[`target.html`](https://spin-stack.github.io/brand/target.html) is the console's destination: +six screens every migration of the dashboard is measured against (`target/README.md`). Two pages +beside it are tests a team runs by opening them, with nothing to install and nothing sent +anywhere: each counts its answers in the browser it is opened in. [`five-seconds.html`](https://spin-stack.github.io/brand/five-seconds.html) is the check -`palette.toml` names for dark's cyan fill: the workspace list or a settings page for five -seconds, with one filled button or with three, then "what did you see first?". -[`recognition.html`](https://spin-stack.github.io/brand/recognition.html) shows three screens -with the mark and the name taken out, in the brand and in the grey of the same lightness with a -system font, and asks whose product it is and which you would work in all day. `lab.css` and -`lab.js` are the components and the screens the three pages share. +`palette.toml` names for a page's verdict: the destination's Workspaces for five seconds, in dark +or in light, then "what did you see first?" - the panel with its verdict, or its one filled +button. [`recognition.html`](https://spin-stack.github.io/brand/recognition.html) shows the +destination's Inbox, Workspaces and Overview with the mark and the name taken out, in the brand +and in the grey of the same lightness with a system font, and asks whose product it is and which +you would work in all day. `lab.css` and `lab.js` are the console every one of these pages draws: +its components, inside an element of class `app`, and its screens. | Source | What it makes | |---|---| diff --git a/cmd/palette/outputs.go b/cmd/palette/outputs.go index e8420a9..9705fe0 100644 --- a/cmd/palette/outputs.go +++ b/cmd/palette/outputs.go @@ -750,7 +750,7 @@ func hsl(c rgb) string { return fmt.Sprintf("%.1f %.1f%% %.1f%%", h, s*100, l*100) } -// perceptionJS is every pair and how it held, for preview.html's table. +// perceptionJS is every pair and how it held, for index.html's table. func perceptionJS(results []result) string { type row struct { Mode, Kind, What string @@ -774,7 +774,7 @@ func perceptionJS(results []result) string { return "// Written by `task palette`: every pair palette.toml is held to, and how it held.\nexport const perception = " + string(b) + ";\n" } -// simulateSVG is each deficiency's matrix as an SVG filter, for preview.html's "See as": the +// simulateSVG is each deficiency's matrix as an SVG filter, for index.html's "See as": the // same matrices the checks use, applied in linear RGB as the model is. func simulateSVG() string { var b strings.Builder diff --git a/five-seconds.html b/five-seconds.html index 7f77b60..a87a55b 100644 --- a/five-seconds.html +++ b/five-seconds.html @@ -9,147 +9,136 @@
- +