ceulen-dsh 0.2.12 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +176 -13
- package/lib/core/upstream.d.ts.map +1 -1
- package/lib/core/upstream.js +26 -5
- package/lib/core/upstream.js.map +1 -1
- package/lib/core/user-words.d.ts +6 -2
- package/lib/core/user-words.d.ts.map +1 -1
- package/lib/core/user-words.js +28 -6
- package/lib/core/user-words.js.map +1 -1
- package/lib/modules/classifier/index.js +1 -1
- package/lib/modules/classifier/index.js.map +1 -1
- package/lib/modules/status/index.d.ts.map +1 -1
- package/lib/modules/status/index.js +4 -2
- package/lib/modules/status/index.js.map +1 -1
- package/lib/modules/steering/index.js +1 -1
- package/lib/modules/steering/index.js.map +1 -1
- package/lib/modules/subagent/index.d.ts.map +1 -1
- package/lib/modules/subagent/index.js +5 -0
- package/lib/modules/subagent/index.js.map +1 -1
- package/lib/modules/ux/auto.d.ts +27 -4
- package/lib/modules/ux/auto.d.ts.map +1 -1
- package/lib/modules/ux/auto.js +70 -11
- package/lib/modules/ux/auto.js.map +1 -1
- package/lib/modules/ux/index.d.ts +5 -0
- package/lib/modules/ux/index.d.ts.map +1 -1
- package/lib/modules/ux/index.js +60 -10
- package/lib/modules/ux/index.js.map +1 -1
- package/lib/modules/ux/kit.d.ts +79 -0
- package/lib/modules/ux/kit.d.ts.map +1 -0
- package/lib/modules/ux/kit.js +449 -0
- package/lib/modules/ux/kit.js.map +1 -0
- package/lib/modules/ux/review.d.ts.map +1 -1
- package/lib/modules/ux/review.js +30 -4
- package/lib/modules/ux/review.js.map +1 -1
- package/package.json +2 -2
- package/scripts/pack-contract.mjs +9 -0
- package/scripts/tui-plan-patch.mjs +138 -1
- package/scripts/tui-question-fit-smoke.mjs +161 -0
- package/skills/dsh-update/SKILL.md +29 -4
- package/skills/ux-design/SKILL.md +6 -4
- package/skills/ux-design/kit/base.css +49 -0
- package/skills/ux-design/kit/diagram.js +598 -0
- package/skills/ux-design/kit/motion.js +2 -1
- package/skills/ux-design/references/diagram.md +79 -0
- package/skills/ux-design/references/motion.md +10 -5
- package/skills/ux-presets/SKILL.md +18 -3
- package/skills/ux-presets/presets/bento/DESIGN.md +3 -0
- package/skills/ux-presets/presets/bento/example.html +1 -1
- package/skills/ux-presets/presets/care/DESIGN.md +3 -0
- package/skills/ux-presets/presets/care/example.html +1 -1
- package/skills/ux-presets/presets/civic/DESIGN.md +3 -0
- package/skills/ux-presets/presets/civic/example.html +1 -1
- package/skills/ux-presets/presets/explainer/DESIGN.md +119 -0
- package/skills/ux-presets/presets/explainer/example.html +238 -0
- package/skills/ux-presets/presets/instrument-panel/DESIGN.md +3 -1
- package/skills/ux-presets/presets/instrument-panel/example.html +1 -1
- package/skills/ux-presets/presets/ledger/DESIGN.md +3 -1
- package/skills/ux-presets/presets/ledger/example.html +1 -1
- package/skills/ux-presets/presets/pipeline-desk/DESIGN.md +3 -1
- package/skills/ux-presets/presets/pipeline-desk/example.html +1 -1
- package/skills/ux-presets/presets.json +645 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Diagrams — written as lines, drawn by the kit
|
|
2
|
+
|
|
3
|
+
A block or flow diagram is never an `<svg>` you place by hand: boxes drift,
|
|
4
|
+
arrows miss, and it breaks on a phone. Write the diagram as lines and let
|
|
5
|
+
`kit/diagram.js` lay it out, theme it from the tokens, and animate it.
|
|
6
|
+
`ux_kit` copies the file for a page to read; otherwise:
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
cp <base directory>/kit/diagram.js .
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```html
|
|
13
|
+
<figure data-diagram>
|
|
14
|
+
<pre>
|
|
15
|
+
User -> Router: prompt
|
|
16
|
+
Router -> Fast model: easy task
|
|
17
|
+
Router -> Strong model: hard task
|
|
18
|
+
Fast model -> Tools
|
|
19
|
+
Strong model -> Tools
|
|
20
|
+
Tools -> Result
|
|
21
|
+
Result -> User: answer
|
|
22
|
+
Router :: picks a model per request
|
|
23
|
+
[Harness] Router, Fast model, Strong model, Tools
|
|
24
|
+
accent: Router
|
|
25
|
+
step: User, Router | A prompt arrives and the router reads it.
|
|
26
|
+
step: Router, Fast model, Strong model | Easy work goes to the fast model.
|
|
27
|
+
</pre>
|
|
28
|
+
<figcaption>How a request is routed</figcaption>
|
|
29
|
+
</figure>
|
|
30
|
+
…
|
|
31
|
+
<script src="diagram.js"></script> <!-- end of body, after motion.js -->
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## The lines
|
|
35
|
+
|
|
36
|
+
| Line | Meaning |
|
|
37
|
+
|---|---|
|
|
38
|
+
| `A -> B` | An arrow from box A to box B. A name is the box's label; the same name is the same box |
|
|
39
|
+
| `A -> B: label` | An arrow with a label |
|
|
40
|
+
| `A -> B -> C` | A chain |
|
|
41
|
+
| `A --> B` | A dashed arrow: optional, async, or a fallback |
|
|
42
|
+
| `A <-> B` | An arrow both ways |
|
|
43
|
+
| `A :: a few words` | A second, smaller line inside box A |
|
|
44
|
+
| `[Group name] A, B, C` | A frame round those boxes |
|
|
45
|
+
| `accent: A` | Box A in the accent colour: the one box this section is about |
|
|
46
|
+
| `muted: A` | Box A dashed and quiet: external, optional, or out of scope |
|
|
47
|
+
| `step: A, B \| what happens here` | One step of a walkthrough. The reader presses Next; that step's boxes and arrows light up and its sentence shows |
|
|
48
|
+
| `# note` | A comment |
|
|
49
|
+
|
|
50
|
+
Names must match exactly between lines. An arrow back to an earlier box
|
|
51
|
+
(`Test -> Build: fail`) is drawn against the flow by itself.
|
|
52
|
+
|
|
53
|
+
## Rules
|
|
54
|
+
|
|
55
|
+
- Keep the `<pre>` directly inside the `<figure data-diagram>`, and give every
|
|
56
|
+
figure a `<figcaption>` that says what it shows.
|
|
57
|
+
- Six to ten boxes read well. Past twelve, split it into two diagrams.
|
|
58
|
+
- Box names are two or three words; the detail goes in `::` or in the text.
|
|
59
|
+
- One `accent:` box per diagram, or none.
|
|
60
|
+
- Use `step:` lines when the order matters: a request path, a handshake, a
|
|
61
|
+
pipeline. Three to six steps.
|
|
62
|
+
- The direction is chosen for you: left to right when it fits, top to bottom
|
|
63
|
+
on a narrow screen. Force it only when the content demands it:
|
|
64
|
+
`data-diagram="down"` or `data-diagram="right"`.
|
|
65
|
+
- With JavaScript off the lines themselves stay readable in the `<pre>`.
|
|
66
|
+
|
|
67
|
+
## What you get
|
|
68
|
+
|
|
69
|
+
Boxes arrive in order from the first to the last, arrows draw in, and a dot
|
|
70
|
+
runs along each arrow. Pointing at a box lights its arrows and dims the rest.
|
|
71
|
+
With `prefers-reduced-motion` it is drawn complete and still. Colours come from
|
|
72
|
+
the kit roles in tokens.css (`--k-surface`, `--k-text`, `--k-link`,
|
|
73
|
+
`--k-accent`), so the diagram matches the page.
|
|
74
|
+
|
|
75
|
+
## Check it
|
|
76
|
+
|
|
77
|
+
`ux_audit` with `url` reports a `diagram` finding when a diagram shows its
|
|
78
|
+
source lines instead of a drawing, with the line that did not parse. Fix the
|
|
79
|
+
line; do not replace the diagram with an image or a hand-made SVG.
|
|
@@ -11,13 +11,16 @@ does not count: anything below the first screen waits until it scrolls in.
|
|
|
11
11
|
|
|
12
12
|
## Start with the kit
|
|
13
13
|
|
|
14
|
-
Do not write this motion yourself and do not retype the kit.
|
|
15
|
-
to the page,
|
|
14
|
+
Do not write this motion yourself and do not retype the kit. `ux_kit` copies the
|
|
15
|
+
kit next to the page (or into `public/`) in one call. By hand, from this skill's
|
|
16
|
+
base directory:
|
|
16
17
|
|
|
17
18
|
```bash
|
|
18
|
-
cp <base directory>/kit/motion.js <base directory>/kit/motion.css .
|
|
19
|
+
cp <base directory>/kit/motion.js <base directory>/kit/motion.css <base directory>/kit/base.css .
|
|
19
20
|
```
|
|
20
21
|
|
|
22
|
+
Link `base.css` before your own stylesheet: it brings the focus ring, disabled controls, 44px touch targets and the reduced-motion fallback, and your rules win.
|
|
23
|
+
|
|
21
24
|
```html
|
|
22
25
|
<link rel="stylesheet" href="motion.css"> <!-- after your own stylesheet -->
|
|
23
26
|
<script src="motion.js"></script> <!-- last thing in body -->
|
|
@@ -50,6 +53,8 @@ Run `ux_audit` on your own stylesheet, not on `motion.css`. Then mark up what th
|
|
|
50
53
|
| `data-pop` | a pill or badge inside an arriving item | It pops in after its parent |
|
|
51
54
|
| `data-glow` | the hero | A soft light drifts behind it |
|
|
52
55
|
| `data-parallax="0.2"` | large decoration in the hero | It trails the scroll |
|
|
56
|
+
| `data-diagram` | a `<figure>` holding a `<pre>` of lines such as `User -> Router: prompt` | A laid-out, animated block diagram, with `kit/diagram.js`: see [diagram.md](diagram.md). Never place boxes or arrows by hand |
|
|
57
|
+
| `data-pointer="off"` | `<html>`, in an app people work in | Nothing leans, tilts or replays under the cursor. Arrivals, counts and hover states stay |
|
|
53
58
|
|
|
54
59
|
Automatic, no markup: every `h2` wipes in, a progress bar appears on tall pages, and
|
|
55
60
|
rows slide an accent bar in on hover. Everything marked above also answers the pointer.
|
|
@@ -99,7 +104,7 @@ export const Motion = () => { useEffect(() => { document.body.append(Object.assi
|
|
|
99
104
|
```
|
|
100
105
|
|
|
101
106
|
- The kit watches the page: rows, charts, and filters that render later or after a route change are picked up. Give list rows a stable `key`, or every refresh replays them.
|
|
102
|
-
- Put `data-recount="off"` on `<html>` in any app people work in
|
|
107
|
+
- Put `data-recount="off"` and `data-pointer="off"` on `<html>` in any app people work in: a number under the pointer never shows a false value, and nothing stirs under the cursor. It still counts up once.
|
|
103
108
|
- `data-words` and `data-count` need one plain string: `{`${n} min`}`, not `{n} min`. Otherwise the kit leaves that element still.
|
|
104
109
|
- If React state filters the list, leave out the `data-filter` attributes. New rows arrive by themselves.
|
|
105
110
|
|
|
@@ -111,7 +116,7 @@ export const Motion = () => { useEffect(() => { document.body.append(Object.assi
|
|
|
111
116
|
| Report, incident, or long article | `data-words`, `data-count`, `data-glow` | `data-rail` on any timeline, `data-arrive="left"` and `="right"` by section, `data-fill` for durations |
|
|
112
117
|
| Settings or form | The signature element comes alive | Toggles slide, save state fades, errors appear without a jump |
|
|
113
118
|
| Landing page | `data-words`, `data-load` on the action, `data-glow` | `data-arrive` on each section's items |
|
|
114
|
-
| Explainer |
|
|
119
|
+
| Explainer | `data-words`, `data-count`, the diagram draws when the reader reaches it | `step:` lines in the diagram so the reader sets the pace, `data-rail` on a timeline |
|
|
115
120
|
|
|
116
121
|
## Tokens
|
|
117
122
|
|
|
@@ -35,6 +35,7 @@ in "sidebar", "kho" is not in "khoảng", "báo chí" is not in "thông báo").
|
|
|
35
35
|
|
|
36
36
|
| Preset | Words in the request |
|
|
37
37
|
|---|---|
|
|
38
|
+
| `explainer` | explain, explains, explained, explainer, explanation, giải thích, diễn giải, tutorial, hướng dẫn, how it works, walkthrough, deep dive, whitepaper, write-up, writeup |
|
|
38
39
|
| `care` | clinic, phòng khám, hospital, bệnh viện, doctor, bác sĩ, healthcare, y tế, dental, nha khoa, pharmacy, nhà thuốc, therapy, patient, bệnh nhân, đặt lịch khám |
|
|
39
40
|
| `bento` | usage, token, ai dashboard, insights, analytics, phân tích, overview, tổng quan, thống kê, metrics, kpi |
|
|
40
41
|
| `ledger` | invoice, hoá đơn, hóa đơn, billing, accounting, kế toán, finance, tài chính, payroll, bảng lương, bank, ngân hàng, expense, chi phí, budget, ngân sách, legal, pháp lý, pháp lí |
|
|
@@ -42,25 +43,39 @@ in "sidebar", "kho" is not in "khoảng", "báo chí" is not in "thông báo").
|
|
|
42
43
|
| `pipeline-desk` | crm, pipeline, sales, deal, lead, inventory, stock, warehouse, kho, tồn kho, order management, quản lý đơn hàng, quản lí đơn hàng, admin, back office, quản lý, quản lí, quản trị, erp, hr, nhân sự, ticket, helpdesk, khách hàng |
|
|
43
44
|
| `luxury` | luxury, sang trọng, fashion, thời trang, jewellery, jewelry, trang sức, watch, đồng hồ, perfume, nước hoa, hotel, khách sạn, resort, real estate, bất động sản, wedding, cưới, gallery |
|
|
44
45
|
| `retro-film` | coffee, cà phê, café, cafe, quán ăn, quán nước, quán nhậu, quán phở, restaurant, nhà hàng, bakery, tiệm bánh, bar, menu, thực đơn, photography, nhiếp ảnh, vinyl, barber |
|
|
46
|
+
| `swiss` | pricing, bảng giá |
|
|
45
47
|
| `storefront` | shop, store, cửa hàng, e-commerce, thương mại điện tử, catalog, product, sản phẩm, cart, giỏ hàng, checkout, bán hàng online |
|
|
46
48
|
| `editorial` | blog, article, bài viết, magazine, tạp chí, news, tin tức, báo chí, tờ báo, essay, journal, newsletter, case study, story, câu chuyện |
|
|
47
49
|
| `memphis` | kids, children, trẻ em, thiếu nhi, camp, trại hè, toy, đồ chơi, party, tiệc, playful, vui nhộn, family, gia đình |
|
|
48
50
|
| `kinetic-type` | festival, concert, lineup, music, nhạc, âm nhạc, podcast, sport, thể thao, tournament, campaign, chiến dịch |
|
|
49
|
-
| `swiss` | conference, hội thảo, hội nghị, schedule, lịch trình, agenda, timetable, transit,
|
|
51
|
+
| `swiss` | conference, hội thảo, hội nghị, schedule, lịch trình, agenda, timetable, transit, architecture |
|
|
52
|
+
| `swiss` | docs, documentation, tài liệu |
|
|
50
53
|
| `bauhaus` | school, trường học, đại học, workshop, course, khoá học, khóa học, class, lớp học, museum, bảo tàng, studio, education, giáo dục |
|
|
51
54
|
| `nature` | farm, food, thực phẩm, rau, organic, wellness, spa, yoga, garden, vườn, eco, sustainability, community, cộng đồng |
|
|
52
55
|
| `neubrutalism` | developer, dev tool, api, sdk, cli, startup, launch, hackathon, indie, creator, saas |
|
|
53
56
|
| `civic` | government, chính phủ, public service, dịch vụ công, council, ủy ban, uỷ ban, city, thành phố, permit, giấy phép, licence, license, tax, thuế, application, hồ sơ, form, biểu mẫu, đăng ký, đăng kí |
|
|
57
|
+
| `swiss` | landing page, landing, homepage, trang chủ, marketing, waitlist |
|
|
58
|
+
| `explainer` | report, báo cáo, review, đánh giá, research, nghiên cứu, comparison, compare, so sánh, summary, tóm tắt, guide, findings, evaluation, study |
|
|
54
59
|
| `pipeline-desk` | dashboard, app, tool, công cụ, ứng dụng, internal, nội bộ, settings, cài đặt, portal, account, tài khoản, screen, màn hình |
|
|
55
60
|
| `swiss` | anything else |
|
|
56
61
|
|
|
57
62
|
## 3. Copy it
|
|
58
63
|
|
|
59
|
-
|
|
64
|
+
Call `ux_kit` with the user's request. It reads this same table, so it picks the
|
|
65
|
+
same preset, and in one call it writes `DESIGN.md`, `tokens.css` (the preset's
|
|
66
|
+
colours, fonts and motion values as CSS variables) and the kit files, then
|
|
67
|
+
returns the head to paste and the next steps:
|
|
68
|
+
|
|
69
|
+
```json
|
|
70
|
+
{ "request": "<the user's words, verbatim>", "dir": "<folder for the page>" }
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Without the tool, copy by hand. `<base directory>` is this skill's folder, given
|
|
74
|
+
when the skill loads.
|
|
60
75
|
|
|
61
76
|
```bash
|
|
62
77
|
cp <base directory>/presets/<preset>/DESIGN.md DESIGN.md
|
|
63
|
-
cp <base directory>/../ux-design/kit/motion.js <base directory>/../ux-design/kit/motion.css .
|
|
78
|
+
cp <base directory>/../ux-design/kit/motion.js <base directory>/../ux-design/kit/motion.css <base directory>/../ux-design/kit/base.css .
|
|
64
79
|
```
|
|
65
80
|
|
|
66
81
|
Then read `<base directory>/presets/<preset>/example.html` once. It shows the
|
|
@@ -29,6 +29,7 @@ motion:
|
|
|
29
29
|
m-rise: 32px
|
|
30
30
|
m-arrive: 720ms
|
|
31
31
|
m-gap: 80ms
|
|
32
|
+
html: data-pointer="off"
|
|
32
33
|
---
|
|
33
34
|
|
|
34
35
|
## Overview
|
|
@@ -72,6 +73,8 @@ Tiles load in reading order, 32px over 720ms, 80ms apart. Numbers count, the
|
|
|
72
73
|
chart draws with its peak landing as the line passes, bars fill. The live dot
|
|
73
74
|
pulses. Override a bar's colour with `--m-tint` on the bar, not `--m-accent`.
|
|
74
75
|
|
|
76
|
+
The pointer does not stir the page (`data-pointer="off"` on `<html>`): people work here for hours. Hover and focus states stay.
|
|
77
|
+
|
|
75
78
|
## Do / Don't
|
|
76
79
|
|
|
77
80
|
- DO vary tile spans and keep one night and one ember tile.
|
|
@@ -34,6 +34,7 @@ motion:
|
|
|
34
34
|
m-gap: 80ms
|
|
35
35
|
m-out: "cubic-bezier(0.16, 1, 0.3, 1)"
|
|
36
36
|
m-surface: "{colors.teal-soft}"
|
|
37
|
+
html: data-pointer="off"
|
|
37
38
|
---
|
|
38
39
|
|
|
39
40
|
## Overview
|
|
@@ -77,6 +78,8 @@ teal-soft. It answers "when can I go?" before anything else.
|
|
|
77
78
|
Gentle: 32px over 740ms on a long ease-out, 80ms apart. Day counts count up,
|
|
78
79
|
doctor rows arrive, the soonest badge pops, wait bars fill. Nothing flashes.
|
|
79
80
|
|
|
81
|
+
The pointer does not stir the page (`data-pointer="off"` on `<html>`): people work here for hours. Hover and focus states stay.
|
|
82
|
+
|
|
80
83
|
## Do / Don't
|
|
81
84
|
|
|
82
85
|
- DO make every target at least 48px tall.
|
|
@@ -32,6 +32,7 @@ motion:
|
|
|
32
32
|
m-arrive: 680ms
|
|
33
33
|
m-gap: 70ms
|
|
34
34
|
m-surface: "{colors.panel}"
|
|
35
|
+
html: data-pointer="off"
|
|
35
36
|
---
|
|
36
37
|
|
|
37
38
|
## Overview
|
|
@@ -79,6 +80,8 @@ the summary lands with the page, fields arrive in order, the error message pops
|
|
|
79
80
|
once, the step rail draws to the current step, fees count. Nothing moves while
|
|
80
81
|
someone types.
|
|
81
82
|
|
|
83
|
+
The pointer does not stir the page (`data-pointer="off"` on `<html>`): people work here for hours. Hover and focus states stay.
|
|
84
|
+
|
|
82
85
|
## Do / Don't
|
|
83
86
|
|
|
84
87
|
- DO give every input a `<label for>` and every group a `<legend>`.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Explainer
|
|
3
|
+
description: A technical explainer that reads like an annotated notebook. Warm paper, black ink, one pen blue for links and diagram lines, a yellow marker for the terms that matter, diagrams that draw themselves.
|
|
4
|
+
colors:
|
|
5
|
+
paper: "#F6F5F0"
|
|
6
|
+
sheet: "#FDFCF9"
|
|
7
|
+
shade: "#ECEAE2"
|
|
8
|
+
ink: "#15171C"
|
|
9
|
+
ink-muted: "#555A66"
|
|
10
|
+
pen: "#1B45A8"
|
|
11
|
+
on-pen: "#F6F8FF"
|
|
12
|
+
marker: "#FFE169"
|
|
13
|
+
ok: "#135536"
|
|
14
|
+
ok-soft: "#E1F0E7"
|
|
15
|
+
warn: "#6E4200"
|
|
16
|
+
warn-soft: "#F7ECD3"
|
|
17
|
+
rule: "#D8D5CA"
|
|
18
|
+
typography:
|
|
19
|
+
display: { fontFamily: Bricolage Grotesque, fontWeight: 700, letterSpacing: "-0.02em", lineHeight: 1.3 }
|
|
20
|
+
body: { fontFamily: Public Sans, fontSize: 1.0625rem, lineHeight: 1.65 }
|
|
21
|
+
number: { fontFamily: Bricolage Grotesque, fontWeight: 700, fontVariantNumeric: tabular-nums }
|
|
22
|
+
code: { fontFamily: JetBrains Mono, fontSize: 0.875rem, lineHeight: 1.6 }
|
|
23
|
+
rounded: { sm: 6px, md: 12px, pill: 999px }
|
|
24
|
+
spacing: { 1: 4px, 2: 8px, 3: 16px, 4: 24px, 5: 32px, 6: 56px, 7: 96px }
|
|
25
|
+
components:
|
|
26
|
+
button: { backgroundColor: "{colors.marker}", textColor: "{colors.ink}", rounded: "{rounded.pill}", minHeight: 44px }
|
|
27
|
+
link: { textColor: "{colors.pen}", underline: "1px, offset 3px" }
|
|
28
|
+
mark: { backgroundColor: "{colors.marker}", textColor: "{colors.ink}" }
|
|
29
|
+
figure: { backgroundColor: "{colors.sheet}", rounded: "{rounded.md}", border: none }
|
|
30
|
+
callout: { note: "ink on shade", ok: "ok on ok-soft", warn: "warn on warn-soft" }
|
|
31
|
+
code-block: { backgroundColor: "{colors.shade}", rounded: "{rounded.sm}" }
|
|
32
|
+
table-row: { divider: "inset 0 -1px 0 {colors.rule}", padding: 12px }
|
|
33
|
+
contents: { current: "{colors.pen}", position: "sticky rail on wide screens, a list under the title on phones" }
|
|
34
|
+
motion:
|
|
35
|
+
m-rise: 32px
|
|
36
|
+
m-arrive: 700ms
|
|
37
|
+
m-gap: 70ms
|
|
38
|
+
m-surface: "{colors.shade}"
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Overview
|
|
42
|
+
|
|
43
|
+
A page that teaches one thing well: how something works, what was found, how
|
|
44
|
+
two options compare. It reads like a good engineer's notebook: warm paper,
|
|
45
|
+
black ink, one pen blue, and a yellow marker drawn over the few terms the
|
|
46
|
+
reader must not miss. The diagram is the centre of the page, not an
|
|
47
|
+
illustration beside it.
|
|
48
|
+
|
|
49
|
+
Use for: explainers, how-it-works pages, research and review write-ups,
|
|
50
|
+
reports, comparisons, guides and tutorials delivered as an HTML page.
|
|
51
|
+
Not for: product screens people work in, or marketing pages.
|
|
52
|
+
|
|
53
|
+
## Colors
|
|
54
|
+
|
|
55
|
+
- **paper** is the page, **sheet** every figure and card, **shade** code blocks,
|
|
56
|
+
table heads and neutral callouts.
|
|
57
|
+
- **pen** is for links, the current contents entry and every diagram line.
|
|
58
|
+
Nothing else is blue.
|
|
59
|
+
- **marker** is the highlighter: behind a key term (`<mark>`), on the one box of
|
|
60
|
+
a diagram that the section is about, and on the primary button. At most three
|
|
61
|
+
marked terms per section, or nothing stands out.
|
|
62
|
+
- **ok** and **warn** are for callouts only, always dark text on their soft tint.
|
|
63
|
+
- **rule** draws table rows and section dividers as inset shadows.
|
|
64
|
+
|
|
65
|
+
## Typography
|
|
66
|
+
|
|
67
|
+
Bricolage Grotesque 700 for headings and big numbers, Public Sans for reading,
|
|
68
|
+
JetBrains Mono for code and identifiers. Body is 17px at 1.65 in a column no
|
|
69
|
+
wider than 68 characters. Headings keep line height 1.3 so stacked Vietnamese
|
|
70
|
+
marks stay clear of the line above.
|
|
71
|
+
|
|
72
|
+
## Layout
|
|
73
|
+
|
|
74
|
+
A contents rail on the left at 220px on wide screens, then one reading column of
|
|
75
|
+
68 characters. Figures, tables and code may break out to the full content
|
|
76
|
+
width. On phones the contents become a short list under the title. Every
|
|
77
|
+
section opens with an `h2` and one sentence that says what the section answers.
|
|
78
|
+
|
|
79
|
+
## Signature
|
|
80
|
+
|
|
81
|
+
The annotated diagram: boxes and arrows written as plain lines for the diagram
|
|
82
|
+
kit, one box in marker yellow, and a step-by-step walkthrough the reader
|
|
83
|
+
advances. Never a hand-placed SVG, and never a screenshot of a diagram.
|
|
84
|
+
|
|
85
|
+
## Motion character
|
|
86
|
+
|
|
87
|
+
Calm and explanatory: 32px arrivals over 700ms, 70ms apart. The headline lands
|
|
88
|
+
word by word, key numbers count once, the diagram draws from its first box to
|
|
89
|
+
its last and sends a dot along each arrow, a timeline rail draws as the reader
|
|
90
|
+
scrolls. Nothing loops.
|
|
91
|
+
|
|
92
|
+
## Do / Don't
|
|
93
|
+
|
|
94
|
+
- DO write every diagram as lines in `<figure data-diagram><pre>…</pre></figure>`.
|
|
95
|
+
- DO give each diagram a `figcaption` that says what it shows.
|
|
96
|
+
- DO keep a number that appears in text equal to the number in the table or chart.
|
|
97
|
+
- DON'T use the marker as a background for whole paragraphs or cards.
|
|
98
|
+
- DON'T outline figures with a 1px grey border; the sheet colour separates them.
|
|
99
|
+
- DON'T centre body text, and don't set it wider than 68 characters.
|
|
100
|
+
|
|
101
|
+
## Audit pairs
|
|
102
|
+
|
|
103
|
+
```json
|
|
104
|
+
[
|
|
105
|
+
{ "fg": "#15171C", "bg": "#F6F5F0", "label": "ink on paper", "size": 17 },
|
|
106
|
+
{ "fg": "#15171C", "bg": "#FDFCF9", "label": "ink on sheet", "size": 17 },
|
|
107
|
+
{ "fg": "#15171C", "bg": "#ECEAE2", "label": "ink on shade", "size": 14 },
|
|
108
|
+
{ "fg": "#555A66", "bg": "#F6F5F0", "label": "muted on paper", "size": 14, "role": "secondary" },
|
|
109
|
+
{ "fg": "#555A66", "bg": "#FDFCF9", "label": "muted on sheet", "size": 14, "role": "secondary" },
|
|
110
|
+
{ "fg": "#1B45A8", "bg": "#F6F5F0", "label": "pen link on paper", "size": 17 },
|
|
111
|
+
{ "fg": "#1B45A8", "bg": "#FDFCF9", "label": "pen link on sheet", "size": 17 },
|
|
112
|
+
{ "fg": "#F6F8FF", "bg": "#1B45A8", "label": "on pen", "weight": 600, "size": 16 },
|
|
113
|
+
{ "fg": "#15171C", "bg": "#FFE169", "label": "ink on marker", "weight": 600, "size": 16 },
|
|
114
|
+
{ "fg": "#135536", "bg": "#E1F0E7", "label": "ok callout", "size": 16 },
|
|
115
|
+
{ "fg": "#6E4200", "bg": "#F7ECD3", "label": "warn callout", "size": 16 }
|
|
116
|
+
]
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Built for this module; it follows the structure of the other presets (see `../NOTICE`).
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>How a coding agent routes a request</title>
|
|
7
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
8
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400..800&family=JetBrains+Mono:wght@400;600&family=Public+Sans:wght@400..700&display=swap">
|
|
9
|
+
<style>
|
|
10
|
+
:root {
|
|
11
|
+
--paper: #F6F5F0;
|
|
12
|
+
--sheet: #FDFCF9;
|
|
13
|
+
--shade: #ECEAE2;
|
|
14
|
+
--ink: #15171C;
|
|
15
|
+
--ink-muted: #555A66;
|
|
16
|
+
--pen: #1B45A8;
|
|
17
|
+
--on-pen: #F6F8FF;
|
|
18
|
+
--marker: #FFE169;
|
|
19
|
+
--ok: #135536;
|
|
20
|
+
--ok-soft: #E1F0E7;
|
|
21
|
+
--warn: #6E4200;
|
|
22
|
+
--warn-soft: #F7ECD3;
|
|
23
|
+
--rule: #D8D5CA;
|
|
24
|
+
--radius-sm: 6px;
|
|
25
|
+
--radius-md: 12px;
|
|
26
|
+
--radius-pill: 999px;
|
|
27
|
+
--space-1: 4px;
|
|
28
|
+
--space-2: 8px;
|
|
29
|
+
--space-3: 16px;
|
|
30
|
+
--space-4: 24px;
|
|
31
|
+
--space-5: 32px;
|
|
32
|
+
--space-6: 56px;
|
|
33
|
+
--space-7: 96px;
|
|
34
|
+
--display: "Bricolage Grotesque", system-ui, sans-serif;
|
|
35
|
+
--sans: "Public Sans", system-ui, sans-serif;
|
|
36
|
+
--mono: "JetBrains Mono", "Courier New", monospace;
|
|
37
|
+
--dur-fast: 150ms;
|
|
38
|
+
--ease-out: cubic-bezier(0.22, 1, 0.36, 1);
|
|
39
|
+
--m-accent: var(--pen);
|
|
40
|
+
--m-surface: var(--shade);
|
|
41
|
+
--m-rise: 32px;
|
|
42
|
+
--m-arrive: 700ms;
|
|
43
|
+
--m-gap: 70ms;
|
|
44
|
+
--k-bg: var(--paper);
|
|
45
|
+
--k-surface: var(--sheet);
|
|
46
|
+
--k-text: var(--ink);
|
|
47
|
+
--k-muted: var(--ink-muted);
|
|
48
|
+
--k-accent: var(--marker);
|
|
49
|
+
--k-on-accent: var(--ink);
|
|
50
|
+
--k-link: var(--pen);
|
|
51
|
+
--k-rule: var(--rule);
|
|
52
|
+
}
|
|
53
|
+
* { box-sizing: border-box; }
|
|
54
|
+
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
|
|
55
|
+
a { color: var(--pen); text-decoration-thickness: 1px; text-underline-offset: 3px; }
|
|
56
|
+
a:hover { text-decoration-thickness: 2px; }
|
|
57
|
+
:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }
|
|
58
|
+
button:disabled, a[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
|
|
59
|
+
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin: 0; text-wrap: balance; }
|
|
60
|
+
mark { background: var(--marker); color: var(--ink); padding: 0.05em 0.3em; border-radius: var(--radius-sm); }
|
|
61
|
+
code { font: 400 0.875em var(--mono); background: var(--shade); padding: 0.1em 0.35em; border-radius: var(--radius-sm); }
|
|
62
|
+
|
|
63
|
+
.page { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-4); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
|
|
64
|
+
.contents { padding-top: var(--space-5); font-size: 0.9375rem; }
|
|
65
|
+
.contents strong { display: block; font: 700 1rem var(--display); margin-bottom: var(--space-2); }
|
|
66
|
+
.contents ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--space-3); }
|
|
67
|
+
.contents a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink-muted); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
|
|
68
|
+
.contents a:hover, .contents a[aria-current="true"] { color: var(--pen); }
|
|
69
|
+
|
|
70
|
+
.hero { padding: var(--space-5) 0 var(--space-6); }
|
|
71
|
+
.kicker { margin: 0 0 var(--space-3); color: var(--ink-muted); font-weight: 600; }
|
|
72
|
+
h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); max-width: 16ch; }
|
|
73
|
+
.lede { font-size: 1.25rem; line-height: 1.55; max-width: 56ch; margin: var(--space-4) 0 0; }
|
|
74
|
+
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: var(--space-5) 0 0; max-width: 40rem; }
|
|
75
|
+
.facts div { background: var(--sheet); border-radius: var(--radius-md); padding: var(--space-3); }
|
|
76
|
+
.facts dd { margin: 0; font: 700 1.75rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
|
|
77
|
+
.facts dt { color: var(--ink-muted); font-size: 0.875rem; line-height: 1.4; }
|
|
78
|
+
|
|
79
|
+
section { padding: var(--space-6) 0; box-shadow: inset 0 1px 0 var(--rule); }
|
|
80
|
+
h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); padding-bottom: var(--space-2); margin-bottom: var(--space-3); }
|
|
81
|
+
h3 { font-size: 1.125rem; margin-bottom: var(--space-1); }
|
|
82
|
+
section > p, section > ul { max-width: 68ch; }
|
|
83
|
+
.answers { color: var(--ink-muted); margin-top: 0; }
|
|
84
|
+
|
|
85
|
+
figure { margin: var(--space-4) 0; background: var(--sheet); border-radius: var(--radius-md); padding: var(--space-4); }
|
|
86
|
+
figcaption { margin-top: var(--space-3); color: var(--ink-muted); font-size: 0.875rem; }
|
|
87
|
+
|
|
88
|
+
.parts { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-3); }
|
|
89
|
+
.parts li { background: var(--sheet); border-radius: var(--radius-md); padding: var(--space-4); }
|
|
90
|
+
.parts p { margin: 0; color: var(--ink-muted); font-size: 0.9375rem; line-height: 1.55; }
|
|
91
|
+
|
|
92
|
+
.scroll-x { max-width: 100%; overflow-x: auto; margin: var(--space-4) 0; }
|
|
93
|
+
table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: 0.9375rem; }
|
|
94
|
+
th, td { text-align: left; padding: 12px var(--space-3); box-shadow: inset 0 -1px 0 var(--rule); }
|
|
95
|
+
thead th { background: var(--shade); font-weight: 600; }
|
|
96
|
+
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
|
|
97
|
+
|
|
98
|
+
.turn { list-style: none; margin: var(--space-4) 0 0; padding: 0 0 0 var(--space-5); position: relative; max-width: 68ch; }
|
|
99
|
+
.turn li { position: relative; padding-bottom: var(--space-4); }
|
|
100
|
+
.turn .dot { position: absolute; left: calc(var(--space-5) * -1 - 5px); top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--pen); }
|
|
101
|
+
.turn time { font: 600 0.875rem var(--mono); color: var(--ink-muted); display: block; }
|
|
102
|
+
|
|
103
|
+
.callout { margin: var(--space-4) 0; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); max-width: 68ch; background: var(--shade); }
|
|
104
|
+
.callout.ok { background: var(--ok-soft); color: var(--ok); }
|
|
105
|
+
.callout.warn { background: var(--warn-soft); color: var(--warn); }
|
|
106
|
+
.callout strong { display: block; }
|
|
107
|
+
pre.code { margin: var(--space-4) 0; padding: var(--space-3) var(--space-4); background: var(--shade); border-radius: var(--radius-sm); overflow-x: auto; font: 400 0.875rem/1.6 var(--mono); max-width: 68ch; }
|
|
108
|
+
pre.code code { background: none; padding: 0; font-size: 1em; }
|
|
109
|
+
|
|
110
|
+
footer { padding: var(--space-5) 0 var(--space-6); color: var(--ink-muted); font-size: 0.875rem; box-shadow: inset 0 1px 0 var(--rule); }
|
|
111
|
+
|
|
112
|
+
@media (min-width: 1000px) {
|
|
113
|
+
.page { grid-template-columns: 220px minmax(0, 1fr); gap: var(--space-6); }
|
|
114
|
+
.contents { position: sticky; top: 0; align-self: start; padding-top: var(--space-6); }
|
|
115
|
+
.contents ol { display: block; }
|
|
116
|
+
.contents a { min-height: 36px; }
|
|
117
|
+
}
|
|
118
|
+
@media (max-width: 560px) {
|
|
119
|
+
.facts { grid-template-columns: 1fr; }
|
|
120
|
+
figure { padding: var(--space-3); margin-inline: calc(var(--space-2) * -1); }
|
|
121
|
+
}
|
|
122
|
+
@media (prefers-reduced-motion: reduce) {
|
|
123
|
+
*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
|
|
124
|
+
}
|
|
125
|
+
</style>
|
|
126
|
+
<link rel="stylesheet" href="motion.css">
|
|
127
|
+
</head>
|
|
128
|
+
<body id="top">
|
|
129
|
+
<div class="page">
|
|
130
|
+
<nav class="contents" aria-label="Contents">
|
|
131
|
+
<strong>On this page</strong>
|
|
132
|
+
<ol>
|
|
133
|
+
<li><a href="#short">The short version</a></li>
|
|
134
|
+
<li><a href="#path">The path of a request</a></li>
|
|
135
|
+
<li><a href="#parts">What each part does</a></li>
|
|
136
|
+
<li><a href="#compare">Fast or strong</a></li>
|
|
137
|
+
<li><a href="#turn">One turn, minute by minute</a></li>
|
|
138
|
+
<li><a href="#try">Try it</a></li>
|
|
139
|
+
</ol>
|
|
140
|
+
</nav>
|
|
141
|
+
|
|
142
|
+
<main>
|
|
143
|
+
<header class="hero">
|
|
144
|
+
<p class="kicker" data-load>Explainer · 6 min read</p>
|
|
145
|
+
<h1 data-words>How a coding agent routes a request</h1>
|
|
146
|
+
<p class="lede" data-load>A harness does not send every prompt to its best model. It reads the request first, then picks the cheapest model that can finish the job.</p>
|
|
147
|
+
<dl class="facts" data-load>
|
|
148
|
+
<div><dd><span data-count>78</span>%</dd><dt>of requests go to the fast model</dt></div>
|
|
149
|
+
<div><dd><span data-count>6</span>×</dd><dt>cheaper per finished task</dt></div>
|
|
150
|
+
<div><dd><span data-count>2</span></dd><dt>models behind one prompt box</dt></div>
|
|
151
|
+
</dl>
|
|
152
|
+
</header>
|
|
153
|
+
|
|
154
|
+
<section id="short">
|
|
155
|
+
<h2 data-sweep>The short version</h2>
|
|
156
|
+
<p class="answers">What happens between pressing Enter and seeing the first edit?</p>
|
|
157
|
+
<p>The <mark>router</mark> classifies the request, a model plans the work, and <mark>tools</mark> do it. The model never touches your files directly: every read and every edit is a tool call that the harness can allow, deny, or record.</p>
|
|
158
|
+
<div class="callout ok" data-arrive><strong>The rule of thumb</strong>Easy and well-specified work goes to the fast model. Work that needs judgement goes to the strong one.</div>
|
|
159
|
+
</section>
|
|
160
|
+
|
|
161
|
+
<section id="path">
|
|
162
|
+
<h2 data-sweep>The path of a request</h2>
|
|
163
|
+
<p class="answers">Which parts does one prompt pass through, and in what order?</p>
|
|
164
|
+
<figure data-diagram>
|
|
165
|
+
<pre>
|
|
166
|
+
User -> Router: prompt
|
|
167
|
+
Router -> Fast model: easy task
|
|
168
|
+
Router -> Strong model: hard task
|
|
169
|
+
Fast model -> Tools: tool call
|
|
170
|
+
Strong model -> Tools: tool call
|
|
171
|
+
Tools -> Result
|
|
172
|
+
Result -> User: answer
|
|
173
|
+
Router :: picks a model per request
|
|
174
|
+
Tools :: read, edit, bash, web
|
|
175
|
+
[Harness] Router, Fast model, Strong model, Tools
|
|
176
|
+
accent: Router
|
|
177
|
+
step: User, Router | A prompt arrives and the router reads it.
|
|
178
|
+
step: Router, Fast model, Strong model | Easy work goes to the fast model, hard work to the strong one.
|
|
179
|
+
step: Fast model, Strong model, Tools | Either model asks for tools; the harness runs them.
|
|
180
|
+
step: Tools, Result, User | The result goes back to the user.
|
|
181
|
+
</pre>
|
|
182
|
+
<figcaption>One request, from prompt to answer. Press Start to walk through it.</figcaption>
|
|
183
|
+
</figure>
|
|
184
|
+
</section>
|
|
185
|
+
|
|
186
|
+
<section id="parts">
|
|
187
|
+
<h2 data-sweep>What each part does</h2>
|
|
188
|
+
<p class="answers">Who is responsible for what?</p>
|
|
189
|
+
<ul class="parts">
|
|
190
|
+
<li data-arrive><h3>Router</h3><p>Reads the request and the repository's shape, then names a model and a level of effort.</p></li>
|
|
191
|
+
<li data-arrive><h3>Fast model</h3><p>Renames, small fixes, tests for code that exists. Finishes in seconds.</p></li>
|
|
192
|
+
<li data-arrive><h3>Strong model</h3><p>Designs, migrations, anything where a wrong first step is expensive.</p></li>
|
|
193
|
+
<li data-arrive><h3>Tools</h3><p>The only way anything changes: read, edit, shell, browser. Each call is logged.</p></li>
|
|
194
|
+
</ul>
|
|
195
|
+
</section>
|
|
196
|
+
|
|
197
|
+
<section id="compare">
|
|
198
|
+
<h2 data-sweep>Fast or strong</h2>
|
|
199
|
+
<p class="answers">What do you give up when the router picks the fast model?</p>
|
|
200
|
+
<div class="scroll-x">
|
|
201
|
+
<table>
|
|
202
|
+
<thead><tr><th>Model</th><th>Good at</th><th class="num">Median turn</th><th class="num">Cost per task</th></tr></thead>
|
|
203
|
+
<tbody>
|
|
204
|
+
<tr data-arrive><td>Fast</td><td>Clear, local changes</td><td class="num">41 s</td><td class="num">$0.04</td></tr>
|
|
205
|
+
<tr data-arrive><td>Strong</td><td>Ambiguous or wide changes</td><td class="num">2 min 10 s</td><td class="num">$0.24</td></tr>
|
|
206
|
+
</tbody>
|
|
207
|
+
</table>
|
|
208
|
+
</div>
|
|
209
|
+
<div class="callout warn" data-arrive><strong>Where it goes wrong</strong>A task that looks small but hides a design decision. The router sees the size, not the risk.</div>
|
|
210
|
+
</section>
|
|
211
|
+
|
|
212
|
+
<section id="turn">
|
|
213
|
+
<h2 data-sweep>One turn, minute by minute</h2>
|
|
214
|
+
<p class="answers">What does a real turn look like on the clock?</p>
|
|
215
|
+
<ol class="turn" data-rail>
|
|
216
|
+
<li data-arrive><span class="dot" data-dot></span><time>00:00</time>The prompt lands. The router answers in under a second.</li>
|
|
217
|
+
<li data-arrive><span class="dot" data-dot></span><time>00:03</time>The model reads four files and writes a three-step plan.</li>
|
|
218
|
+
<li data-arrive><span class="dot" data-dot></span><time>00:19</time>Two edits and one test run, each a tool call.</li>
|
|
219
|
+
<li data-arrive><span class="dot" data-dot></span><time>00:41</time>The tests pass and the answer is written.</li>
|
|
220
|
+
</ol>
|
|
221
|
+
</section>
|
|
222
|
+
|
|
223
|
+
<section id="try">
|
|
224
|
+
<h2 data-sweep>Try it</h2>
|
|
225
|
+
<p class="answers">How do you see the routing decision yourself?</p>
|
|
226
|
+
<p>Ask for something small, then something vague, and compare the model named in the status line.</p>
|
|
227
|
+
<pre class="code"><code>agent "rename getUser to fetchUser in src/api"
|
|
228
|
+
agent "make the checkout flow more reliable"</code></pre>
|
|
229
|
+
<p><a href="#top">Back to the top</a></p>
|
|
230
|
+
</section>
|
|
231
|
+
|
|
232
|
+
<footer><p>A fictional harness, used to show the explainer preset. The numbers are illustrative.</p></footer>
|
|
233
|
+
</main>
|
|
234
|
+
</div>
|
|
235
|
+
<script src="motion.js"></script>
|
|
236
|
+
<script src="diagram.js"></script>
|
|
237
|
+
</body>
|
|
238
|
+
</html>
|
|
@@ -36,7 +36,7 @@ motion:
|
|
|
36
36
|
m-arrive: 700ms
|
|
37
37
|
m-gap: 70ms
|
|
38
38
|
m-surface: "{colors.well}"
|
|
39
|
-
html: data-recount="off"
|
|
39
|
+
html: data-recount="off" data-pointer="off"
|
|
40
40
|
---
|
|
41
41
|
|
|
42
42
|
## Overview
|
|
@@ -82,6 +82,8 @@ pulsing lamp in the headline that matches the system state.
|
|
|
82
82
|
series draws, lamps pop after their rows, the incident rail draws, the headline
|
|
83
83
|
lamp pulses slowly.
|
|
84
84
|
|
|
85
|
+
The pointer does not stir the page (`data-pointer="off"` on `<html>`): people work here for hours. Hover and focus states stay.
|
|
86
|
+
|
|
85
87
|
## Do / Don't
|
|
86
88
|
|
|
87
89
|
- DO keep one teal series; extra series step down in opacity, never new hues.
|