# Tokens

The values of `apps/macos/sources/presentation/theme/`. Add a token there before using a value.

## Color

### Notch surfaces

Used by everything that grows from the notch: the ear, toasts, panels, the command bar and the context menu. They do not change with the theme.

| Token | Value | Use |
|---|---|---|
| Notch | `#000000` | Every surface that touches the notch |
| Raised | white at 7% | Rows under the pointer, code blocks, secondary buttons |
| Hairline | white at 10% | The only separator and border |
| Text | `#F5F5F7` | Primary text |
| Text, secondary | `#A1A1A6` | Supporting text, counts, times |
| Text, tertiary | `#7D7D85` | Hints and footers |
| Primary fill | `#F5F5F7` | The one primary button of a surface |
| On primary | `#0E0E10` | Text on the primary button |
| Stage, finished | the text color | A segment of the stage bar whose stage completed or failed |
| Stage, running | the text color at 50% | The segment of a stage that works |
| Stage, waiting | white at 16% | The segment of a stage that has not started or was skipped |

The stage bar never takes a state color: only the status icon of its row carries the state.

### State

Only in badges, chips and status icons.

| Token | Value | Meaning |
|---|---|---|
| Needs you | `#F5B544` | A request is pending |
| Failed | `#F0685C` | A session failed, an adapter stopped, or the configuration could not be saved |
| Done | `#46C28A` | A session completed |

A state chip uses the state color for its text and the same color at 50% for its border.

### Accent

Marks keyboard focus, the selected row and the on state of a switch. Nothing else.

| Name | Value |
|---|---|
| Bloom (default) | `#E0489E` |
| Violet | `#7C5CFF` |
| Sky | `#3B82F6` |
| Graphite | `#8E8E93` |

No accent may be amber, red or green.

### Windows

Settings is the only window. It follows the theme.

| Token | Dark | Light |
|---|---|---|
| Window | `#131315` | `#FBFBFA` |
| Sidebar | `#0C0C0E` | `#F1F1F0` |
| Container | transparent | `#FFFFFF` |
| Text | `#F5F5F7` | `#1B1B1D` |
| Text, secondary | `#A1A1A6` | `#63636A` |
| Text, tertiary | `#7D7D85` | `#6F6F76` |
| Border | white at 10% | black at 10% |
| Row separator | white at 8% | black at 7% |
| Selected item | white at 8% | black at 7% |
| Switch, off | white at 16% | black at 16% |

### Increase Contrast

With Increase Contrast on in the settings of macOS, borders and tertiary text take a stronger value; every other token keeps its own. Tertiary text reaches 4.5 to 1 and a border 3 to 1, the WCAG AA ratios for text and for the parts of a control, on every surface it is drawn on but one, which the table names. The test `IncreasedContrastTests` measures each one.

| Token | Increased | Least contrast, on |
|---|---|---|
| Notch, text, tertiary | `#909097` | 5.91, the raised fill |
| Notch, hairline | white at 40% | 3.66, the notch |
| Notch, keycap border | white at 40% | 3.66, the notch |
| Notch, keycap border on the primary fill | black at 50% | 3.91, the primary fill |
| Chip borders of needs you, failed and done | the state color whole, instead of at 50% | 6.11, failed on the raised fill. In the light window the failed chip reaches only 2.72 on the sidebar, as failed text does: the open question about failed in the light theme |
| Window, text, tertiary | `#909097` dark, `#68686F` light | 4.77 dark and 4.73 light, a control fill |
| Window, border, row separator and keycap border | white at 40% dark, black at 46% light | 3.67 dark and 3.38 light, a control fill |

## Type

SF Pro, the system font, for everything. Geist Mono for code only. Numbers that change use tabular figures.

| Token | Size | Weight | Use |
|---|---|---|---|
| Window title | 17 | semibold | The title of a settings pane |
| Welcome title | 15 | semibold | First launch only |
| Title | 13 | semibold | Panel headers, toast titles |
| Body | 12 | regular | Rows, descriptions |
| Row title | 12 | medium | Agent names in lists |
| Label | 11 | medium | Chips, group names, the `+N` count |
| Caption | 11 | regular | Secondary lines, footers, keycaps |
| Tile initials | 9 | semibold | A 20 point tile without a logo |
| Code | 11 | regular | Geist Mono |
| Code, request | 12 | regular | Geist Mono, the command in a request |

Eleven points is the floor.

## Spacing

`4 · 6 · 8 · 12 · 16`. Twelve is the inner margin of a panel. Eight separates groups. Six separates items in the ear. Three, off the scale, separates the segments of a stage bar.

## Sizes

| Token | Value |
|---|---|
| Tile | 20 |
| Tile, panel header | 28 |
| Tile, settings row | 24 |
| Tile overlap in a stack | 6 |
| Tile border in a stack | 1.5, notch color, outside the tile |
| Logo in a tile | 60% of the tile, centered |
| Badge | 7 |
| Row | 32 |
| Row, two lines | 42 |
| Stage segment | 30 × 3 |
| Control | 28 |
| Control, request | 32 |
| Answers of a request in one row | 3 at most, when they fit |
| Option of a question | 32, or 42 when its name takes the second of its two lines, with 6 above and below its name |
| Panel width | 380 |
| Command bar width | 440 |
| Toast width | 360 |
| Virtual notch | 190 wide, as tall as the menu bar |
| Settings window | 880 × 560 |
| Settings sidebar | 208 |

The first strip of every panel is as tall as the notch, whatever the notch measures.

## Radii

| Token | Value |
|---|---|
| Tile, 20 | 6 |
| Tile, 24 | 7 |
| Tile, 28 | 8 |
| Control, row | 6 |
| Chip, keycap | 5 |
| Stage segment | 2 |
| Card, code block, list container | 10 |
| Notch, ear | 10 |
| Toast | 16 |
| Panel | 18 |
| Settings window | 12 |

Radii below the notch apply to the bottom corners only. Top corners are square: they meet the edge of the screen.

## Motion

