Design Reference
On this page
Overview
The canopy design team ships two design packages, committed in-repo under design/.
The durable, human-readable reference — the architectural decisions, the Orchard
design-system contract, the implied schemas, and the hard rules — is published here in
Antora. The source artifacts the reference describes (the .jsx primitives the
Askama/Dioxus code must match, the runnable .html artboards, and the renders/ PNG
baselines) stay under design/. Every UI MR diffs its implementation against both: the
reference page for intent, the .jsx/artboard for exact shape.
The reference pages
-
Orchard Design System — color tokens, type scale, spacing, radii, motion, voice, components, accessibility (the shared contract).
-
Worker Portal Design Reference — the architectural decisions (ADR-linked), the TOML schemas the composition runtime loads, and the plugin-author hard rules.
-
Applicant Portal Design Reference — thesis, auth model + locked decisions, information architecture, voice, schemas, API sketch, customer↔worker wiring.
-
Worker Portal Mockups — the eight production worker surfaces captured as Mermaid layouts + token annotations.
Source artifacts (design/)
| Package | Location | Contents |
|---|---|---|
Worker portal |
|
|
Applicant portal |
|
|
PNG/JPG binaries route through git-lfs; .jsx / .html are linguist-vendored (see
.gitattributes).
How to diff a UI MR against the design
-
Read the relevant reference page above for the surface you’re touching.
-
Compare your component’s tokens / sizes / states against the matching
.jsxprimitive (design/canopy-web/dashboard/primitives.jsxfor worker,design/canopy-portal/portal-stream/*.jsxfor applicant). The Dioxus / Askama translation must preserve interaction model, accessibility, and token usage exactly. -
For visual regression, refresh screenshots and compare to the
renders/baselines / HTML artboards:cargo xtask e2e --no-refresh --project=screenshots --project=supervisor --project=analyst # PNGs land at test-results/e2e/screenshots/ -
If the implementation cannot match the design, escalate to the design team — do not deviate silently.
Related
-
ADR-008 — applicant portal; the DOB second-factor sketch is superseded by the credential format in the applicant portal design reference.
-
ADR-021 / ADR-022 — worker-portal composition runtime + override storage.
-
Portal Design-Fidelity Pass — epic &53, the active gap-closure plan against these references.