@uselazuli/cli 0.0.0-stage → 1.0.2
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/CHANGELOG.md +120 -0
- package/LICENSE +21 -0
- package/README.md +202 -2
- package/agents/lazuli-design-reviewer.md +30 -0
- package/agents/lazuli-first-look.md +22 -0
- package/agents/lazuli-task-tester.md +25 -0
- package/bin/lazuli.mjs +747 -0
- package/package.json +11 -4
- package/rules/accessibility/HYPOTHESES.md +8 -0
- package/rules/accessibility/_area.yaml +7 -0
- package/rules/accessibility/operable.yaml +100 -0
- package/rules/accessibility/perceivable.yaml +153 -0
- package/rules/accessibility/robust.yaml +24 -0
- package/rules/accessibility/understandable.yaml +72 -0
- package/rules/color/HYPOTHESES.md +27 -0
- package/rules/color/_area.yaml +10 -0
- package/rules/color/adapt.yaml +183 -0
- package/rules/color/create.yaml +259 -0
- package/rules/color/review.yaml +215 -0
- package/rules/color/signal.yaml +196 -0
- package/rules/content/HYPOTHESES.md +19 -0
- package/rules/content/_area.yaml +8 -0
- package/rules/content/review.yaml +378 -0
- package/rules/content/voice.yaml +144 -0
- package/rules/content/writing.yaml +202 -0
- package/rules/data/HYPOTHESES.md +11 -0
- package/rules/data/_area.yaml +7 -0
- package/rules/data/charts.yaml +189 -0
- package/rules/data/dashboards.yaml +141 -0
- package/rules/data/review.yaml +159 -0
- package/rules/graphic/HYPOTHESES.md +18 -0
- package/rules/graphic/_area.yaml +8 -0
- package/rules/graphic/identity.yaml +141 -0
- package/rules/graphic/pieces.yaml +164 -0
- package/rules/graphic/review.yaml +271 -0
- package/rules/graphic/symbol.yaml +141 -0
- package/rules/motion/HYPOTHESES.md +19 -0
- package/rules/motion/_area.yaml +7 -0
- package/rules/motion/micro.yaml +143 -0
- package/rules/motion/review.yaml +347 -0
- package/rules/motion/transitions.yaml +169 -0
- package/rules/typography/HYPOTHESES.md +12 -0
- package/rules/typography/_area.yaml +8 -0
- package/rules/typography/adapt.yaml +45 -0
- package/rules/typography/create.yaml +126 -0
- package/rules/typography/review.yaml +127 -0
- package/rules/ui/HYPOTHESES.md +23 -0
- package/rules/ui/_area.yaml +9 -0
- package/rules/ui/compose.yaml +246 -0
- package/rules/ui/grid.yaml +75 -0
- package/rules/ui/review.yaml +400 -0
- package/rules/ui/states.yaml +257 -0
- package/rules/ux/HYPOTHESES.md +13 -0
- package/rules/ux/_area.yaml +8 -0
- package/rules/ux/flows.yaml +164 -0
- package/rules/ux/forms.yaml +142 -0
- package/rules/ux/review.yaml +186 -0
- package/skills/lazuli/SKILL.md +183 -0
- package/skills/lazuli/procedures/create.md +29 -0
- package/skills/lazuli/procedures/explain-decisions.md +22 -0
- package/skills/lazuli/procedures/improve.md +30 -0
- package/skills/lazuli/procedures/remember-this.md +41 -0
- package/skills/lazuli/procedures/review-design.md +36 -0
- package/skills/lazuli/procedures/show-options.md +33 -0
- package/skills/lazuli-accessibility-check/SKILL.md +68 -0
- package/skills/lazuli-color-context-and-culture/SKILL.md +53 -0
- package/skills/lazuli-color-context-and-culture/references/sectors.md +26 -0
- package/skills/lazuli-color-palette-by-intent/SKILL.md +54 -0
- package/skills/lazuli-color-palette-by-intent/references/intent-chords.md +51 -0
- package/skills/lazuli-color-screen-review/SKILL.md +51 -0
- package/skills/lazuli-color-states-and-signals/SKILL.md +53 -0
- package/skills/lazuli-content-interface-writing/SKILL.md +53 -0
- package/skills/lazuli-content-voice/SKILL.md +40 -0
- package/skills/lazuli-data-charts-and-dashboards/SKILL.md +59 -0
- package/skills/lazuli-graphic-derived-pieces/SKILL.md +40 -0
- package/skills/lazuli-graphic-derived-pieces/references/piece-template.html +24 -0
- package/skills/lazuli-graphic-identity/SKILL.md +45 -0
- package/skills/lazuli-motion-micro-and-transitions/SKILL.md +49 -0
- package/skills/lazuli-typography-choose-and-pair/SKILL.md +50 -0
- package/skills/lazuli-typography-screen-review/SKILL.md +51 -0
- package/skills/lazuli-ui-composition/SKILL.md +42 -0
- package/skills/lazuli-ui-composition/references/option-template.html +34 -0
- package/skills/lazuli-ui-layout-review/SKILL.md +47 -0
- package/skills/lazuli-ui-states-and-system/SKILL.md +54 -0
- package/skills/lazuli-ux-flows-and-forms/SKILL.md +51 -0
- package/skills/lazuli-ux-task-test/SKILL.md +44 -0
- package/src/browser.mjs +162 -0
- package/src/commands/capture.mjs +313 -0
- package/src/commands/catalog.mjs +37 -0
- package/src/commands/check-design.mjs +463 -0
- package/src/commands/check-goals.mjs +57 -0
- package/src/commands/compare-designs.mjs +160 -0
- package/src/commands/draft-memo.mjs +162 -0
- package/src/commands/hooks.mjs +345 -0
- package/src/commands/install-hooks.mjs +120 -0
- package/src/commands/install.mjs +132 -0
- package/src/commands/list-rules.mjs +49 -0
- package/src/commands/map-page.mjs +594 -0
- package/src/commands/record-answers.mjs +79 -0
- package/src/commands/record-log.mjs +325 -0
- package/src/commands/record-task.mjs +250 -0
- package/src/commands/render-options.mjs +227 -0
- package/src/commands/start-project.mjs +32 -0
- package/src/measure/a11y.mjs +391 -0
- package/src/measure/asset.mjs +206 -0
- package/src/measure/at-rest.mjs +49 -0
- package/src/measure/cases.mjs +566 -0
- package/src/measure/chart-read.mjs +401 -0
- package/src/measure/chart.mjs +264 -0
- package/src/measure/coherence.mjs +145 -0
- package/src/measure/color.mjs +86 -0
- package/src/measure/content.mjs +82 -0
- package/src/measure/cvd.mjs +24 -0
- package/src/measure/extreme.mjs +241 -0
- package/src/measure/forms.mjs +150 -0
- package/src/measure/in-page/a11y.js +522 -0
- package/src/measure/in-page/color.js +348 -0
- package/src/measure/in-page/composition.js +1496 -0
- package/src/measure/in-page/contrast.js +15 -0
- package/src/measure/in-page/cvd.js +173 -0
- package/src/measure/in-page/extreme.js +377 -0
- package/src/measure/in-page/frames.js +781 -0
- package/src/measure/in-page/look.js +28 -0
- package/src/measure/in-page/motion-probe.js +171 -0
- package/src/measure/in-page/style.js +107 -0
- package/src/measure/in-page/svg-strokes.js +112 -0
- package/src/measure/in-page/svg-uses.js +50 -0
- package/src/measure/in-page/symbol.js +123 -0
- package/src/measure/in-page/type.js +269 -0
- package/src/measure/in-page/weight.js +207 -0
- package/src/measure/layout.mjs +100 -0
- package/src/measure/motion.mjs +509 -0
- package/src/measure/piece.mjs +195 -0
- package/src/measure/registry.mjs +253 -0
- package/src/measure/rhythm.mjs +81 -0
- package/src/measure/signature.mjs +65 -0
- package/src/measure/states.mjs +240 -0
- package/src/measure/style.mjs +13 -0
- package/src/measure/symbol.mjs +268 -0
- package/src/measure/terms.mjs +153 -0
- package/src/measure/tiles.mjs +20 -0
- package/src/measure/timeline.mjs +621 -0
- package/src/measure/type.mjs +167 -0
- package/src/measure/weight.mjs +18 -0
- package/src/private-strings.mjs +81 -0
- package/src/project/blind.mjs +70 -0
- package/src/project/edits.mjs +154 -0
- package/src/project/gate.mjs +168 -0
- package/src/project/lazuli-md.mjs +521 -0
- package/src/project/log.mjs +335 -0
- package/src/project/match.mjs +200 -0
- package/src/project/records.mjs +380 -0
- package/src/project/tasks.mjs +153 -0
- package/src/report/evaluate.mjs +27 -0
- package/src/report/evaluators/a11y.mjs +227 -0
- package/src/report/evaluators/chart.mjs +151 -0
- package/src/report/evaluators/coherence.mjs +103 -0
- package/src/report/evaluators/color.mjs +133 -0
- package/src/report/evaluators/content.mjs +112 -0
- package/src/report/evaluators/extreme.mjs +87 -0
- package/src/report/evaluators/forms.mjs +116 -0
- package/src/report/evaluators/layout.mjs +103 -0
- package/src/report/evaluators/motion.mjs +280 -0
- package/src/report/evaluators/piece.mjs +69 -0
- package/src/report/evaluators/rhythm.mjs +99 -0
- package/src/report/evaluators/states.mjs +39 -0
- package/src/report/evaluators/style.mjs +35 -0
- package/src/report/evaluators/symbol.mjs +110 -0
- package/src/report/evaluators/terms.mjs +49 -0
- package/src/report/evaluators/type.mjs +166 -0
- package/src/report/evaluators/weight.mjs +51 -0
- package/src/report/evidence.mjs +4 -0
- package/src/report/finding.mjs +11 -0
- package/src/report/format.mjs +215 -0
- package/src/rules/hypotheses.mjs +28 -0
- package/src/rules/load.mjs +274 -0
- package/src/rules/public-text.mjs +56 -0
- package/src/rules/schema.mjs +220 -0
- package/templates/LAZULI.md +88 -0
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
# Symbol and piece review. GR1 to GR4 read the symbol report of check-design --asset (silhouette, parts,
|
|
2
|
+
# strokes, edge contrast) and give a hint, never a verdict: every number here is a hypothesis with its own id
|
|
3
|
+
# in HYPOTHESES.md until the A/B shows it helps. GR5 is a blind look by a fresh agent; the CLI never judges it.
|
|
4
|
+
# GR6 to GR9 read the piece report (fit, colors, fonts, symbol file): exact comparisons with the declared Size
|
|
5
|
+
# and the Brand tokens, hints with their own H rows and no cutoff.
|
|
6
|
+
|
|
7
|
+
- id: GR1
|
|
8
|
+
name: The silhouette holds down to 16 px
|
|
9
|
+
area: graphic
|
|
10
|
+
moment: review
|
|
11
|
+
skill: lazuli-graphic-identity
|
|
12
|
+
rule: >-
|
|
13
|
+
Check that the symbol keeps the shape of its large render at every smaller size down to 16 px: the pixels it covers at a small size, laid over the large render, still cover most of the same shape.
|
|
14
|
+
why: >-
|
|
15
|
+
A symbol whose outline breaks up, fills in or vanishes at small sizes is a different shape in a browser tab than on a sign, so the small placements lose the mark. (our claim)
|
|
16
|
+
origin: hypothesis
|
|
17
|
+
status: hypothesis
|
|
18
|
+
hypothesis: H1
|
|
19
|
+
source: >-
|
|
20
|
+
Our claim, not verified yet. The cutoff is a starting value set before any symbol was measured; the H1 row says how and lists what was observed afterwards, which is not evidence. Designing for the smallest size is GS1, keeping the silhouette in one flat color is GS4.
|
|
21
|
+
measure: symbol.silhouette
|
|
22
|
+
threshold: { minOverlap: 0.8 }
|
|
23
|
+
when_to_break: >-
|
|
24
|
+
A mark made only for large formats, with a separate small version declared in Brand (GS2), may lose its silhouette at sizes that version does not serve, declared with break-a-rule first.
|
|
25
|
+
break_effect: >-
|
|
26
|
+
The large mark keeps its full outline, and the small placements show the small version instead.
|
|
27
|
+
test: >-
|
|
28
|
+
check-design --asset renders the symbol on the size ladder and reports, per size, the share of the large shape that the small render still covers. Hint when a size falls under the cutoff; the reviewer then looks at the contact sheet.
|
|
29
|
+
example: >-
|
|
30
|
+
A loaf with one score line covers nearly the same pixels at 16 px as at 512 px, scaled.
|
|
31
|
+
counterexample: >-
|
|
32
|
+
A ring of fine concentric lines that is a solid disc at 32 px and nothing at 16 px.
|
|
33
|
+
|
|
34
|
+
- id: GR2
|
|
35
|
+
name: No part disappears in the sizes a version serves
|
|
36
|
+
area: graphic
|
|
37
|
+
moment: review
|
|
38
|
+
skill: lazuli-graphic-identity
|
|
39
|
+
rule: >-
|
|
40
|
+
Check that every color part of the symbol that is a real share of it is still drawn at each size the version serves. When a part vanishes at small sizes, move those sizes to a simplified version declared in Brand with its range (GS2), or make the part larger.
|
|
41
|
+
why: >-
|
|
42
|
+
A part that is drawn large and gone small changes what the mark says at small sizes: a gold line that carried the idea is simply not there in the tab. (our claim)
|
|
43
|
+
origin: hypothesis
|
|
44
|
+
status: hypothesis
|
|
45
|
+
hypothesis: H2
|
|
46
|
+
source: >-
|
|
47
|
+
Our claim, not verified yet. The cutoff is a starting value set before any symbol was measured; the H2 row says how and lists what was observed afterwards, which is not evidence. Parts smaller than the cutoff are not checked.
|
|
48
|
+
measure: symbol.detail
|
|
49
|
+
threshold: { minPartShare: 0.02 }
|
|
50
|
+
when_to_break: >-
|
|
51
|
+
A texture or highlight that is meant to fade at small sizes and is not part of the idea may disappear, declared with break-a-rule first.
|
|
52
|
+
break_effect: >-
|
|
53
|
+
The large symbol keeps its richness, and the small sizes show only the parts that carry the mark.
|
|
54
|
+
test: >-
|
|
55
|
+
check-design --asset groups the symbol's pixels by color at its largest size and reports each part of at least the cutoff share that is not drawn at a smaller size. Hint naming the part and the sizes; the reviewer checks whether the part carried the idea.
|
|
56
|
+
example: >-
|
|
57
|
+
The main symbol's gold score line is lost below 64 px, so the small version, declared up to 48 px, draws it twice as wide.
|
|
58
|
+
counterexample: >-
|
|
59
|
+
A favicon rendered from the textured main file, where the accent color is gone at 16 px and nobody noticed.
|
|
60
|
+
|
|
61
|
+
- id: GR3
|
|
62
|
+
name: No stroke under one pixel at the smallest size served
|
|
63
|
+
area: graphic
|
|
64
|
+
moment: review
|
|
65
|
+
skill: lazuli-graphic-identity
|
|
66
|
+
rule: >-
|
|
67
|
+
Check that no stroke of an SVG symbol is thinner than one pixel at the smallest size its file serves. The width at a size is the drawn width scaled to that size; thicken the stroke or serve those sizes with a simplified version (GS2, GS3).
|
|
68
|
+
why: >-
|
|
69
|
+
A stroke under one pixel is drawn as a faint blur of its color, so the line the drawing relies on turns into a smudge or vanishes. (our claim)
|
|
70
|
+
origin: hypothesis
|
|
71
|
+
status: hypothesis
|
|
72
|
+
hypothesis: H3
|
|
73
|
+
source: >-
|
|
74
|
+
Our claim, not verified yet. The cutoff is one device pixel at scale 1, set before any symbol was measured; the H3 row says how and lists what was observed afterwards, which is not evidence. Strokes are read from an SVG only; a raster gives no stroke reading.
|
|
75
|
+
measure: symbol.stroke
|
|
76
|
+
threshold: { minStrokePx: 1 }
|
|
77
|
+
when_to_break: >-
|
|
78
|
+
A deliberate hairline that may fade at small sizes (a texture, not the silhouette) may stay, declared with break-a-rule first.
|
|
79
|
+
break_effect: >-
|
|
80
|
+
The large symbol keeps its fine line, and the small sizes show the silhouette without it.
|
|
81
|
+
test: >-
|
|
82
|
+
check-design --asset reads every stroke width from the SVG geometry and reports the thinnest at each size. Hint when it falls under the cutoff, with the shape and its width.
|
|
83
|
+
example: >-
|
|
84
|
+
A 24 unit score line in a 512 unit box is 0.75 px at 16 px, so the small version draws it at 48 units, 1.5 px.
|
|
85
|
+
counterexample: >-
|
|
86
|
+
A ring with a 12 unit stroke in a 512 unit box, 0.375 px at 16 px, used as a favicon.
|
|
87
|
+
|
|
88
|
+
- id: GR4
|
|
89
|
+
name: The edge holds on light and dark
|
|
90
|
+
area: graphic
|
|
91
|
+
moment: review
|
|
92
|
+
skill: lazuli-graphic-identity
|
|
93
|
+
rule: >-
|
|
94
|
+
Check that at least half of the symbol's edge stands out from a white and from a black background at every size. When it does not hold on one of them, give that background its own version (GS5). A symbol used as the only content of a link or a button is an interface component, and its contrast in that use is the accessibility area's (with the color rule RV2), not this hint.
|
|
95
|
+
why: >-
|
|
96
|
+
Browser tabs, system themes and photos put the symbol on light and dark grounds, and a mark whose edge melts into one of them is lost there. (our claim)
|
|
97
|
+
origin: hypothesis
|
|
98
|
+
status: hypothesis
|
|
99
|
+
hypothesis: H4
|
|
100
|
+
source: >-
|
|
101
|
+
Our claim, not verified yet. Related reading: W3C, Understanding SC 1.4.11 Non-text Contrast, https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html (sections "Graphical Objects", "Logos" and "Essential exception", opened 2026-11-26): parts of graphics required to understand the content need 3:1 against adjacent colors, logos are exempt because they follow brand guidelines, the exemption does not hold when a low contrast is the author's choice, and the page notes the exemption can be a problem when a logo acts as a link. The page exempts logos, so it does not state this rule; applying its 3:1 to a symbol's edge on a background is our claim, and the median edge pixel is our measure (H4).
|
|
102
|
+
measure: symbol.contrast
|
|
103
|
+
threshold: { minContrast: 3 }
|
|
104
|
+
when_to_break: >-
|
|
105
|
+
A brand used only on one kind of background (a printed menu on cream paper) may skip the other, declared with break-a-rule first.
|
|
106
|
+
break_effect: >-
|
|
107
|
+
One version is kept, and its use stays limited to that background.
|
|
108
|
+
test: >-
|
|
109
|
+
check-design --asset composites each edge pixel of the symbol over white and over black and reports the median contrast per size and background. Hint naming the background and the sizes under the cutoff; the reviewer checks the dark and light versions on the contact sheet.
|
|
110
|
+
example: >-
|
|
111
|
+
The deep blue mark's edge stands out on white and melts into black, so the SVG switches to a light fill in dark themes.
|
|
112
|
+
counterexample: >-
|
|
113
|
+
A navy favicon that disappears in every dark browser tab.
|
|
114
|
+
|
|
115
|
+
- id: GR5
|
|
116
|
+
name: The small sizes read as the same mark, judged blind
|
|
117
|
+
area: graphic
|
|
118
|
+
moment: review
|
|
119
|
+
skill: lazuli-graphic-identity
|
|
120
|
+
rule: >-
|
|
121
|
+
Show the contact sheet to a fresh agent that did not draw the symbol and was not told the brand, and ask what it sees at 16 px and 32 px and whether those are the same mark as the large one. When it names something else, or says the small ones are a different mark, simplify the small version (GS2) and look again.
|
|
122
|
+
why: >-
|
|
123
|
+
Whoever drew the symbol sees the idea in it at any size, because they know what it is; only someone who does not know can say whether the small sizes still carry it. (our claim)
|
|
124
|
+
origin: hypothesis
|
|
125
|
+
status: hypothesis
|
|
126
|
+
hypothesis: H5
|
|
127
|
+
source: >-
|
|
128
|
+
Our claim, not verified yet. The H5 row says how the blind look is to be validated; no number is used.
|
|
129
|
+
when_to_break: >-
|
|
130
|
+
A symbol that is never shown under 48 px (a building sign, a stage backdrop) needs no blind look at small sizes, declared with break-a-rule first.
|
|
131
|
+
break_effect: >-
|
|
132
|
+
The review time goes to the large uses, and the small sizes stay unchecked by design.
|
|
133
|
+
test: >-
|
|
134
|
+
A blind look: a fresh agent that did not draw the symbol sees only sheet.png, the blind copy of symbol-sheet.png that check-design --asset writes outside the project with each tile labeled by its size only, and says, in words, what it sees at 16 px and at 32 px and whether they are the large one; the reviewer compares that with the idea. In v1.0 the answer is reported in words only and is not counted by the effect gate; the CLI never says a symbol is recognizable.
|
|
135
|
+
example: >-
|
|
136
|
+
Shown only the sheet, the fresh agent says "a loaf with a cut, the same at every size", which matches the idea.
|
|
137
|
+
counterexample: >-
|
|
138
|
+
The designer looks at their own favicon, knows it is a loaf, and approves a 16 px render that a stranger reads as a brown square.
|
|
139
|
+
|
|
140
|
+
- id: GR6
|
|
141
|
+
name: The piece fits its declared canvas
|
|
142
|
+
area: graphic
|
|
143
|
+
moment: review
|
|
144
|
+
skill: lazuli-graphic-derived-pieces
|
|
145
|
+
rule: >-
|
|
146
|
+
Check that the content of a piece stays inside the canvas its goal declares with `Size:` (GD2), at every size: nothing runs past the right or the bottom edge, where the rendered image cuts it. A raster piece is an image of exactly the declared size.
|
|
147
|
+
why: >-
|
|
148
|
+
What runs past the canvas is cut from the image that ships, and the part cut is often the end of a line or the edge of the symbol. (our claim)
|
|
149
|
+
origin: hypothesis
|
|
150
|
+
status: hypothesis
|
|
151
|
+
hypothesis: H6
|
|
152
|
+
source: >-
|
|
153
|
+
Our claim, not verified yet. The H6 row says how the spill is read; no number is used as a cutoff. Making each piece at its exact canvas is GD2.
|
|
154
|
+
measure: piece.fit
|
|
155
|
+
when_to_break: >-
|
|
156
|
+
A piece whose idea is a crop (a symbol cut by the edge on purpose, GD4) may run past the canvas, declared with break-a-rule first.
|
|
157
|
+
break_effect: >-
|
|
158
|
+
The cut reads as intended, and the rest of the piece stays inside the canvas.
|
|
159
|
+
test: >-
|
|
160
|
+
check-design --asset renders the piece at each declared Size, writes the PNG and reports how far the content runs past the right or bottom edge, or compares a raster piece with its natural size. Hint when it spills or the size differs; the reviewer looks at the PNG.
|
|
161
|
+
example: >-
|
|
162
|
+
A 1200x630 link preview whose headline wraps inside the canvas and whose PNG shows every line.
|
|
163
|
+
counterexample: >-
|
|
164
|
+
A link preview whose last line sits 40 px below the canvas and is missing from the PNG.
|
|
165
|
+
|
|
166
|
+
- id: GR7
|
|
167
|
+
name: Every color of a piece is a Brand color
|
|
168
|
+
area: graphic
|
|
169
|
+
moment: review
|
|
170
|
+
skill: lazuli-graphic-derived-pieces
|
|
171
|
+
rule: >-
|
|
172
|
+
Check that every color drawn in the piece (text, backgrounds, borders, gradient stops, SVG fills and strokes) is one of the `- Color:` lines of `## Brand` in LAZULI.md, as GD1 asks. A color that is not there is drift, or a choice to declare.
|
|
173
|
+
why: >-
|
|
174
|
+
Pieces made one at a time drift a shade each time, and an exact comparison with the Brand list catches the drift before it ships. (our claim)
|
|
175
|
+
origin: hypothesis
|
|
176
|
+
status: hypothesis
|
|
177
|
+
hypothesis: H7
|
|
178
|
+
source: >-
|
|
179
|
+
Our claim, not verified yet. The H7 row says how colors are read and what is not read; no number is used as a cutoff. Taking every color from the Brand tokens is GD1.
|
|
180
|
+
measure: piece.palette
|
|
181
|
+
when_to_break: >-
|
|
182
|
+
A co-branded piece that must carry a partner's colors may add them, declared with break-a-rule first, naming the partner (GD1).
|
|
183
|
+
break_effect: >-
|
|
184
|
+
Both brands appear as themselves, and the partner's colors are explained instead of reading as drift.
|
|
185
|
+
test: >-
|
|
186
|
+
check-design --asset reads the computed colors of the piece and lists each one that is not a Brand color, with where it is drawn. Hint when one is off; the reviewer checks whether it is there on purpose.
|
|
187
|
+
example: >-
|
|
188
|
+
An Open Graph piece whose background, headline and accent are the ink, paper and dawn Brand colors and nothing else.
|
|
189
|
+
counterexample: >-
|
|
190
|
+
A post whose pink badge was picked from a photo, a color the Brand never declared.
|
|
191
|
+
|
|
192
|
+
- id: GR8
|
|
193
|
+
name: Every font of a piece is a Brand font
|
|
194
|
+
area: graphic
|
|
195
|
+
moment: review
|
|
196
|
+
skill: lazuli-graphic-derived-pieces
|
|
197
|
+
rule: >-
|
|
198
|
+
Check that every font family the piece renders is one of the `- Font:` lines of `## Brand` in LAZULI.md, as GD1 asks. A family that is not there is usually a font that did not load or the system default; a few glyphs the Brand font lacks drawn in another family are not counted (H8).
|
|
199
|
+
why: >-
|
|
200
|
+
A piece set in the system default because its font did not load looks like someone else's, and only the rendered family shows it. (our claim)
|
|
201
|
+
origin: hypothesis
|
|
202
|
+
status: hypothesis
|
|
203
|
+
hypothesis: H8
|
|
204
|
+
source: >-
|
|
205
|
+
Our claim, not verified yet. The H8 row says how fonts are read and what is not counted; no number is used as a cutoff. Taking every font from the Brand tokens is GD1.
|
|
206
|
+
measure: piece.fonts
|
|
207
|
+
when_to_break: >-
|
|
208
|
+
A piece that quotes another brand's type on purpose (a partner logo set in its own face) may add it, declared with break-a-rule first.
|
|
209
|
+
break_effect: >-
|
|
210
|
+
The quoted face reads as the partner's, and the rest of the piece stays in the Brand font.
|
|
211
|
+
test: >-
|
|
212
|
+
check-design --asset reads the font families the browser rendered for the visible text of the piece and lists each one that is not a Brand font. Hint when one is off; the reviewer checks the font loads where the piece is rendered.
|
|
213
|
+
example: >-
|
|
214
|
+
A presentation cover whose title and subtitle both render in the Brand font, loaded from the piece's own files.
|
|
215
|
+
counterexample: >-
|
|
216
|
+
A cover meant to be in the Brand font that rendered in Arial because the font file path was wrong.
|
|
217
|
+
|
|
218
|
+
- id: GR9
|
|
219
|
+
name: The piece shows the Brand symbol file
|
|
220
|
+
area: graphic
|
|
221
|
+
moment: review
|
|
222
|
+
skill: lazuli-graphic-derived-pieces
|
|
223
|
+
rule: >-
|
|
224
|
+
Check that the piece shows the symbol by pointing to a file named on a `- Symbol:` line of `## Brand` in LAZULI.md (an img, an SVG image or use, or a CSS background), the small version where its range covers the size, as GD1 asks. Do not paste a copy of the symbol's markup into the piece.
|
|
225
|
+
why: >-
|
|
226
|
+
A pasted or redrawn copy of the symbol drifts from the file the brand keeps, and pointing to the file keeps every piece on the current mark. (our claim)
|
|
227
|
+
origin: hypothesis
|
|
228
|
+
status: hypothesis
|
|
229
|
+
hypothesis: H9
|
|
230
|
+
source: >-
|
|
231
|
+
Our claim, not verified yet. The H9 row says how the reference is found and what is not recognized; no number is used as a cutoff. Taking the symbol from the Brand tokens is GD1.
|
|
232
|
+
measure: piece.symbol
|
|
233
|
+
when_to_break: >-
|
|
234
|
+
A piece meant to carry no symbol (a quote post in a series the symbol already frames) may leave it out, declared with break-a-rule first.
|
|
235
|
+
break_effect: >-
|
|
236
|
+
The piece stays quiet, and the series carries the brand.
|
|
237
|
+
test: >-
|
|
238
|
+
check-design --asset looks for a reference to a Brand symbol file among the piece's images, SVG images and uses and CSS backgrounds, and reports the file and the size it is drawn at. Hint when none points to a Brand symbol; the reviewer checks the version fits the size.
|
|
239
|
+
example: >-
|
|
240
|
+
A favicon piece whose img points to brand/symbol-small.svg, the Brand symbol declared up to 32 px.
|
|
241
|
+
counterexample: >-
|
|
242
|
+
An Open Graph piece with the symbol's paths pasted inline, a copy that still shows last year's mark.
|
|
243
|
+
|
|
244
|
+
# GR10 is the one page rule of this area: check-design on a page reads the first view's colors and compares them
|
|
245
|
+
# with the Brand Color lines of LAZULI.md. The cutoffs are carried over (H10), not picked from a page.
|
|
246
|
+
- id: GR10
|
|
247
|
+
name: The first view shows a Brand color
|
|
248
|
+
area: graphic
|
|
249
|
+
moment: review
|
|
250
|
+
skill: lazuli-graphic-identity
|
|
251
|
+
rule: >-
|
|
252
|
+
Check that the first view of a page shows at least one color of the Brand (a `- Color:` line of `## Brand` in LAZULI.md): the colors the first view is made of include one within the cutoff distance of a Brand color, over at least the cutoff share of the view. When none is, either bring a Brand color into the first view or declare the move away from the brand.
|
|
253
|
+
why: >-
|
|
254
|
+
The Brand colors are how a page is recognized as this brand. A first view made only of other colors reads as another brand, and nothing else in a page check would say so. (our claim)
|
|
255
|
+
origin: hypothesis
|
|
256
|
+
status: hypothesis
|
|
257
|
+
hypothesis: H10
|
|
258
|
+
source: >-
|
|
259
|
+
Our claim, not verified yet. Both cutoffs are carried over from numbers the kit already uses, set before any page was read; the H10 row says where each comes from and lists what was observed afterwards, which is not evidence. Declaring the Brand tokens is GI4.
|
|
260
|
+
measure: color.brand
|
|
261
|
+
threshold: { maxDeltaE: 10, minShare: 0.005 }
|
|
262
|
+
when_to_break: >-
|
|
263
|
+
A page that moves the brand to another color on purpose (a campaign, a rebrand in progress), declared with break-a-rule first.
|
|
264
|
+
break_effect: >-
|
|
265
|
+
The page shows the new color in the first view, and a visitor who knows the brand may not recognize it at first sight.
|
|
266
|
+
test: >-
|
|
267
|
+
check-design reads the colors of the first view from the screenshot and takes, for each Brand Color line, the colors within the cutoff distance (Delta E 1976). A Brand color is present when those colors cover at least the cutoff share of the first view, summed on the unrounded shares. Hint when none is, naming for each Brand color the nearest color of the view, its distance and its share, and the share covered within the cutoff distance. With no Brand Color line there is no finding, and a note says so.
|
|
268
|
+
example: >-
|
|
269
|
+
A first view whose hero is the brand's blue, or whose button and logo carry it.
|
|
270
|
+
counterexample: >-
|
|
271
|
+
A first view in red and white for a brand whose only Color line is a green.
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Symbol. How the symbol is drawn so it reads from large down to 16 px, on a light and a dark background.
|
|
2
|
+
# These rules are for the moment the symbol is drawn. check-design reads the symbol files declared in
|
|
3
|
+
# `## Brand`; whether the small symbol reads as the same mark is a blind look and the reviewer's call.
|
|
4
|
+
|
|
5
|
+
- id: GS1
|
|
6
|
+
name: Design for the smallest size from the first sketch
|
|
7
|
+
area: graphic
|
|
8
|
+
moment: create
|
|
9
|
+
skill: lazuli-graphic-identity
|
|
10
|
+
rule: >-
|
|
11
|
+
From the first sketch, look at every direction at the smallest size it will be used (16 px for a favicon) next to its large size. Shape the symbol so its main form survives there: few parts, open counters, no detail that only works large.
|
|
12
|
+
why: >-
|
|
13
|
+
A complex mark becomes hard to read when it is scaled down while a simple one survives, and a symbol fixed for small sizes at the end usually loses what made it worth drawing (our claim).
|
|
14
|
+
origin: source
|
|
15
|
+
source: >-
|
|
16
|
+
Smashing Magazine, Jon Tarr, How To Prepare Your Logo For Responsive Design Systems, https://www.smashingmagazine.com/2016/04/logo-design-responsive-websites/ (section "A Simple Fact", opened 2026-11-26): a complex logo is barely readable when scaled down, while a simple one scales cleanly and works at any size. Starting at the smallest size from the first sketch, and 16 px as that size, are our claim.
|
|
17
|
+
when_to_break: >-
|
|
18
|
+
A symbol made only for large formats (a building sign, a stage backdrop) may be drawn large first, declared with break-a-rule first, with a small version drawn separately under GS2.
|
|
19
|
+
break_effect: >-
|
|
20
|
+
The large symbol may carry rich detail, and the small version carries only the silhouette.
|
|
21
|
+
test: >-
|
|
22
|
+
The reviewer checks that every direction was shown at 16 px from the first sheet; check-design renders the symbol down to 16 px once it is a file (GR1), and a blind look of the small sizes follows (GR5).
|
|
23
|
+
example: >-
|
|
24
|
+
The first sheet shows each sketch at 16 px beside 256 px, and the direction whose thin rays merged at 16 px is dropped on day one.
|
|
25
|
+
counterexample: >-
|
|
26
|
+
A detailed illustration approved at full size, then squeezed into a favicon where it reads as a gray smudge.
|
|
27
|
+
|
|
28
|
+
- id: GS2
|
|
29
|
+
name: A simplified version for small sizes
|
|
30
|
+
area: graphic
|
|
31
|
+
moment: create
|
|
32
|
+
skill: lazuli-graphic-identity
|
|
33
|
+
rule: >-
|
|
34
|
+
When the symbol's detail cannot survive small sizes, draw a simplified version that keeps the silhouette and the idea and drops the rest, and declare it in `## Brand` as its own Symbol line with its range, for example `- Symbol: brand/symbol-small.svg (up to 32 px)`. Small placements use that file; larger ones use the main symbol.
|
|
35
|
+
why: >-
|
|
36
|
+
A version drawn for small sizes keeps the mark recognizable where the full one would blur, and declaring its range tells every piece which file to use. (our claim)
|
|
37
|
+
origin: source
|
|
38
|
+
source: >-
|
|
39
|
+
MDN Web Docs, Define your app icons, https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Define_app_icons (sections "Design your icon" and "Create the necessary icon sizes", opened 2026-11-26): create icon versions with fewer details for places where the icon is shown small, when an SVG does not scale down nicely. Evil Martians, How to Favicon (fetched title "How to Favicon in 2026: Three files that fit most needs"), https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs (section on favicon.ico, opened 2026-11-26): when the 16 px downscale is too blurry, ask for a custom tiny version of the logo. Declaring the version and its range in LAZULI.md is our claim.
|
|
40
|
+
when_to_break: >-
|
|
41
|
+
A symbol that already reads at 16 px without change needs no second version, declared with break-a-rule first so the reviewer knows it was checked.
|
|
42
|
+
break_effect: >-
|
|
43
|
+
One file serves every size, and there is one less file to keep in step.
|
|
44
|
+
test: >-
|
|
45
|
+
The reviewer checks that the small version keeps the silhouette and the idea of the main one; check-design renders each Symbol line over its declared range and reports parts that are not drawn there (GR2).
|
|
46
|
+
example: >-
|
|
47
|
+
The main symbol has a textured loaf with a score line; the small version is the flat loaf and the line, declared up to 32 px.
|
|
48
|
+
counterexample: >-
|
|
49
|
+
The same textured file is used for the favicon, where the texture turns the loaf into noise.
|
|
50
|
+
|
|
51
|
+
- id: GS3
|
|
52
|
+
name: No stroke or gap thinner than one pixel
|
|
53
|
+
area: graphic
|
|
54
|
+
moment: create
|
|
55
|
+
skill: lazuli-graphic-identity
|
|
56
|
+
rule: >-
|
|
57
|
+
At the smallest size a symbol version serves, no stroke and no gap between parts is thinner than one pixel. Work out the width at that size from the drawing (a 2 unit stroke in a 512 unit box is 0.0625 px at 16 px) and thicken the stroke or move to the small version when it falls under one pixel.
|
|
58
|
+
why: >-
|
|
59
|
+
A line thinner than a pixel is drawn as a faint blur of its color, and a gap thinner than a pixel closes, so two parts merge into one. (our claim)
|
|
60
|
+
origin: hypothesis
|
|
61
|
+
source: >-
|
|
62
|
+
Our claim: the one pixel minimum and its use on brand symbols are not from an opened page. Related reading, about interface icon sets, not brand symbols: Lucide, Icon design guide, https://lucide.dev/contribute/icon-design-guide (sections "Design for the pixel grid" and "Keep at least 2 pixels between elements", opened 2026-11-26) aligns geometry to the pixel grid and keeps distinct elements apart on its own 24 px canvas; its figures are not kit values.
|
|
63
|
+
when_to_break: >-
|
|
64
|
+
A deliberate hairline that is allowed to fade at small sizes (a texture, not part of the silhouette) may stay, declared with break-a-rule first.
|
|
65
|
+
break_effect: >-
|
|
66
|
+
The large symbol keeps its fine line, and the small sizes show only the silhouette, as intended.
|
|
67
|
+
test: >-
|
|
68
|
+
The reviewer checks the thinnest stroke and gap at the smallest size each version serves; check-design reads stroke widths from the SVG geometry once the symbol is a file (GR3).
|
|
69
|
+
example: >-
|
|
70
|
+
The score line is 24 units in a 512 unit box, 0.75 px at 16 px, so the small version draws it at 48 units (1.5 px).
|
|
71
|
+
counterexample: >-
|
|
72
|
+
A symbol of fine concentric rings that become one gray disc at 16 px.
|
|
73
|
+
|
|
74
|
+
- id: GS4
|
|
75
|
+
name: The silhouette holds in one flat color
|
|
76
|
+
area: graphic
|
|
77
|
+
moment: create
|
|
78
|
+
skill: lazuli-graphic-identity
|
|
79
|
+
rule: >-
|
|
80
|
+
Fill the symbol in a single flat color and check that its silhouette still reads as the mark. Gradients, shadows and textures may be added later, but they never carry the shape: the shape is the silhouette.
|
|
81
|
+
why: >-
|
|
82
|
+
The symbol will be printed in one color, cut in vinyl, embossed and shown as a monochrome system icon, and only a silhouette survives all of them. (our claim)
|
|
83
|
+
origin: hypothesis
|
|
84
|
+
source: >-
|
|
85
|
+
Our claim: no page opened on 2026-11-26 states it. It is checked by the reviewer and a blind look of the flat version until the A/B tests it.
|
|
86
|
+
when_to_break: >-
|
|
87
|
+
A mark whose idea is a gradient or a light effect (a sunrise as a color shift) may rely on it, declared with break-a-rule first, with a one color fallback for print.
|
|
88
|
+
break_effect: >-
|
|
89
|
+
The screen mark carries the effect, and the one color fallback is a separate, recognizable shape.
|
|
90
|
+
test: >-
|
|
91
|
+
The reviewer looks at the symbol filled in one flat color at 16 px and large, and a blind look names what it sees before being told the brand; check-design reports how much of the large silhouette each size keeps (GR1).
|
|
92
|
+
example: >-
|
|
93
|
+
The loaf and its score line in solid black read as the same mark as the textured version.
|
|
94
|
+
counterexample: >-
|
|
95
|
+
A mark that is two overlapping gradients: in one color it is a featureless blob.
|
|
96
|
+
|
|
97
|
+
- id: GS5
|
|
98
|
+
name: It holds on a light and a dark background
|
|
99
|
+
area: graphic
|
|
100
|
+
moment: create
|
|
101
|
+
skill: lazuli-graphic-identity
|
|
102
|
+
rule: >-
|
|
103
|
+
Place the symbol on a light and a dark background, at large and small sizes. When it does not hold on one of them, draw a second version for that background (a light symbol for dark, or a reversed form), as a separate file or as one SVG that switches between the two with a light and dark media query. Text inside pieces still follows the color area's contrast rule RV2.
|
|
104
|
+
why: >-
|
|
105
|
+
System themes switch a favicon's background between light and dark, and a mark tuned for white can vanish on black; browser tabs and photos do the same (our claim).
|
|
106
|
+
origin: source
|
|
107
|
+
source: >-
|
|
108
|
+
W3C, Understanding SC 1.4.11 Non-text Contrast, https://www.w3.org/WAI/WCAG22/Understanding/non-text-contrast.html (section "Graphical Objects", on logos and the essential exception, opened 2026-11-26): logos are exempt from the contrast requirement, but authors are encouraged to use a higher contrast version of a logo where the brand guidelines allow it, and a low contrast chosen by the author rather than by the brand is not exempt. Evil Martians, How to Favicon (fetched title "How to Favicon in 2026: Three files that fit most needs"), https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs (section on the SVG icon with a light and dark version, opened 2026-11-26): one SVG favicon can carry a light and a dark version through a media query. Drawing a separate second version for any placement is our claim; no contrast figure here is a norm for a logo, but a logo used as a link and shown in a low contrast the brand did not mandate falls under 1.4.11 (RV2).
|
|
109
|
+
when_to_break: >-
|
|
110
|
+
A brand used only on one kind of background (a printed menu on cream paper) may skip the second version, declared with break-a-rule first.
|
|
111
|
+
break_effect: >-
|
|
112
|
+
One version is kept, and its use stays limited to that background.
|
|
113
|
+
test: >-
|
|
114
|
+
The reviewer checks the symbol on a white and a black background at large and small sizes; check-design reads the symbol's edge contrast on light and dark once it is a file (GR4).
|
|
115
|
+
example: >-
|
|
116
|
+
The deep blue loaf holds on white and nearly disappears on black, so the SVG switches to a cream fill in dark themes.
|
|
117
|
+
counterexample: >-
|
|
118
|
+
A navy favicon that vanishes in every dark browser tab.
|
|
119
|
+
|
|
120
|
+
- id: GS6
|
|
121
|
+
name: No live text inside the symbol
|
|
122
|
+
area: graphic
|
|
123
|
+
moment: create
|
|
124
|
+
skill: lazuli-graphic-identity
|
|
125
|
+
rule: >-
|
|
126
|
+
Letters that are part of the symbol are drawn as outlines, never as live text that depends on an installed font. The wordmark (the brand name set in type) is a separate lockup placed next to the symbol, so the symbol can be used on its own where the name does not fit.
|
|
127
|
+
why: >-
|
|
128
|
+
Live text in a symbol file changes with the fonts of each machine, and a symbol that must carry its name cannot be used where only a small square fits. (our claim)
|
|
129
|
+
origin: hypothesis
|
|
130
|
+
source: >-
|
|
131
|
+
Our claim: no page opened on 2026-11-26 says that letters inside a symbol are outlined or that live text changes with the installed fonts. Related reading for the lockup clause only, not the source of the rule: Smashing Magazine, Jon Tarr, How To Prepare Your Logo For Responsive Design Systems, https://www.smashingmagazine.com/2016/04/logo-design-responsive-websites/ (sections "No Words" and "A Simple Fact", opened 2026-11-26) says Twitter dropped the text from its mark over time and Skype can drop its wordmark when space is tight.
|
|
132
|
+
when_to_break: >-
|
|
133
|
+
A brand whose symbol is its name (a lettermark or a wordmark with no separate symbol) keeps the letters in the mark, outlined, declared with break-a-rule first.
|
|
134
|
+
break_effect: >-
|
|
135
|
+
The name is the mark, and small placements use its first letter or a small version under GS2.
|
|
136
|
+
test: >-
|
|
137
|
+
The reviewer checks that the symbol file has no live text and that the wordmark is a separate lockup; check-design notes live text it finds in an SVG symbol.
|
|
138
|
+
example: >-
|
|
139
|
+
The symbol file holds only paths; the lockup places the symbol to the left of the name, set in the brand font and outlined.
|
|
140
|
+
counterexample: >-
|
|
141
|
+
An SVG symbol with the brand name as a text element, which renders in a fallback font on a machine without it.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Motion hypotheses to validate in the A/B
|
|
2
|
+
|
|
3
|
+
Numbers and measures of durations, curves and recorded motion that are not from a source or a norm yet. They stay in the rules only as hints (status hypothesis, never a verdict) and become firm only after the A/B shows they improve the result. A row with a cutoff starts with `Cutoff: <key> <value>.`, says how the value was picked before any real page was measured, and lists page readings under "Observed so far, not evidence".
|
|
4
|
+
|
|
5
|
+
Where a row or a rule cites the kit author's internal product plan, that plan is not public and what it says is our claim.
|
|
6
|
+
|
|
7
|
+
| ID | Principle | Candidate limit | How to validate in the A/B |
|
|
8
|
+
|---|---|---|---|
|
|
9
|
+
| H1 | MI2 and MR1 (a microinteraction is short enough that the next action never waits on it) | Cutoff: maxMs 400. How it was picked: a round starting value, our claim, set before any page was measured. Published ranges opened on 2026-11-26 are related reading and never move it: Nielsen Norman Group, Page Laubheimer, Executing UX Animations: Duration and Motion Characteristics, https://www.nngroup.com/articles/animation-duration/ (section "Animation Duration") puts most UI animations between 100 and 500 ms, simple feedback such as a checkbox or toggle at about 100 ms, and calls 400 ms a very slow animation for big movements across large screens; IBM Carbon Design System, Motion, https://carbondesignsystem.com/elements/motion/overview/ (section "Duration") names duration tokens of 70, 110, 150, 240, 400 and 700 ms, the 70 to 150 ms ones for microinteractions. The value was fixed before these pages were opened and was not moved by them. What is measured: for each animation started by a hover, a focus or a click, from the Web Animations API timing, its delay plus its duration times its iterations, per animation. Limits: motion driven by script (requestAnimationFrame, canvas, video) is not in the API, so its duration is not read; an animation with endless iterations has no end and is not judged here; an animation linked to scroll (animation-timeline) runs with the scroll position, has no length and is not judged here; a duration says nothing about how fast the motion feels, which also depends on the curve and the distance. How it is judged (MR1): only an animation that starts within STEP_WINDOW_MS of a hover, focus or click step, on the element the step acted on, inside it or holding it; the reverse transition counts once; anything else started during a step is not judged. Further limits: first width only; the steps are the first few first-view controls, clicks only on a local page and only on disclosure controls; this machine. Observed so far, not evidence: slow-hover.html, one hover transition of 900 ms (planted far from the cutoff). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A, 3 microinteractions, all within 400 ms; test site B, 1 over 400 ms (a 600 ms hover fade on a div). | Needs microinteractions outside the test fixtures: recordings that people from the audience call quick or slow, checked against the durations read, before the cutoff is applied; then compare 200, 300, 400 and 500 ms on how well each separates the two groups |
|
|
10
|
+
| H2 | MT4 and MR2 (a transition or entrance, stagger included, ends soon after the content is ready) | Cutoff: maxMs 1000. How it was picked: a round starting value, our claim, set before any page was measured. Published ranges opened on 2026-11-26 are related reading and never move it: Nielsen Norman Group, Executing UX Animations: Duration and Motion Characteristics, https://www.nngroup.com/articles/animation-duration/ (section "Animation Duration") says animations are more often too long than too short and that around 500 ms they start to feel like a drag; IBM Carbon Design System, Motion, https://carbondesignsystem.com/elements/motion/overview/ (section "Duration") names its longest token, 700 ms, for background dimming. What is measured: for each transition or entrance, from the Web Animations API timing, its delay plus its duration times its iterations, per animation, so the last item of a stagger carries the whole stagger in its delay. Limits: motion driven by script (requestAnimationFrame, canvas, video) is not in the API, so its duration is not read; an animation with endless iterations has no end and is not judged here; an animation linked to scroll (animation-timeline) runs with the scroll position, has no length and is not judged here; a stagger written as script timers that start separate animations is read per animation; a duration says nothing about how fast the motion feels. How it is judged (MR2): finite animations that start in the load window or within STEP_WINDOW_MS of the scripted scroll; the load window ends after QUIET_MS with no animation, so an animation that starts later is not read; first width only; this machine. Observed so far, not evidence: stagger-long.html, 4 entrances longer than 1000 ms, the last one 2100 ms with its delay (planted far from the cutoff). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A, none at load or scroll judged; test site B, 3 over 1000 ms (one div 1700 ms, two divs 1040 ms). | Needs pages outside the test fixtures: entrances that people from the audience say made them wait, checked against the durations read, before the cutoff is applied; then compare 600, 800, 1000 and 1500 ms |
|
|
11
|
+
| H3 | MT3 and MR3 (movement eases: an entering element slows into place, a leaving one speeds away, no constant speed for a finite move) | Our claim, a hint only; no number is used as a cutoff. How it was picked: no value is picked; the curve of each finite animation is read from the Web Animations API timing (the effect's easing and the easing of each keyframe) and a linear curve on a finite move is named. Related reading, opened on 2026-11-26: Nielsen Norman Group, Executing UX Animations: Duration and Motion Characteristics, https://www.nngroup.com/articles/animation-duration/ (section "Easing Makes Motion Feel More Natural") says ease-out is the most frequent choice and constant speed looks unnatural; IBM Carbon Design System, Motion, https://carbondesignsystem.com/elements/motion/overview/ (section "Easing") lists standard, entrance and exit curves for productive and expressive motion, with exit easing speeding up as the element leaves view. What is measured: the curve name or cubic-bezier of each finite animation, per animation. Limits: motion driven by script is not in the API, so its curve is not read; an endless loop at constant speed (a spinner) is not a finite move and is not named; a curve says nothing about how the motion feels without its duration and distance; whether an element enters or leaves is read from its keyframes, not from intent; MR3 names linear and cubic-bezier(0, 0, 1, 1) only, so the CSS linear() function with stops is not read as constant speed; an animation linked to scroll (animation-timeline) is not judged, because the scroll position is its curve, and it is counted in a note; first width only. Observed so far, not evidence: slow-hover.html, one linear hover move (planted). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site B, 1 finite move, not linear; test site A, no finite move. | Needs pages outside the test fixtures: pairs of the same move with a linear and an eased curve, shown to people from the audience, checked against which one they call mechanical |
|
|
12
|
+
| H4 | MI4 and MR4 (animate no layout property, motion.properties) | Our claim, a hint only; no number is used as a cutoff. How it was picked: no value is picked; the properties of each recorded animation are compared with LAYOUT_PROPS, a list fixed before any page was measured (sizes, insets, margins, paddings, border widths, font-size, line-height, letter-spacing, flex-basis, grid template sizes). The reason comes from web.dev, How to create high-performance CSS animations, https://web.dev/articles/animations-guide (opened 2026-11-26): avoid properties that trigger layout or paint, restrict animations to opacity and transform where possible; that the list is the right one, and that a recorded animation on it is worth a hint, is our claim. What is measured: the property names of each animation in the Web Animations API (CSS animations, CSS transitions, Web Animations) on elements the composition walk keeps and that are in view. Limits: paint-only properties (color, background, box-shadow) are not named although they repaint; script motion (requestAnimationFrame, canvas, video) is not in the API; first width only; a layout property on a tiny element costs little and still gets the hint. Observed so far, not evidence: layout-anim.html, one animation of width (planted). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A, 6 animations, none on a layout property; test site B, 25, none (200 of 348 recorded, the sampling limit). | Needs pages outside the test fixtures: pages where a layout animation was swapped for a transform, with long frames and the filmstrip compared before and after, before the hint is trusted |
|
|
13
|
+
| H5 | MT2 and MR5 (not every entrance is the same animation, motion.sameness) | Cutoff: minEntrances 3. The rule judges only when at least 3 entrances were recorded and hints when all of them are one animation. How it was picked: a round starting value, our claim, set before any page was measured: two entrances alike say little, three alike start to read as a default. Definitions it rests on: an entrance is a finite animation at load or after the scroll where opacity rises or a move property returns to rest; two are the same when properties, from and to values, duration and curve match (delay and name ignored). Limits: a scale entrance that ends at scale 1 with no opacity change is not read as an entrance (only none, an identity matrix or zeros read as rest); entrances made by script are not read; entrances that start after the load window ends (QUIET_MS with no animation) are not read; first width only; one fade with two curves reads as two animations. Observed so far, not evidence: entrances-same.html, 4 entrances, all opacity and transform over 600 ms, ease-out (planted); entrances-varied.html, 3 entrances, 3 animations. In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site B, 5 entrances, 3 different animations; test site A, fewer than 3 entrances. | Needs pages outside the test fixtures: award-listed pages against default templates, with reviewers saying whether the entrances read as one default; then compare 2, 3 and 5 entrances |
|
|
14
|
+
| H6 | MR6 (no long frames while the page moves, motion.long-frames) | Cutoff: maxFrameMs 100. How it was picked: a round starting value, our claim, set before any page was measured: one frame of 100 ms loses about six frames at 60 Hz, a stall a person sees in any running animation. The long-frame APIs report only frames of 50 ms or more (Chrome for Developers, Long Animation Frames API, https://developer.chrome.com/docs/web-platform/long-animation-frames, opened 2026-11-26), and the reading is judged with TIMING_TOLERANCE_MS (50 ms), so the band the reader sees is: hint above 150 ms, no finding and a note from 50 to 150 ms, pass only when no frame over 50 ms was reported. What is measured: entries of type long-animation-frame (longtask when unsupported, named in the report) from load to the end of the scripted steps, in the run that captures no pixels. Limits: the reading depends on this machine and its load at the time; a faster machine reads fewer long frames; scripted steps are a few hovers, focuses and one scroll, not a person's use; first width only. Observed so far, not evidence: long-frame.html, one frame of 315 to 317 ms over three runs (a planted 300 ms busy loop), start spread 14 ms. In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A, the longest frame 100 ms (within the tolerance, not judged); test site B, 174 ms during the first hover (hint). | Needs recordings of real pages on a slow phone and on a fast laptop, with people saying where the page felt stuck, before the cutoff is applied; then compare 50, 100 and 200 ms |
|
|
15
|
+
| H7 | MT5 and MR7 (nothing jumps, motion.layout-shift) | Cutoff: maxShift 0.1. How it was picked: borrowed from web.dev, Cumulative Layout Shift (CLS), https://web.dev/articles/cls (opened 2026-11-26), which says sites should strive for a CLS score of 0.1 or less at the 75th percentile of page loads; set before any page was measured. Applying it to one recorded window with scripted steps on one machine is our claim. Definitions it rests on: the session window of that page (shifts less than SHIFT_GAP_MS apart, at most SHIFT_WINDOW_MS in total, the largest window counts); shifts with recent input are left out, and the recorder's hover and scroll are not input for the API, so shifts they cause count. The score is geometry based and compared to three decimals with no tolerance; timing enters only through the 1 s grouping. Limits: the API is assumed present (Chromium always has it), so a browser without it would read 0; one load, not a percentile of many; first width only; content that loads after the window is not read. Observed so far, not evidence: shift.html, 0.222 on three runs (a planted 200 px jump). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A 0.033; test site B 0.004. | Needs pages outside the test fixtures: recordings where people say content jumped, checked against the scores read, before the cutoff is trusted on a single recorded window; then compare 0.05, 0.1 and 0.25 |
|
|
16
|
+
| H8 | MR8 (the screen settles soon after load, motion.settle) | Cutoff: maxSettleMs 1000. How it was picked: a round starting value, our claim, set before any page was measured. Judged with TIMING_TOLERANCE_MS (50 ms): hint after 1050 ms, no finding and a note from 950 to 1050 ms, pass at or before 950 ms. Definitions it rests on: frames at FRAME_SCALE, cells of CELL_PX frame px, a change of more than PIXEL_NOISE levels per channel; the screen is unsettled when it still changed within QUIET_MS of the end of the load window; areas that keep moving (moving content and endless animations) are left out with a note and judged by MR13. Limits: the screencast sends no frame while nothing changes; a change that starts after the load window is not read; a cell at the edge of a carousel that changes in fewer than MIN_MOVING_SECONDS seconds is not moving content and still counts; this machine; first width only. Observed so far, not evidence: late-entrance.html reads the hint (a planted entrance at 2000 ms); marquee.html reads settled with the ticker left out; test site B at 1440 px, 5055 ms in an earlier run (before areas that keep moving were left out). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): both sites read 0 ms after leaving out the areas that keep moving (4 areas on test site A, 10 on test site B), so on both every change after load was inside an area judged by MR13. | Needs recordings of real pages with people saying when the page was ready to read, checked against the times read; then compare 500, 1000 and 2000 ms |
|
|
17
|
+
| H9 | MR9 (gradients show no bands, motion.banding) | Cutoff: maxBandPx 32. How it was picked: a round starting value, our claim, set before any page was measured. Definitions it rests on: one lossless clip per visible gradient (at most MAX_GRADIENTS) at rest, device scale 1, back at the top; neighbor runs at most BAND_LEVELS levels apart per channel are bands, a larger step is a content edge. Limits: only the first view's gradients; what this browser painted on this machine (another screen, color profile, dithering or browser can band differently); a gradient under text or an image reads the mix; first width only. Observed so far, not evidence: bands.html, 1 of 2 gradients with bands wider than 32 px (planted); test site B, two span gradients, widest band 4 px (an earlier run). In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A, 1 gradient (on a button), widest band 2 px; test site B, 2 gradients (on two spans), widest band 4 px. | Needs gradients that people from the audience call smooth or stepped on common screens, checked against the widest band read; then compare 16, 32 and 64 px |
|
|
18
|
+
| H10 | MT6 and MR10 (reduced motion stops what moves, motion.reduced) | Our claim, a hint only; no number is used as a cutoff. How it was picked: no value is picked; it borrows WCAG 2.3.3 Animation from Interactions, Level AAA, so it is a hypothesis, never a norm (W3C, Understanding SC 2.3.3, https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html, opened 2026-11-26, lists technique C39, the prefers-reduced-motion query). What is measured: only when something moved in the default run, a second run with prefers-reduced-motion set to reduce; each moving animation of the default run is paired by element and name with a moving one of the reduced run whose duration is above 0 ms. Limits: a reset to 1 ms reads as still moving, one to 0.01 ms rounds to 0 and does not; script motion is not in the API and is not compared; a reduced version that moves less (a shorter slide) still reads as moving; first width only. Observed so far, not evidence: reduced-ignored.html, 1 of 1 still moves (planted); reduced-respected.html, none still moves. In a check-design --area motion run of the smoke sites on 2026-11-26 at 1440 px on this machine (read only: hovered, focused and scrolled, nothing clicked): test site A, 2 of 2 moving animations (a rotation animation) still move with reduced motion; test site B, 0 of 1. | Needs people who set reduced motion, judging pages that keep, shorten or remove each movement, before the hint is trusted |
|
|
19
|
+
| H11 | MT2 and MR11 (the motion explains the interface and carries the brand) | Judged in words by the reviewer, no number and no measure. How it was picked: the award row of the kit author's internal product plan for motion (default "everything appears with the same fade", award "motion that explains the interface and has the brand's personality"), our claim that a reviewer can name it from the filmstrip and the animation inventory. What is read: filmstrip.png (one row for the load window and one per scripted step that changed the screen, tiles at FILM_OFFSETS_MS) and the inventory of the report; the CLI never says motion has personality. Limits: the filmstrip holds a few still frames, not the motion itself; only the scripted steps are shown; first width only. Observed so far, not evidence: none, it is not measured. | Needs reviews of award-listed and default-template pages by several reviewers from the filmstrip alone, checked for agreement on which motion explains the interface |
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
area: motion
|
|
2
|
+
title: Motion
|
|
3
|
+
summary: "Microinteractions and transitions recorded frame by frame: durations, curves, jumps, long frames, bands, flashes, time to settle and reduced motion, measured, never described."
|
|
4
|
+
order: 70
|
|
5
|
+
prefixes: [MI, MT, MR]
|
|
6
|
+
skills:
|
|
7
|
+
- lazuli-motion-micro-and-transitions
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# Microinteractions. The small motion that answers a hover, a press, a focus or a result. These rules are for
|
|
2
|
+
# the moment the motion is made. The reviewer judges them from the code and the filmstrip; check-design --area
|
|
3
|
+
# motion records the timeline, and the review rules (review.yaml) read it.
|
|
4
|
+
|
|
5
|
+
- id: MI1
|
|
6
|
+
name: Every microinteraction answers something the person did
|
|
7
|
+
area: motion
|
|
8
|
+
moment: create
|
|
9
|
+
skill: lazuli-motion-micro-and-transitions
|
|
10
|
+
rule: >-
|
|
11
|
+
Give motion to a control only as an answer to something the person did or to its result: a hover, a press, a focus, a value saved, an item added. Before animating, name the action it answers in one line. Motion that answers nothing (a button that wobbles on its own, an icon that spins at rest) is not added.
|
|
12
|
+
why: >-
|
|
13
|
+
Motion draws the eye. When it answers an action, it tells the person the interface heard them; when it answers nothing, it pulls attention away from the task and teaches people to ignore motion, including the motion that matters. (our claim)
|
|
14
|
+
origin: hypothesis
|
|
15
|
+
source: >-
|
|
16
|
+
Our claim: no page opened on 2026-11-26 states this as a rule. It comes from the kit author's internal product plan (motion row: microinteractions, award level "motion that explains the interface"). Related reading, not the source of the rule: W3C, Understanding SC 2.2.2 Pause, Stop, Hide, https://www.w3.org/WAI/WCAG22/Understanding/pause-stop-hide.html (section "Intent", opened 2026-11-26) says moving content can be a severe distraction for some people.
|
|
17
|
+
when_to_break: >-
|
|
18
|
+
A brand moment that is meant to be looked at, not used (a mascot in an empty state, a logo reveal), may move without an action, declared with break-a-rule first, and still stops on its own or has a pause control.
|
|
19
|
+
break_effect: >-
|
|
20
|
+
The moment carries personality where there is nothing to do, at the cost of attention wherever it sits next to a task.
|
|
21
|
+
test: >-
|
|
22
|
+
The reviewer lists every animated control in the code and names the action each answers; an animation with no action named is a finding.
|
|
23
|
+
example: >-
|
|
24
|
+
A save button whose check mark draws in after the server answers, and nothing moves before the press.
|
|
25
|
+
counterexample: >-
|
|
26
|
+
A call to action that pulses forever to attract clicks.
|
|
27
|
+
|
|
28
|
+
- id: MI2
|
|
29
|
+
name: Short enough that the next action never waits
|
|
30
|
+
area: motion
|
|
31
|
+
moment: create
|
|
32
|
+
skill: lazuli-motion-micro-and-transitions
|
|
33
|
+
rule: >-
|
|
34
|
+
A microinteraction is short enough that the person's next action never waits on it: the control can be used again, and the next control can be reached, while or right after it plays. Keep feedback on a small control the shortest of the motion vocabulary (MI5) and never make a click wait for an animation to finish. The cutoff the kit uses is the hypothesis H1 in `HYPOTHESES.md` of this area.
|
|
35
|
+
why: >-
|
|
36
|
+
Feedback that outlasts the action makes a fast person wait and reads as a slow interface, even when the work behind it is done. (our claim)
|
|
37
|
+
origin: hypothesis
|
|
38
|
+
status: hypothesis
|
|
39
|
+
hypothesis: H1
|
|
40
|
+
source: >-
|
|
41
|
+
Our claim: the limit is the round starting value of H1, set before any page was measured. Related reading, not the source of the limit and never a reason to move it: Nielsen Norman Group, Page Laubheimer, Executing UX Animations: Duration and Motion Characteristics, https://www.nngroup.com/articles/animation-duration/ (section "Animation Duration", opened 2026-11-26) gives a range for most UI animations and says small feedback should feel immediate; IBM Carbon Design System, Motion, https://carbondesignsystem.com/elements/motion/overview/ (section "Duration", opened 2026-11-26) names its shortest duration tokens for microinteractions such as a button and a toggle.
|
|
42
|
+
when_to_break: >-
|
|
43
|
+
A microinteraction that reports a slow result (an upload that finishes) may play longer, declared with break-a-rule first, as long as the control stays usable while it plays.
|
|
44
|
+
break_effect: >-
|
|
45
|
+
The result gets a moment of its own, and nothing waits on it because the control is free.
|
|
46
|
+
test: >-
|
|
47
|
+
The reviewer reads the duration and delay of each microinteraction in the code against H1 and tries the next action while it plays; check-design --area motion records the length of each microinteraction (MR1).
|
|
48
|
+
example: >-
|
|
49
|
+
A toggle whose knob slides with the shortest duration token of the vocabulary, and a second tap during the slide is taken at once.
|
|
50
|
+
counterexample: >-
|
|
51
|
+
A like button that runs a long burst animation and ignores taps until it ends.
|
|
52
|
+
|
|
53
|
+
- id: MI3
|
|
54
|
+
name: The state change reads without the motion
|
|
55
|
+
area: motion
|
|
56
|
+
moment: create
|
|
57
|
+
skill: lazuli-motion-micro-and-transitions
|
|
58
|
+
rule: >-
|
|
59
|
+
Motion adds to a visible state; it never is the state. The end state of every microinteraction (pressed, selected, open, saved, error) is visible at rest, designed with `lazuli-ui-states-and-system`, so with reduced motion or with the motion skipped the person loses nothing but the movement.
|
|
60
|
+
why: >-
|
|
61
|
+
A state that exists only while something moves is missed by anyone who looked away, by reduced motion and by a slow device that drops the frames. (our claim)
|
|
62
|
+
origin: hypothesis
|
|
63
|
+
source: >-
|
|
64
|
+
Our claim: no page opened on 2026-11-26 states this as a rule. Related reading, not the source of the rule: W3C, Understanding SC 2.3.3 Animation from Interactions (level AAA, not a norm here), https://www.w3.org/WAI/WCAG22/Understanding/animation-from-interactions.html (sections "Intent" and "Key Terms", opened 2026-11-26) says motion animation triggered by interaction can be disabled unless it is essential, and defines essential as what, if removed, would fundamentally change the information or functionality.
|
|
65
|
+
when_to_break: >-
|
|
66
|
+
Never for a state the person must know (an error, a saved value). A purely decorative flourish on top of a state that already reads may be skipped by this rule because it carries no state at all.
|
|
67
|
+
break_effect: >-
|
|
68
|
+
None to buy: a state carried only by motion is a state some people never see.
|
|
69
|
+
test: >-
|
|
70
|
+
The reviewer looks at the screenshot of each end state with motion turned off and names the state from the still image; the reduced motion run of check-design --area motion (MT6) shows what still moves.
|
|
71
|
+
example: >-
|
|
72
|
+
A selected tab that slides its underline and, at rest, keeps the underline and a bolder label.
|
|
73
|
+
counterexample: >-
|
|
74
|
+
A form that shakes on an error and shows no message once the shake ends.
|
|
75
|
+
|
|
76
|
+
- id: MI4
|
|
77
|
+
name: Animate transform and opacity, not layout
|
|
78
|
+
area: motion
|
|
79
|
+
moment: create
|
|
80
|
+
skill: lazuli-motion-micro-and-transitions
|
|
81
|
+
rule: >-
|
|
82
|
+
Move, scale, rotate and fade with `transform` and `opacity`. Do not animate properties that trigger layout or paint (width, height, top, left, margin, padding, font-size) unless the effect cannot be made otherwise, and then say so in the code.
|
|
83
|
+
why: >-
|
|
84
|
+
Transform and opacity can be animated at the composite stage without recomputing layout, while layout properties make the browser lay out and paint again on every frame, which drops frames and pushes other content around.
|
|
85
|
+
origin: source
|
|
86
|
+
source: >-
|
|
87
|
+
web.dev, How to create high-performance CSS animations, https://web.dev/articles/animations-guide (sections "Avoid properties that trigger layout or paint", "Check whether an animation triggers layout" and "Animate at the composite stage", opened 2026-11-26): restrict animations to opacity and transform where possible, avoid any property that triggers layout or paint unless it is absolutely necessary, and an animation that moves an element using something other than transform is likely to be slow. web.dev, Optimize Cumulative Layout Shift, https://web.dev/articles/optimize-cls (section on animations, opened 2026-11-26): changing top and left causes layout shifts, and composited animations using translate do not count toward CLS. The clause "say so in the code" is our claim.
|
|
88
|
+
when_to_break: >-
|
|
89
|
+
An accordion that must push the content below it may animate its height, declared with break-a-rule first, on a small element with nothing heavy below.
|
|
90
|
+
break_effect: >-
|
|
91
|
+
The content below follows the panel smoothly, at the cost of a layout pass on every frame.
|
|
92
|
+
test: >-
|
|
93
|
+
The reviewer reads the animated properties in the CSS and scripts and lists any layout property; check-design --area motion names the layout properties of each recorded animation (MR4).
|
|
94
|
+
example: >-
|
|
95
|
+
A card that lifts on hover with `transform: translateY` and a shadow that fades in through opacity on a pseudo-element.
|
|
96
|
+
counterexample: >-
|
|
97
|
+
A side menu that slides in by animating `left` from a negative value.
|
|
98
|
+
|
|
99
|
+
- id: MI5
|
|
100
|
+
name: One motion vocabulary declared as tokens
|
|
101
|
+
area: motion
|
|
102
|
+
moment: create
|
|
103
|
+
skill: lazuli-motion-micro-and-transitions
|
|
104
|
+
rule: >-
|
|
105
|
+
Declare a few named durations and curves once, as CSS custom properties (for example `--motion-fast`, `--motion-medium`, `--ease-enter`, `--ease-exit`), and use only those names everywhere. A new duration or curve is added to the tokens with a reason, never written inline in one component.
|
|
106
|
+
why: >-
|
|
107
|
+
A small named vocabulary makes the same kind of change move the same way across the product, which is how motion becomes recognizable, and it lets reduced motion and later tuning change one place. (our claim)
|
|
108
|
+
origin: hypothesis
|
|
109
|
+
source: >-
|
|
110
|
+
Our claim: no page opened on 2026-11-26 states this as a rule for every product. Related reading, not the source of the rule: IBM Carbon Design System, Motion, https://carbondesignsystem.com/elements/motion/overview/ (sections "Duration" and "Easing", opened 2026-11-26) ships named duration tokens and named easing curves for productive and expressive motion.
|
|
111
|
+
when_to_break: >-
|
|
112
|
+
A one-off brand piece (a launch animation) may use its own timing, declared with break-a-rule first, and stays out of the components.
|
|
113
|
+
break_effect: >-
|
|
114
|
+
The piece can be choreographed freely, and the product's vocabulary stays clean.
|
|
115
|
+
test: >-
|
|
116
|
+
The reviewer searches the CSS and scripts for durations and curves written inline instead of through the tokens and lists each one.
|
|
117
|
+
example: >-
|
|
118
|
+
`:root` declares four durations and three curves; every transition in the code reads `var(--motion-*)` and `var(--ease-*)`.
|
|
119
|
+
counterexample: >-
|
|
120
|
+
Each component picks its own duration and curve by eye, so no two dropdowns open the same way.
|
|
121
|
+
|
|
122
|
+
- id: MI6
|
|
123
|
+
name: Motion starts from the element touched
|
|
124
|
+
area: motion
|
|
125
|
+
moment: create
|
|
126
|
+
skill: lazuli-motion-micro-and-transitions
|
|
127
|
+
rule: >-
|
|
128
|
+
The motion that answers an action starts at, or grows out of, the element the person touched: a menu unfolds from its button, a ripple spreads from the press point, a detail view grows from the item chosen.
|
|
129
|
+
why: >-
|
|
130
|
+
Motion that starts where the hand or pointer is ties the answer to the action, so the person sees what they caused without searching the screen. (our claim)
|
|
131
|
+
origin: hypothesis
|
|
132
|
+
source: >-
|
|
133
|
+
Our claim: no page opened on 2026-11-26 states this as a rule. It comes from the kit author's internal product plan (award level: motion that explains the interface).
|
|
134
|
+
when_to_break: >-
|
|
135
|
+
A global message (a connection lost banner) that answers no one element may enter from a screen edge, declared with break-a-rule first.
|
|
136
|
+
break_effect: >-
|
|
137
|
+
The message reads as about the whole screen, which is what it is.
|
|
138
|
+
test: >-
|
|
139
|
+
The reviewer watches the filmstrip of each scripted interaction and names where each answer starts; an answer that starts away from the touched element is a finding.
|
|
140
|
+
example: >-
|
|
141
|
+
A dropdown whose list scales from the top edge of its trigger.
|
|
142
|
+
counterexample: >-
|
|
143
|
+
A dropdown whose list fades in at the center of the screen.
|