| Transition | Value |
|---|---|
| A shape arrives, `opening` | its width with a spring of 0.44 s and bounce 0.25, its height with one of 0.38 s and bounce 0.22 |
| A shape leaves, `closing` | its width with a spring of 0.30 s, its height with one of 0.26 s, neither with bounce |
| Ear, peek, request, command bar and toast | each has its own arrival and departure, `earArrival` and `earDeparture` and so on; all five start as `opening` and `closing` |
| A shape past where it goes | 12 points at most, `overshootLimit` |
| Content inside a shape | hidden for the first 35% of the arrival of its shape, `contentHiddenShare`, then a 150 ms fade while it grows from 86% of its size, `contentEntryScale`; it leaves at once. What appears in the ear as a shape closes into it waits for the last 35% of the closing |
| Toast | arrives and leaves as a shape, holds the time the core gives it |
| Peek | 150 ms hover delay, closes 300 ms after the pointer leaves: the pair `.prompt` of `pointerPace`. The other pair, `.patient`, waits 250 ms and closes 180 ms after the pointer leaves |
| The ear under the pointer | grows 10 points on its visible sides and 5 below, `pointedEarGrowth`, from the moment the pointer enters until peek takes its place; after a pointer that only crosses it, once the hover and the leave delays have passed; nothing with Reduce Motion |
| A button under the pointer | grows to 102.2% of its size, `pointedScale`, with a spring of 0.2 s and bounce 0.2 |
| A button pressed | shrinks to 96.5%, `pressedScale`, at 80% opacity, `pressed`, with a spring of 0.12 s without bounce |
| A session that works | the arc of its status icon turns once a second, the waiting ring; with a known progress the arc is still and the icon breathes, from 84% of its size at 70% opacity to its whole and back, a half cycle of 1.2 s, `breathingScale`, `breathing` in `ThemeOpacity` and `breathingHalfCycle`; still with Reduce Motion |
| Loops: the breath, the waiting ring | at most 30 updates a second, `loopFrameInterval`; the breath, the waiting ring and the time of a session stop while the notch cannot be seen |
| Request, keys arm | 400 ms after the pointer entered, if it stayed inside |
| Request, answers pause | 500 ms after the shown request changes |
| Swipe on the ear | the axis is fixed once the fingers traveled 4 points, when one axis is 1.5 times the other; 16 points down or up act, once a gesture. `ThemeGesture` |
| Digits of a time or a count | roll as they change, a smooth curve of 300 ms; the time in live rolls only when its minutes change |
| Reduce Motion | every spring becomes a 100 ms cross-fade, and digits change in place |

Shapes animate their size. They do not fade in, except with Reduce Motion.

- **The shape first, the content after.** What appears in a shape stays hidden for the first 35% of its arrival, 154 ms of the 440 of its width, and then fades in over 150 ms while it grows from 86% of its size to its own, anchored at its top center, so it is whole at 304 ms and never larger than its shape. What leaves fades out at once. What appears in the ear when a panel or a toast closes into it, its tiles, its badge or live, waits for the last 35% of the closing, 195 ms of 300. The content of a request does the same in the request panel: it starts to fade in 154 ms after the shown request changes. A request that appears, the next one after an answer and the one `Tab` shows behave the same: what belonged to the earlier request fades out at once, and the new one fades in after those 154 ms.
- **One shape, two springs.** The notch, the ear and a panel move as one shape. Its height moves with one spring and its width with another, so the height arrives first; a shape arrives with a light bounce and leaves sooner, without one. Under the context menu the shape is cut away below the notch; the cut grows and shrinks with the shape, so a panel that closes into the ear keeps its body whole until it is gone, and nothing behind the notch shows between the ear and the panel.
- **With Reduce Motion a shape cross-fades to its new size.** Nothing moves. Over 100 ms the part only the new shape covers fades in, the part only the old shape covered fades out with what was in it, and the part both cover stays solid. What stays and has to move does the same: it fades out where it was and fades in where it goes. So a badge, a count, a tile, the whole ear or a panel that leaves is seen fading, never gone in one frame, also when another tile takes its place.

The two request durations are not animations and do not change with Reduce Motion.

- **400 ms to arm.** It is about as long as the request panel takes to arrive, 380 ms for its height and 440 ms for its width, so a panel that opens under the pointer has reached its size before its keys answer. A pointer crossing 380 points on its way elsewhere is gone well before that, and a user who stops to read never notices the wait. Peek waits 150 ms because opening a list costs nothing; arming a key that can approve does.
- **500 ms of pause.** It is the default double-click interval of macOS, and longer than the gap between the two presses of a doubled key, so the second half of a double press or double click never answers the next request. It also outlasts the arrival of the request panel, so the pause ends after the panel has reached its size. The new request has then been whole for about 200 ms. No one reads a request in less.

## Built choices

Values the theme holds that the design does not give. Each one is the maintainer's to change; none of them is a decision of the design.

