tool-cli
What a person types.
Every value on the AFD sites comes from css/tokens-m2.css. This page reads those tokens live
and draws every sample with the real classes, so it can't drift. The reasoning behind them lives in
the agent skill at .claude/skills/afd-site-design/.
A working page for the site's design, not part of the site. Search engines are asked not to index it.
AFD has two sites that share one wordmark, one type system and one set of tokens. What changes is the colour a page opens on. A tool's page has the same address on both sides, and the switch in the nav goes between them.
Development
Opens on red, the colour of a person and the UI. It shows commands, code and packages.
Design
Opens on mint, the colour of an agent. It shows what a person sees and what an agent is told.
Each colour field has one job. The hero's colour appears once as a hero. Cream rests sit between colour fields so the page never runs two loud fields, or two light ones, back to back.
A dev-side hero only. The single loudest statement on the page.
--field-signal
The one-line slab. A step lighter than signal; never on screen with the hero.
--field-rule
A design-side hero, and any section that is about the agent. Mint always means agent.
--field-agent
The agent at work, packages and the foot of a page.
--field-deep
Live demos, proof and the finale.
--field-ink
Cream breathing room. No numeral: rests stay quiet.
--field-rest
Eight shared steps, plus sizes for the honesty statement and closing command. Archivo Black carries statements, Space Grotesk
carries reading and the thin half of each statement, IBM Plex Mono carries labels and code, and Inter
carries the interface: navigation, buttons, fields, tabs and chips (--font-ui). A size
between two steps is a fraction of a step, never a new pixel value: a home page's poster line is
four fifths of display, and a long tool name is 0.82 of it.
CommandsVia CLIafd callAccess isn't enough.A pause before the point of no return.An agent deserves the same care in its command contract.Named capabilities, typed inputs and explicit prerequisites.This caller asks before execution.npm install @lushly-dev/afd-server @lushly-dev/afd-cli zodDesign for the agent
Section headlines pair a heavy line with a thin one at the same size: the claim, then its turn. The
thin line sits in a direct child <span> of the h2.
Someone who lands on a page should know what it is before they scroll. A home page keeps its poster line and adds a definition, the way in and three facts. A tool's page opens on a product hero: the name, one line that says what kind of thing it is, a description of 15 to 35 words, the way in, one small picture as proof, and three facts.
Violet
A design token engine.
Every change is a command.
Violet keeps a design system's tokens on one tree, where each theme stores only what it changes. The CLI, the MCP server and your own code all call the same commands.
npm install --save-dev @lushly-dev/violet-cli@preview
One picture, drawn by the tool itself: a tree, a result, a capture. Whatever shows the tool working.
What that shows One sentence, read from the same run as the picture.
The poster line stays, at four fifths of display above 850px. Under it: the name in bold and what it is, the way in, and the same three-facts strip. No proof figure. Only a home page keeps crop marks. Neither hero uses the thin slash, which would run through the facts.
A figure label opens every numbered section. Colour fields carry a giant tone-on-tone numeral, bottom right (bottom left when a panel fills the right). Crop marks frame posters and live stages. Stamps confirm a result.
A mark is a small label on a fact: a status, a result, where the fact came from. Its weight says how much stands behind the word, the same way on every page. Red and mint keep their meanings, so a mark is never mint, and the only red one is the alert.
Proven, or complete. A check ran and held.
data-mark="solid"
Seen, or partly there.
data-mark="outline"
Stated but not run, or not available.
data-mark="dashed"
Someone's word. Nothing checks it.
data-mark="plain"
Needs a decision. A build would stop here.
data-mark="alert"
Things you press or type into are rounded (--radius-control; small marks
--radius-mark), and panels a step more (--radius-panel). Edges come from
surfaces and shadows, not outlines: filled buttons are keys, outline buttons are tonal keys, fields
are wells and panels float. Posters, colour fields, figure chips and crop marks stay square.
A tool's page is not built from a template: each gets the sections its tool needs. Some parts recur,
and those live once in css/area-kit.css. Anything only one tool needs stays in that
tool's stylesheet.
What a person types.
What an agent calls.
The engine, which needs nothing above it.
One sentence on what happens, and what does not.
Three or four steps at most. More than that is a list.
If the page cannot run the process, a line under it says so.
For a tool that cannot run in a tab (Umbel is a native program, Botcore is Python). The page shows one real run, recorded by a build script and never edited: a button for each line, then that line, exactly what the tool printed, and one sentence on what to notice. The sentence's words are the page's; every number in it is read from the result. A line under the figure says when it was recorded, from which version, and links the whole record.
{ "success": true, "data": { "total": 3 } }
Recorded on 17 November 2026 from tool 0.1.0. The whole recorded run
One sentence on the first step, then the line to copy.
npm install --save-dev @lushly-dev/tool-cli@preview
Preview. Say plainly what is released, what is not, and what it does not do yet. This block is where a page is most honest.
A last line of one word reads as a mistake. Paragraphs, list items and captions use
text-wrap: pretty, and js/widows.js ties the last two words together in a
browser that lacks it. Display type is exempt: there, one word on the last line is the design.
A hyphenated name goes in <span class="keep">, so
FAST-AF never ends a line on FAST-
.
Compare two versions and you see exactly what it was that changed.
Compare two versions and you see exactly what it was that changed.
The pages argue that nothing should be claimed that can't be shown. The copy follows the same rule.
The raw palette (--afd-*). Section and component CSS reaches for semantic tokens first; primitives
are for component-internal detail with no role of its own.
A nine-step scale, plus --section-pad for supporting sections, --statement-pad for major story beats and --heading-gap below each headline.
Motion marks a moment; it never runs continuously behind reading.
data-lit), on at most three statements per page.<mark> once its statement is fully lit.--motion-enter and --ease-out.prefers-reduced-motion.hidden or inert.