| Token | Value | Why it exists |
|---|---|---|
| Tile initials, panel header | 12 | The design gives a size only for the 20 point tile. The weight is the design's |
| Hairline and every border, thickness | 1 | The design gives borders a color, not a thickness. The tile border in a stack is the exception |
| Code of a request, ligatures | off | No two characters the agent sent are merged into one, as [../product/notch.md](../product/notch.md) says |
| Code block of a request, tallest | 160 | Past it the description scrolls inside its block, as [../product/notch.md](../product/notch.md) says |
| Code of a request, fill under a character shown by its code | white at 16% | Brighter than the raised fill of the block, so the code reads as Blossom's and not as text the agent typed |
| Code block of a request, how far from its end counts as read | 1 | A block scrolled to its end stops within a point of it |
| What a request would do, tallest and least | 200, and 48 when the canvas is short; the title gives up height the same way, down to 48 | The design has no diff, plan or command block. 200 shows about fifteen lines of a diff; the least keeps three on a canvas of 480 beside a long title, two rows of answers and the waiting strip |
| What a request would do, once drawn | never shorter than it was, while the request stays shown | Folding a file would move the answers up under the pointer |
| Lines of a diff | the failed and done colors for a removed and an added line and their sign, each over its own color at 12%, `removedLine`, `addedLine` and their fills | The maintainer asked for colors on the lines added and removed. The sign and VoiceOver say it too, so color is never the only mark |
| Diff, lines around a change, and a fold | 3 unchanged lines on each side; the rest folded in one line once two or more are hidden | The common choice of diff tools; one hidden line takes as much room as its fold |
| Diff and plan, keys | `↑` and `↓` scroll three lines or blocks, `scrolledRows` | The request panel has no selection for the arrows to move |
| Plan, sizes | headings 13 and 12 semibold, body 12, strong 12 semibold, items 14 to the right a level and their marker 6 before the text, a quote bar of 2, 8 between the cells of a table, code in a line on white 10%, `inlineCodeFill` | The design has no Markdown |
| Field of a note and of a typed answer | the raised fill, radius 6, 32 tall, the `square.and.pencil` symbol, body size; the row to type in has the hairline border, and the field it becomes a 2 point border in the accent | The design has no field in a request. It is drawn like the rows of options it stands with, and the accent marks focus |
| Question, between two of several | 500 ms in which nothing answers, the pause of a request | A doubled key or a double click would answer two questions |
| First strip caption, waiting strip text | caption | The design gives their color, not their size |
| Keycap, side padding | 5 | The design gives 5 to 6 |
| Request header, tile to title | 8 | |
| Waiting strip, between items | 8 | |
| Button, side padding | 8 | |
| Button, label to keycap | 6 | |
| Buttons of one row, apart | 6 | The design gives 6 between rows. One token holds both |
| Keycap to its meaning | 4 | The footer keeps at least twice this between its hint and its keycaps, from the same token |
| Content waits for its shape | a fixed time after the shape starts to move: 35% of the width of its arrival, 154 ms for every surface, and for what appears in the ear 65% of the width of `closing`, 195 ms | The design waits for the shape to settle; the maintainer asked for the shape first and the content soon after. A second change within that time does not restart the wait of the first |
| Content that appears, how | fades in and grows from 86% of its size, anchored at the top center of its block, with the 150 ms curve of the fade; nothing is blurred | The maintainer decided the fade and the growth and left out a blur on the way in |
| A shape, two springs | the height and the width of a shape move with springs of their own, the height the shorter; each surface arrives with a bounce and leaves sooner without one, from the two pairs `opening` and `closing` | The design gives one spring per surface, the same to open and to close. The maintainer asked for a light bounce on the way in, a shorter way out, and the height first |
| A shape that changes where it goes while it moves | keeps its speed towards the new place, so going on in the same direction does not slow down and a reversal starts from what is drawn; each edge is held within 12 points, `overshootLimit`, of the last three places it was sent to, `rememberedTargets`, so a change of course never makes it jump | The springs of SwiftUI keep the speed, which twice in a row can carry a shape far past its place |
| The ear under the pointer, how | the ear grows on its side away from the notch and live on both, each side never wider than the free space beside the notch that live may take; with the arrival of the ear while it grows and its departure while it shrinks. Only the drawn shape grows: the region of the pointer stays the ear | The maintainer asked for the ear to answer before peek opens. The hidden side of the ear is under the notch, so it does not grow |
| Buttons that answer the pointer and the press | the answers of a request, the options of a question, the buttons of a plugin panel, an indicator chip that opens a panel, the primary button of first launch and the buttons of the settings window, through one style, `PressStyle`; rows, items of the menu and results are not. With Reduce Motion a pressed button only changes its opacity, at once. A button that cannot be pressed does not grow | The maintainer asked for a subtle answer to the pointer and the press. Rows already answer with their fill |
| What breathes | the working ring of a status icon that shows a known progress; a ring without one turns: a row of peek, a step of detail, a row of a plugin panel that works. Its colors stay the track and the text color; it has no glow and no shadow. The tile of live does not breathe, since the color of a tile is the identity of its agent and would carry the state | The maintainer asked for the mark of a session that works to breathe |
| A strip that leaves, live, the ear or the tile and badge of a toast | keeps its last value drawn while the shape changes around it, cut by the edge of the shape, and fades out only once 35% of an arrival has passed, when what replaces it starts to appear; so the first strip is never empty between the two, also when a session ends and its toast comes. The time of live keeps the width of `59:59` and changes it only past an hour | Content that leaves fades out at once; a strip that did so left an empty black band for a moment |
| The shape and what it holds | the canvas is black under everything, and the shape, drawn once with its two springs, is the mask of all of it; so the black and the edge of the content cannot part, and the shape never draws less than the notch. Its edges are drawn from where they are each frame, not animated again by the layout. The shape follows the measured frame of the content, one update after it | Drawing the black and the mask as two shapes let them drift apart by a frame when the main thread was busy. Cutting the outside away with a blend mode left the whole canvas painted in a real window once an animation settled, which a render off screen does not show |
| A panel that takes the place of another | the two overlap, aligned at the top, while the first fades out, so the shape grows only to the taller of the two | Stacked, the shape grew for a moment to both together |
| Content fade, curve | ease in and out | The design gives its duration |
| "More below", pointed out | turns primary with the content fade, holds 800 ms, and turns secondary again; at once with Reduce Motion | The design has no sound and no motion for a key that is held back; a key that allows before the end was shown makes no sound |
| Content that leaves a shape | fades out over 150 ms, at once, while the shape shrinks over it | The design says how content appears, not how it leaves. The edge of the shape hides the part left outside it before the fade ends |
| First strip caption, when the shown request changes | changes in place, with the request spring, and at once with Reduce Motion | It is there before and after. Only content that appears waits for the shape |
| Reduce Motion, content that moves | a tile that takes the place of another, the badge and the footer of a request cross-fade from the old place to the new one. Two things may overlap for those 100 ms. The badge also cross-fades, in place, when only the number of the count changes. A badge that only changes color changes at once | The design says cross-fade, not what happens to content that neither appears nor leaves |
| The ear in the first strip of a panel | what appears in it waits as the content of the request panel does, 154 ms, and fades in with it, also when the panel does not move | It is content of the panel while a request is shown |
| Toast, below the first strip | 4 above the title, 4 between the two lines, 12 below, 12 at the sides | The design gives what the toast holds, not its padding. The sides and the bottom are the panel's |
| Toast, tile and badge to the right edge | 12, and 6 between them | The design says the right edge. 12 is the inner margin of a panel and 6 is the gap of the ear |
| The ear in the first strip of a panel, place | its badge 12 from the right edge; it slides there and back with the spring of the panel, and with Reduce Motion cross-fades from one place to the other | The design says on the right, as in the ear. 12 is the inner margin of a panel, as for the toast |
| Toast, leaving | as every shape, with `closing` | The design gives 200 ms, not the curve. A toast arrives and leaves like the other surfaces |
| Toast, what it says | "<agent> is done", "<agent> failed", "<agent> needs you"; then "It is your turn", "It stopped on an error", "It is waiting for you" | The design gives a title and one secondary line, not their words |
| Toast of done, how long it worked | after the title and a middle dot, in the same weight: "12 min", "45 sec", "1 hr 5 min", "2 hr", cut down to whole minutes | The design has no time in the toast. It goes in the title so the second line keeps its reason |
| Toast, a title that does not fit | truncated at the end | |
| Cue, held | until 2 s after it plays | The design does not say how close two sounds may be. While a cue is held, only a sound that would otherwise be missed plays |
| Toast, its time | 2 s for done, failed and needs you, given by the core with the toast and counted from the moment it starts to grow | The design gives 4 s for every toast, and not where it starts; on the screen that felt long. The core decides it by kind, so it is not a token of the theme. Its text is whole about 300 ms in |
| Toast, one of the same kind that follows it | its words change in place; the shape and the content do not arrive again | The design draws one toast, not two in a row |
| Sounds | the system's Tink for needs you, Basso for failed and Pop for done | The design asks for subtle sounds and names none. They are theme tokens |
| Trackpad tap | the alignment one, for every kind of cue, for peek opened by the pointer and for an approval | One pattern for all, as the maintainer decided; the design names none |
| A logo that draws outside its 24 by 24 box | is cut at the edge of the box, which is 60% of the tile | The design gives the box, not what happens outside it. The color of the tile always shows around the mark, and nothing an adapter sends can cover a neighbour, the badge or a panel |
| A logo that fills nothing inside its box | leaves its tile without a mark | Path data drawn to be stroked, as outline icon sets are, fills nothing where it is one straight line and an unintended shape elsewhere. The app does not judge what an adapter sends; the tile keeps its color and its name |
| A logo in a tile of a stack | centered in the whole tile, like initials, so the tile above covers its trailing edge, 3.5 of its 12 points | The design centers the mark and overlaps the tiles; it does not say which wins |
| Peek, list at its tallest | 320 | Past it the list scrolls. The design draws a short list |
| First launch, panel content | 14 top, 16 sides, 16 bottom; 14 between blocks; 6 between a title and its text | The design draws it. Wider than the 10 by 12 of other panels |
| First launch, body text | 12, with 4 between lines | The design gives a line of 18 for text of 12 |
| First launch, primary button | 32 high with 12 at the sides on the welcome; 28 high with 10 in a footer; 8 from the label to its keycap | As drawn |
| First launch, list of agents | 6 top, 8 sides, 8 bottom; rows of 42, 2 apart, 8 inner side padding, 10 between the tile, the text and the checkbox; at its tallest 372, `introductionListLimit`, eight rows and half of the ninth | As drawn. Past 372 the list scrolls, as in peek, so the panel stays inside the window of 480 under the tallest notch, 38; with the eleven agents Blossom includes the whole list was 496, and the footer fell out of the window. The half row shows there is more |
| First launch, footer | a hairline above, 10 top, 16 sides, 12 bottom; links at caption size, secondary, underlined, primary under the pointer | As drawn |
| Checkbox | 14, radius 4; checked, the accent with a white check; not checked, a 1 point border of white at 28% | The design draws the system's checkbox in the accent. A system control in a panel that is never the main window draws as inactive, without the accent |
| Large keycap | 13, 24 high, 8 at the sides, radius 6, a border of white at 28%; 6 between "Press" and the keycaps | As drawn |
| Waiting field | 32 high, 10 at the sides, 8 between the ring and the text, the raised fill and a 2 point border in the accent | As drawn |
| Waiting ring | 14, a track of white at 18% and an arc of 35% in the text color, 2 wide, turning once a second; still under Reduce Motion | The design draws the ring still |
| Settings, repositories of GitHub Actions at their tallest | 160 | Past it the list scrolls |
| Peek, rows of one group apart, and the lines of a two-line row | 2 | The design gives 8 between groups |
| Peek, group header | aligned with its rows, 8 from the edge of the list; tile to name and name to count 8 | |
| Status icon, stroke of the working ring | 2, like the check and the cross | The design gives the track and the arc, not their thickness |
| Peek, time of a working session | minutes and seconds, counting up, caption size in secondary | The design says "its time" |
| Peek, a session without a title | "Untitled session" | |
| Detail, header | title and second line 2 apart; agent, a middle dot and the state on the second line, 4 apart, at caption size | The design lists what the header holds |
| Detail, reason | body size in secondary, 12 below the header, wrapping, six lines at most | The design has no place for it; it stands where context will |
| Detail, motion | the spring and the content fade of peek | The design gives none for detail |
| Peek, the branch of a session | after its title, at body size in secondary, 6 apart; the title keeps its room first | The design says the name with the branch in secondary |
| Peek and the command bar, the row of a project | one row of 32 that is a button: the status icon of its most urgent state, the project at body size in the text color, 6 apart its count, `· 5 runs`, in secondary, then the `chevron.right` symbol at caption size in tertiary, `chevron.down` while it is open; at the trailing edge the position of the run that is furthest along, `8 of 9`, at caption size in secondary, or the chip of its state, `1 failed` in the failed chip. In the bar the tile of the agent leads, as in any result | The design has no group inside an agent. A chevron and a count say it opens without a new component |
| Peek and the command bar, the rows of an open project | the rows of its sessions as they are drawn alone, indented by 22, the status icon and its gap, so they line up under the name of the project; each shows its title alone, with its branch | The project is in the row above |
| Peek, a stage bar that does not fit its line | its segments and the gaps between them shrink alike, so the bar never leaves the row | The design draws four stages; a run of GitHub Actions can have sixteen jobs or more |
| Stage bar, a stage that failed or was skipped | a failed stage is finished, in the text color; a skipped stage waits, at white 16% | The design names three kinds of segment, for five statuses |
| Peek, trailing edge of a working run | its current stage, a middle dot and its position, `Test · 3 of 4`, at caption size in secondary, in place of its time | |
| Peek, second line of a run that failed or needs you | after the bar, 8 apart, at caption size in secondary: "Stopped at <stage>" for a failed run, what its request asks for a run that needs you | The design says a failed run says where it stopped on its second line |
| Peek, second line of a session that works | what it is doing, at caption size in secondary, the color and the size of the reason, 2 under the title, one line cut at its end; kept empty, at the 42 of the row, while nothing is known; it changes in place with no animation | The maintainer asked to see what a session does in peek, in gray and on one line. The tertiary of the plan limits is kept for a line of the group; a row that changed height between two tools would make the list jump several times a second |
| Detail, the steps of a run | rows of 28 with no gap: the status icon of the stage, its name at body size, primary for the stage the run is at or stopped at and secondary for the others; "waiting" or "skipped" at caption size in tertiary at the trailing edge, with a 6 point tertiary dot for icon; 12 below the header | The design gives the row and the dot. The time of a stage is not in the protocol, see [../roadmap/pipelines.md](../roadmap/pipelines.md) |
| Detail, steps at their tallest | 224, eight steps | Past it the steps scroll and follow the current one, as peek does past 320 |
| Detail, opening the run | `↩` and "open" in the footer, after back and dismiss, only for a session with a web address, and after the pause of dismiss | The design says `↩` opens the run in the browser |
| Toast, a run | a failed run says "Stopped at <stage>" in its second line; a run that is done and has no title says "The run finished" | "It is your turn" is said to the user of an agent, not of a run |
| Live, a run | only the position of its current stage, `2 of 4`, as the time is drawn | The design says a run shows its stage and its count. The name of a job is long and often repeats itself, as in `plugins (plugins)`, and it widened both sides of the notch; peek names the stage |
| Detail, back in the first strip | the `chevron.left` symbol at caption size, 4 before "All sessions" | The design says a back chevron |
| Live, tile | 3 from the notch and 10 from the edge of the shape, the paddings of the ear mirrored | The design says against the notch |
| Live, right side | 3 from the notch, 6 between the time and the badge, 10 to the edge; no activity text, which VoiceOver reads as the value of live | The paddings and the gap of the ear. The maintainer saw a long activity cut with an ellipsis take most of the side and asked for it to go |
| Live, time and progress | 13 regular with tabular figures, in secondary; the time holds the width of `59:59`, aligned to its trailing edge | The design gives their color. Without the activity the time alone sets the width of its side, and a clock that gained a digit at ten minutes widened it |
| Live, ring | 14 across, its stroke inside | The design gives the stroke and the colors, not the size |
| Live, badge | after the time or the ring | The design lists no badge in live |
| Live, a side at its widest, and the context menu | also half of what the canvas leaves beside the notch | The design says a third of the space beside the notch, which on a wide display is more than the canvas |
| Context menu, width | 240 | The design says as wide as the ear and at least 220; 240 shows its longest item whole |
| Context menu, padding | 6 above and below, 8 at the sides, 2 between items, 8 inside an item | The paddings of a list |
| Context menu, bottom corners | 10, the radius of the notch | The design gives the radius of an item |
| Context menu, on state of an item | the `checkmark` symbol at label size, at the trailing edge | The design does not draw it |
| Context menu, an item that cannot be chosen | half strength | As an agent that is off |
| Context menu, motion | the spring and the content fade of peek | |
| Context menu, selected item | the raised fill and a 2 point border in the accent, as the selected row | The design draws only the item under the pointer |
| Command bar, results at their tallest | 320 | Past it the results scroll, as in peek |
| Inbox, list at its tallest | 320 | Past it the list scrolls and follows the selection, as peek |
| Inbox, option of a row | 28 tall, the height of a button out of a request, radius 6; the design draws them 6 by 8 around the label | So the options of a row read as a smaller version of the answers of the request panel |
| Inbox, what a row would run | Geist Mono at code size, 11, on the raised fill, radius 6, 6 by 8 | The values of the design |
| Inbox, reason or title of an open row | three lines at most | The design shows none |
| Command bar, the input | the `magnifyingglass` symbol at title size in secondary, 8 before the text, 12 from the edges; the placeholder "Search" in tertiary | The design gives the height, the icon and the size of the text |
| Command bar, groups and rows | the paddings of a list; the caption of a group at caption size, 8 from the edge; a row of the list, 32 tall, a tile at 20 or a symbol in secondary at body size in a box of 20 | The design gives the captions, the row and their order |
| Command bar, icons of Blossom's actions | `xmark.circle` to dismiss, `gearshape` for settings, `eye.slash` to hide, `power` to quit | The design says a tile or an icon |
| Command bar, nothing matches | "Nothing matches", body size, tertiary, one row tall | The design draws a bar with results |
| Command bar, motion | its arrival and departure, and the content fade once its width has arrived | The design gives a spring of 0.30 and 0.90 |
| Canvas | 720 × 480 | The transparent window everything is drawn in. It is never seen. It was 480 wide until live needed both sides, and 720 lets the context menu fit beside a notch of 240 |
| Settings window, radius | the system's | It is a standard window, and the system rounds those. The design gives 12 |
| Settings sidebar, top | 40 | The design gives no padding for the sidebar. Its first row clears the window buttons: the 28 of the title bar and the edge below |
| Settings sidebar, edge | 12 | |
| Settings sidebar, between the name, the caption and the pinned item | 16 | |
| Settings sidebar, caption to its items | 6 | |
| Settings sidebar item, side padding and icon to label | 8 | The design gives the height and the radius of an item |
| Settings sidebar, icon of General | the `gearshape` symbol | The design gives a 14 point icon, not which |
| Settings pane, title to the first group and between groups | 16 | The design gives the padding around a pane, not inside it |
| Settings group, caption to its container | 6 | |
| Settings group, caption | caption size | The design says a tertiary caption |
| Settings row, side padding, and label to control at least | 12 | The design gives the height of a row |
| Segmented control, track | white at 8% on dark, black at 7% on light | The design says the selected item is lighter than the track and gives neither color. These are the values of the selected item of the sidebar |
| Segmented control, selected item | white at 16% on dark, white on light | |
| Segmented control, item side padding | 10 | |
| Toggle button, not pressed | the track fill of the segmented control with the window border, 28 tall, 8 side padding | The design only draws it pressed. The size is the button's |
| Toggle buttons of one row, apart | 6 | As the buttons of a request |
| Swatches, apart | 8 | |
| Selected swatch, ring | inside its 20 points | The design gives its thickness and color |
| Settings sidebar, items apart | 6 | As the caption to its items |
| Settings sidebar, icons of Shortcuts and About | the `keyboard` and `info.circle` symbols | |
| Keycap in the settings window, border | white at 18% on dark, black at 18% on light | The design gives the border for the notch, which is always dark |
| Keycaps of one shortcut, apart | 4 | |
| Settings groups the design does not name | "Global", "Requests" and "Updates" | The design names the three groups of General only |
| Settings sidebar, version next to About | caption size, tertiary | The design says where it goes |
| About, name, version and license line | title; body in secondary; caption in tertiary | |
| Shortcut being recorded | "Type a shortcut" in tertiary, in place of the keycaps | The design says the keycaps record a new one when clicked, not what they show meanwhile |
| A refused shortcut, the note on the request keys and a login item the system refused, which reads "macOS did not let Blossom change its login item. "Open Blossom at login" may not say what happens." | caption size, tertiary, under their group, 6 from it | State colors stay in badges, chips and borders |
| A configuration that could not be saved | a "Not saved" chip in the failed color and the sentence "Blossom could not save to its configuration file. What you change lasts until it quits." at caption size in tertiary, 6 apart, in the sidebar above About | The design has no place for something that failed in settings. A chip may carry a state color, and the sidebar is in sight from every pane |
| About, the mark in place of the app icon | 44, in the accent | The icon is not in the bundle yet, see [icon.md](icon.md). 44 is the size of the mark in first launch |
| About, mark to text, between its lines, between links | 12, 4, 16 | The design lists what the pane holds, not how it is laid out |
| About, "Check for Updates…" | at the trailing edge of the name, drawn as a toggle button that is not pressed, disabled at half strength | It does nothing until distribution. Half strength is how the design draws an agent that is off |
| About, links | body size, secondary, underlined | Nothing but state, accent and identity is colored |
| Keyboard focus in the settings window | a 2 point ring in the accent, 2 points away from the control, drawn over its neighbors | The design says the accent marks focus and draws it only for a row |
| Tile initials, settings row | 11 | The design gives a size only for the 20 point tile. Eleven is the floor of the design |
| Settings sidebar, icon of Agents | the `terminal` symbol | The design gives a 14 point icon, not which |
| Settings pane, title to its sentence | 4 | The design gives the title and the sentence, not what is between them |
| Primary button in the settings window | the text color of the window as its fill and the window color as its text: light on dark, dark on light | The design gives the primary fill for the notch, which is always dark. That fill would not show on the light window |
| Settings pane, a control at the trailing edge of its header | centered on the title and its sentence, at least 12 from them | The design says the trailing edge of the header. Centered, the 28 points of "Add agent" start at 28, below the title bar, which takes the clicks above it |
| Secondary button in the settings window | the fill and the border of a toggle button that is not pressed | The design gives the raised fill for the notch |
| Agent row, tile to text and between its trailing items | 12 | The design gives the height of the row |
| Agent row, what is at half strength while the agent is off | the tile only | The design says the tile. The name, the command and the switch stay as they are |
| Agent row, the switch of an agent that stopped | on | It is off only for an agent the user turned off |
| Agent row, name to command | 2 | |
| Agent row, status | caption size | The design gives its color |
| Agent row, an agent that is starting | "Starting" in secondary | The design gives no status between off and running |
| Agent row, an agent without a tile | an empty square of the tile size with the border of the window, at full strength also while it is off | An adapter that is off and was not seen running has no manifest, so no colors and no initials. At half strength the border would not show |
| Agent row, a command that does not fit | truncated in the middle | The program and the file it runs are at the two ends |
| Agent row, "Remove" | a secondary button before the switch, only while the agent is off | The design draws no way to remove an agent |
| Stopped block | the fill of a toggle button that is not pressed, radius 6, 8 by 12 padding, right under the 50 points of the row and 12 from its sides and its end; the sentence at body size in secondary; a secondary button "Start again" | The design says an inset block with a faint fill, one sentence and one action |
| "Stopped" chip on the light window | the failed color of the notch, as on dark | The design gives the state colors for the notch, which is always dark. On white the red reads at about three to one, which is low for 11 points, and "Not saved" on the light sidebar a little lower; a darker red for the light window is the maintainer's to give |
| Adding an agent | a container of its own under the list, one row of 50: a field in Geist Mono at code size with the fill and border of a secondary button and the focus ring inside it, 6 from the secondary buttons "Cancel" and "Add"; "Add agent" at half strength meanwhile. Its prompt is asked for in tertiary; the system draws it lighter than that on dark | The design draws the button, not what it opens. Settings stays the only window. Outside the list it stays in sight when the list scrolls |
| Agents, an empty list | one row, 50 tall, with a tertiary sentence at body size | |
| Agents footer | the sentence at caption size in tertiary, the links as the ones of About, 16 apart, at the bottom of the pane | The design lists what the footer holds |
| Agents, more rows than fit | the list scrolls between the header and the footer, and goes to its last row when one is added | |
| Agents, the number in the sidebar | the number of rows, which are adapters, whatever each is doing | The design says the number of agents |
| Agents, what the pane says | "Blossom runs the adapter of each agent and shows what it is doing."; "An agent is a coding tool Blossom watches through an adapter, a command that speaks the Blossom protocol."; "No agents yet. Add one by the command of its adapter."; "N sessions", "Idle", "Starting"; the prompt "Command, such as bun run adapter.ts"; and one sentence per reason an agent stopped: "Blossom could not find its command in the folders it searches.", "Its command was found and could not be started.", "It speaks a version of the protocol that this Blossom does not.", "It introduced itself in a way Blossom could not read.", "It brought more agents than Blossom keeps for one adapter.", "It did not introduce itself in time.", "It stopped running.", "It started more sessions than Blossom keeps for one agent.", "It asked more at once than Blossom keeps for one agent.", "It stopped reading what Blossom sends it." | The design gives the title, "Add agent", "Off", "Stopped" and the two links, and asks for the sentences without writing them |
| Tile of a plugin | `#636366` with the mark or the initials in `#F5F5F7`, the same for every plugin, on the notch and in settings | The manifest of a plugin carries no colors, see Open questions in [../roadmap/README.md](../roadmap/README.md). One neutral pair reads on black and on both window colors, and tells a plugin from an agent wherever it is named |
| General, the preview | the first row of Appearance: the band of the menu bar in the sidebar color, 32 tall, and under it a panel 380 wide drawn with the notch's own surface, the ear of two agents that are done beside the notch, and a selected session row with the accent ring, placed as peek places its rows; the ear sits beside the notch through the same layout live uses; it follows the theme of the window and the accent at once, takes no click, is never reached with Tab, and reads as one element for VoiceOver; the pane scrolls when its groups do not fit, as Agents and Plugins do | The design has no preview; the notch itself is always dark, so the theme shows in the window around it |
| Settings sidebar, Plugins | after Agents, the `puzzlepiece.extension` symbol, with the number of plugins in the folder at its trailing edge | The design has no Plugins pane; [../roadmap/plugins.md](../roadmap/plugins.md) says it follows the Agents pane |
| Plugin row | as an agent row, 50 tall: the tile at 24, the name at row title size and, below it in tertiary at caption size, what it asks for; "Off" in tertiary, "Loading" or "Unavailable" in secondary, or a "Failed" state chip; "Remove" while it is off or failed to load; a switch, except for a plugin that failed to load | The roadmap asks for the tile, the name, what it asks for and a switch |
| Plugin row, a plugin that is not loaded | the name of its file in place of its name, and the empty tile of an agent without one | It has no description until it loads |
| Plugin row, a permission | under the row, aligned with the name, 8 apart and 12 above the end: the capability at body size, "Network, to these hosts" or "Files, to read these paths", every host or path below it in Geist Mono at code size in secondary, one per line, and a switch at the trailing edge | The roadmap asks for one switch per capability with its scope in sight |
| Plugin row, a permission switch | on while the plugin has any of the scope, off while it has none, and as it was last pressed until the core says so, so a second press before the answer undoes the first; a host or a path asked for and not granted reads "not granted yet" after it, in tertiary, while the switch is on | The core keeps an older grant when a module comes to ask for more. A switch that read off while some hosts were still granted would hide them |
| Plugin row, a plugin that asks for both | "With both, <name> can send what it reads to these hosts." at caption size in tertiary under its permissions, also for the network and a folder to choose | [../decisions/permissions.md](../decisions/permissions.md) asks the interface to show it |
| Plugin row, a folder to choose | under the permissions, one line per folder the plugin names: its title at body size, the folder chosen in Geist Mono in secondary on one line cut in the middle, or "No folder chosen" in tertiary at caption size, then "Choosing a folder lets <name> read everything in it." in tertiary at caption size; "Forget", once one is chosen, and "Choose…" as secondary buttons at the trailing edge; a pick the core refused says why in secondary at caption size: "Choose a folder inside your home folder, not the home folder itself.", "Choose a folder inside your home folder." or "That is not a folder Blossom can read." The panel of the system opens on the home folder over the settings window with "Choose" as its button | Choosing is the grant, so the pane says so where the button is, and a refused pick is said where it was made |
| Plugin row, a setting | under the permissions and the folders, one block per setting: its title at body size, a field as the one that adds an agent, in Geist Mono, with the default as its placeholder, and its help in tertiary at caption size; return or leaving the field sends what was typed, and "Not saved: one line of 256 characters at most, with no hidden characters." in secondary at caption size shows when the core did not keep it | A setting is one line of text, and the field of the Agents pane is the one the design has |
| Plugin row, a host it sends to | "Sends data to <host>" in secondary at caption size under the host, and ", sends data to it" after the host in the hint of the switch | The pane must say where a plugin can post what it has |
| Plugin row, a token | under the settings, per credential: "Token for <host>" at body size; "Sent only to <host> as <header>. <name> never reads it." and "Use a token with the least access it needs." in tertiary at caption size; a secure field as the field that adds an agent, in Geist Mono, its placeholder "No token kept" or "A token is kept"; "Keep" and, once one is kept, "Delete" as secondary buttons; "Not kept: a token is one word, and the Keychain must be open." in secondary at caption size when the core did not keep one; and under the switch "Sending with its token" a sentence in secondary at caption size that it lets the plugin do on those hosts everything the token allows | The pane must say exactly where a token goes and what sending with it allows, without softening it |
| Plugin row, why it failed | the stopped block of an agent, without its button: one sentence in secondary and the detail under it in Geist Mono at code size in tertiary, three lines at most | The roadmap asks a plugin that fails to say why |
| Plugins, a file that could not be added | a container of its own under the list: "<file> could not be added" at row title size and the block of why under it, 2 apart, 12 inside | It stays until another file is added, as the core keeps it |
| Plugins, "Add plugin" | the primary button at the trailing edge of the header; it opens the panel of the system to pick one `.wasm` file, over the settings window, with "Add" as its button | The roadmap asks for a way to add one from a file |
| Plugins, what the pane says | "Blossom draws what each plugin describes, and asks it only when you do something."; "No plugins yet. Add one from the catalog or from its .wasm file."; "A plugin adds an indicator, commands or a panel. It reaches the network or your files only once you turn that on."; "Asks for nothing", "Asks for the network", "Asks to read files", "Asks for the network and to read files", a folder counting as reading files; and one sentence per kind of failure: "Blossom could not read it as a plugin.", "It is larger than a plugin may be, or would take too long to prepare.", "It holds something a plugin may not have.", "It ran out of time or memory before it answered.", "It speaks version N of the plugin contract, which this Blossom does not.", "It described itself or answered in a way Blossom could not accept.", "Blossom could not copy it into its plugins folder." | The design has no words for the pane |
| Plugins, by permission | between the file that could not be added and the catalog, while anything is granted: "By permission" at row title size as a heading and "What you granted, and the plugins that hold it." under it at caption size in tertiary, then a container with a row per grant, in the order the core gives: network, sends data, token kept, sends data with its token, reads a file, reads a folder, and by host or path within each. A row: what it is at body size and the host or path in Geist Mono in secondary under it, the plugins at its trailing edge at caption size in secondary, one per line, ", off" after one that is off; 8 above and below, 12 at the sides, at least 38 tall | The design shows grants only per plugin; the other way round answers which plugins reach a host or a folder |
| Plugins, the catalog | under the list and the file that could not be added, 16 below them: "Catalog" at row title size as a heading, its sentence under it at caption size in tertiary, 2 apart, and at the trailing edge a secondary button, "Browse the catalog" until it is listed and "Refresh" after, or "Reading…" in secondary at caption size while it reads; the list and the pane scroll together between the header and the footer | [../roadmap/catalog.md](../roadmap/catalog.md) asks for a section of the pane, read only when the user asks |
| Plugins, an entry of the catalog | a container of rows as the list of plugins: the tile at 24, the name at row title size with its version in tertiary at caption size 4 after it, and its description in secondary at caption size; at the trailing edge "Add" or "Replace" as secondary buttons, "Added" in tertiary or "Adding…" in secondary at caption size; under it, aligned with the name, what it asks for as the permissions of an installed plugin, "Uses a token for <host> that you keep in the Keychain", with ", and sends data to it with that token" when it does, under the network, "Folders you choose", "Hidden paths it reads in them" and "Settings you fill in" with their names in Geist Mono, then "Passed the checks every plugin passes", its size and "README" as a link, 16 apart, at caption size in tertiary | The user sees what a plugin asks for, written as the pane writes it, before adding it |
| Plugins, an entry that replaces | "Replacing it turns it off and takes back what you granted." in tertiary at caption size, then "This version also asks for" with what it asks for beyond the installed plugin, "This version also sends data to <host>", "This version also uses a token for <host>" and "This version also sends data to <host> with its token" | An update is the user's choice, with the permissions that change in sight |
| Plugins, a catalog that could not be read | the stopped block of an agent, without its button, between the heading and the list: one sentence per failure, also for a list served again under the number accepted with other contents, in secondary and the detail in Geist Mono in tertiary for one that is unreachable or breaks a rule | One sentence for each way it fails, and nothing changed |
| Plugin row, withdrawn | a "Withdrawn" state chip in the failed color in place of "Off", no switch and none of its permissions, folders or settings, "Remove", and under the row "Withdrawn from the catalog. It stays off until you remove it." in secondary at body size with the reason of the catalog under it in tertiary at caption size | State color only in a chip; the reason is the catalog's, signed |
| Plugins footer | as the footer of Agents, with the link "Write your own" to [../architecture/plugins.md](../architecture/plugins.md) | |
| Plugin panel | 380 wide like peek, the caption of the first strip is the name of the plugin; the header as the one of detail: the tile at 28, 8 to the title at title size and the subtitle at caption size in secondary, 2 apart; blocks 12 apart; past 320 the blocks scroll | The design gives the frame, the header and the four first blocks |
| Plugin panel, rows | a row of the list without a fill, 32 tall or 42 with its second line, the title at body size, the subtitle at caption size in secondary, the value at caption size in secondary at the trailing edge, aligned with the header | The rows cannot be chosen |
| Plugin panel, chips and buttons | neutral chips 6 apart, and secondary buttons 28 tall 6 apart, each block wrapping; a chip or a button wider than the panel is cut at the end | The design says chips wrap |
| Plugin panel, code | Geist Mono at code size, 160 at its tallest, then it scrolls inside its block | The request code block is 160 too |
| Plugin panel, the selected button | the accent border of a selected row, 2 points | The accent marks the selection |
| Plugin panel, a row with a state | the status icon of a step of a run in detail, 14 across, 8 before the title: the working ring, the check, the cross, or the 6 point tertiary dot for `pending` and `skipped`; the row keeps its height, and its value or nothing stays at the trailing edge; in a block where any row has a state, a row without one keeps the place of the icon empty, so the titles line up | The design draws the icon for the steps of detail. A plugin has no "needs you" |
| Plugin panel, meters | one per line, 32 tall and 2 apart, like rows: the label at body size and the value at caption size in secondary at the trailing edge, and under them, 4 apart, a bar as long as the block, 3 tall with radius 2: white 16% for the track and the text color for the part done, as the segments of a stage bar; without a progress the whole bar at half the text color, still | The design has no meter. The stage bar is the bar it has, and it never takes a state color |
| Plugin panel, links | one per line, as wide as the block and 6 apart: the raised fill and the hairline border of a secondary button, radius 6, 8 by 6 inside; the label at body size, medium, and 2 under it the whole address in Geist Mono at code size in secondary, wrapping and never cut; the `arrow.up.right` symbol at caption size in secondary at the trailing edge | The design has no link in a panel. A link is a control, so it looks like the secondary button, and the address is code the plugin sent |
| Plugin panel, the selected link | the accent border of a selected row, 2 points, as a button | |
| Plugin panel, what it says | the footer "Described by a plugin", with `↑↓` move and `↩` run when it has buttons, `↩` open when it has links and no button, and `esc` close; a link says "Opens <address> in your browser" to VoiceOver, a meter its percent or "In progress", and a row with a state the name of its state first: "Working", "Done", "Failed", "Waiting" or "Skipped"; while it loads, the name of the plugin and "Loading"; when the plugin did not answer, "Unavailable" and "It did not answer. Blossom asks it again the next time you open this panel." | |
| Plugin panel, motion | the spring and the content fade of peek | |
| Indicators in peek | under a hairline, 8 above and below the chips and 12 at the sides; chips 6 apart, the label and the value one space apart in one line at label size, so a chip wider than the panel is cut at the end of its value | The design says what a chip holds and that chips wrap |
| Indicators, how often | a round of indicators ages 60 seconds after it was asked | The design asks for an interval in the theme of timings without its value |
| Indicators, an unavailable plugin | no chip | An indicator carries no state |
| Indicators and timers, a timer | the time in place of the value: minutes and seconds, hours and minutes and seconds past an hour, unpadded like the time of live; it ticks every `timerTick`, 1 s, only while the notch can be seen; a countdown stops at `0:00`, and the chip of an indicator then shows the value the plugin sent | The design has no timer. The format is the one of live so two clocks in the notch read alike |
| Toast of a plugin | the tile of the plugin at 20 at the right edge, no badge; a first line with its name at caption size in secondary and a neutral chip "Plugin", 6 apart; its title at title size; its detail at caption size in secondary, 4 between the lines | The design has no toast of a plugin. The name and the chip make it read as the plugin's at a glance, and no badge or state color lets it pass for an agent |
| Toast of a plugin, what VoiceOver says | "<name>, a plugin: <title>. <detail>" | |
| Toast of a plugin, its time | 4 s, given by the core | A title and a detail take longer to read than the line of a session |
| Plugins, alerts | the switch "Alerts" with "Lets it wake at a time it sets and show a short message as a toast, at most 6 an hour." under it, off until the user turns it on; "By permission" lists it as "Alerts" with "Wakes at a time it sets and shows a short message"; the catalog says "Alerts: it can wake at a time it sets and show a short message", and a newer version that asks for them "This version also asks for alerts"; the summary under the name adds "and for alerts"; a plugin that keeps text says "Keeps 312 bytes of its own, removed with it" | The design has no words for the pane |
| Command bar, the group of a plugin | its caption is the name of the plugin; each result has the tile of the plugin at 20 and the title of its command, or "Open its panel" | The design names the group after the plugin and gives each result its tile |
| Reply, the field | 68 tall in the reply form and 52 in the steering form, the text 10 from its sides and 9 from its top, radius 10, a border of 1.5 in the accent (`fieldBorder`) | The design draws a text area of three and two lines with these paddings; the radius is the one of the code block |
| Reply, steps and queue | three steps, 84 tall, before they scroll; the queue 76 tall before it scrolls, each prompt 4 above and below, 10 before and 6 after, its remove button 28 square | The panel stays inside the canvas of 480 with eight prompts in the queue |
| Reply, quick replies | label size, 4 by 8 padding, radius 5, 6 apart, on the raised fill | The design's chips, kept on one line |
| Reply, Stop, Interrupt and Queue | 28 tall, 9 at the sides, a symbol at caption size 6 before the word: `stop.fill`, `bolt.fill`, `text.append` | The maintainer asked for icons and for the three buttons on one line |
| Reply, Stop asks again | 3 s (`stopConfirmation`) | Long enough to press again on purpose, short enough that a later press starts over |
| Reply, the icon | `arrowshape.turn.up.left`, in detail and on a toast of done | |
| New session, an agent | 5 above, below and before (`agentChoiceVertical`, `agentChoiceLeading`), 9 after (`agentChoiceTrailing`), radius 6, 6 between the tile and the name and between buttons | The design's buttons |
| New session, a folder | 7 above and below (`folderRowVertical`), 8 at the sides, 2 between rows; the list 138 tall at most (`newSessionFoldersLimit`), three rows and "Choose a folder…", and 44 at least (`newSessionFoldersLeast`) when the window is short; the cross 28 square | The panel stays inside the canvas of 480 with eight folders and a line of what did not start |
| New session, the icon | `plus.bubble` (`newSession`) in the command bar; `xmark` (`forgetFolder`) to forget a folder; `checkmark` for the chosen folder | |
