Rost

Release notes

What changed each time I merged into master and put rost.build live. Newest first. The commits have the details; this is what it means for a component or an app.

2026-12-03

  • Deviations, decided. 13 had piled up with nobody deciding them. What both apps were fixing by hand is in Rost now. InlineBanner, Projects, Testimonials and Thumbs stay on one line when there's room and wrap at the same size when there isn't, instead of running off a phone; InlineBanner's text is centred on one line and reads from the left once it wraps. Projects and Testimonials slide their 16px on hover with motion/duration/base and motion/easing/out, and not at all for someone who asks for less motion. Hero Media's dim is bound to opacity/medium in Figma now, so Figma and code both say 48%. The rest are choices the portfolio site makes for its own pages (the hero's Buttons on a phone, Chips as plain labels, the full-bleed hero, the highlighted words in quotes, no line under a list's last row), and they're marked as decided. The note about Button being in Figma twice is gone; that was fixed on 2026-10-23. Everything still matches Figma.
  • The roadmap caught up. It still said the portfolio site used none of Rost's components. It uses about a dozen, and the accounting app now uses nothing else.
  • ListRow. A row in a list you read, not pick: something small at the start (a Badge, an Avatar, an icon), a title over a line of detail, a value at the end and a line under it. It's an <li>, so the rows go in a <ul>. ListItem is the one you press; this one has nothing to press. The accounting app's payment schedule was drawing its own, and now uses this. Four new variables, list-row/*, and a page of its own in Figma. It matches Figma, with no accessibility or contrast findings.

2026-12-02

  • A lock icon. Icon has lock now, 23 glyphs. It was in Figma already, drawn for Input, but sat in a frame of its own outside the Icons set and never made it into code. I moved it into the set, same node, so Input's 18 instances of it didn't change. The accounting app's own Icon was there only for this lock.
  • The skill works outside an app, and the tokens are on rost.build. https://rost.build/tokens.css and https://rost.build/brands.css serve the same files as tokens/. The skill now says how to make a page that has no build step look like Rost, a single HTML file or an artifact: link the tokens, take a component's CSS and class names from /r/<id>.json. It also says to use Rost when a tool finds no design system among claude.ai artifacts, which is what sent another session of mine looking in the wrong place. I keep a copy in ~/.claude/skills/ so every session has it.

2026-11-30

  • The docs said three things were still open that weren't. Badge's dots and InlineBanner's icons have been masks in theme colours since 2026-10-31, and Thumbs and the illustrations have read in light since then too. Token coverage and the roadmap still listed them as open. They don't any more. The only picture with its colour baked in is Rost's own logo in Navigation's example.
  • Brands in Figma. The base collection has three modes now, Green, Blue and Violet, with the same scales as tokens/brands.css, so switching a frame's mode shows what the code shows. Positive points at a new color/*/green/* scale that no brand changes. A picked Chip's edge, a Toggle's and Switch's edge, Spinner's arc and 20 other accents were borrowing positive's tokens; they have their own brand tokens now, so they follow the brand in code and in Figma. In light those went from #0e7118 to #006f27. Contrast passes in green, blue and violet, both themes, and every component still matches Figma.
  • Brands. Rost's green can be swapped for another hue with data-brand on <html>. blue and violet come in tokens/brands.css, and npx github:Runceanu/rost brand <name> <hex> makes an app its own. Each step of a brand has exactly the luminance of the green step it replaces, so contrast is the same in every brand: I ran the contrast check with blue and with violet, both themes, no failures. That also means a brand can't be darker than the green: blue is a sky blue. Positive stays green. Try them on the Tokens page; the whole site follows for the visit. More in Brands.
  • A skill for agents. npx github:Runceanu/rost skill writes Rost's skill into an app, at .claude/skills/rost/SKILL.md. It tells an agent to read what Rost has before building, install components rather than draw its own, use tokens and never a raw colour, write a difference down as a deviation, and run the audit at the end. The installer runs the audit now as well: npx github:Runceanu/rost audit, with --strict for an app that's already clean. The skill is on the site at rost.build/skill.md and listed in /llms.txt. More in Rost for agents.
  • Families on one page. AvatarGroup now lives on Avatar's page, SwitchField on Switch's, ToggleGroup on Toggle's, TestimonialPicture on Testimonials', ProgressRing on Progress's and ContextMenu on DropdownMenu's, the way TabItem already sat under Tabs. Each keeps its own contract, code, example and install line; it just isn't a card of its own any more. Their old addresses send you to the right place on the family's page. Installing the first of a family brings the rest of it too. Figma is grouped the same way: ContextMenu moved onto DropdownMenu's page, ProgressRing onto Progress's and ToggleGroup onto Toggle's, and their three pages are gone. Every node kept its ID, so nothing that points at them changed.
  • Banner, ContextMenu and date ranges. The last of the gaps the roadmap listed. Banner is a notice across the top of a page or a section: a title, a line under it, links to act on it and a close button when it can be closed, in four statuses on a tint of the status's colour, with InlineBanner's icons. Negative is role="alert", the rest role="status". In the light theme its tints are the lightest step of each colour, because the green link on the next step was 4.4:1. ContextMenu is DropdownMenu's plate opened where you right-click, or at the focused element with the context menu key or Shift+F10, kept inside the window, with the same keys inside. Calendar picks a range with range and onRangeChange: the first press is the start, the second the end, swapped if it's earlier, and while only the start is in, the days up to the pointer or the focus show where it would end. CalendarDay has a range status for the days between, dark green, with the ends green as a picked day is. DateField takes range too and shows both dates, like Nov 3 – Nov 9, 2026. All of it is in Figma, every variant matches, and I drove each one in a real browser, keyboard included.
  • Blocks: whole screens made only of Rost's components. Three to start: Sidebar, an app's frame with Navigation down the left that moves into a Sheet behind a Menu button on a phone; Login, email, password and keep me signed in on a Card, which checks the fields and shows the app's answer when it isn't a yes; and Dashboard, the Sidebar block with a row of Stats, a BarChart and a Table of the latest things. They have no look of their own: every colour and state comes from the components inside, and their own CSS is layout, in tokens. Each has a page under Blocks with the screen running in a frame you can switch between desktop and phone width, the code, and npx github:Runceanu/rost add <id>, which brings the block and every component it's made of. I drove all three in a real browser and ran axe on each, in both themes, at desktop and phone width: no findings, no sideways scroll. An empty app with the Dashboard and Login installed type-checks clean. In Figma they're on a page of their own, three sets with a width axis, Desktop and Phone, built from instances of the real components and bound to the same variables, so they change when the components do.
  • Blocks match their Figma drawings. I rendered each block in code and diffed it against Figma at the same size: under 1% of pixels differ at desktop width, the anti-aliasing on text edges. Doing that found two bugs in the code, both fixed. The Sidebar's nav column added its padding on top of its width and height, so it was 24px too wide and ran 24px past the bottom of the screen; the column is now exactly Navigation's 160px and its padding. And Login's "Forgot your password?" link took the browser's default 16px, because nothing around it set a size, so on a phone it wrapped onto a line of its own; it's 14px now, the same as the checkbox label beside it.
  • Try it, on 22 component pages. Each interactive component's page now opens with a working example above the variants: a Dialog that opens and closes, a Combobox you can type into, a Pagination that turns pages, NumberField, Rating, Calendar and the rest. They're the components themselves, with a few lines of state, written next to the fixtures as Demo, and each page loads only its own. I drove all 22 in a real browser. The variants underneath stay still on purpose: they're what's compared with Figma.
  • Rost installs with its own installer, and nothing else. The component pages, the README and Install used to lead with another kit's command line. That was wrong: Rost doesn't depend on any other design system, and it never will. Every page now says npx github:Runceanu/rost add <id>, which runs bin/rost.mjs straight from GitHub and copies the component, what it needs and its contract into the app. I tried it in an empty app. Once Rost is on npm it becomes npx rost add <id>. The registry files dropped the other kit's schema links too.
  • Three new components: SearchField, NumberField and Rating. SearchField is a 40px field with the search icon and Input's colours, in a role="search" box; a clear button shows once something's typed, and Esc empties it. NumberField is minus, the number and plus in a 48px box: a role="spinbutton" that steps with the arrow keys, ten at a time with Page Up and Page Down, stops at min and max, and puts the last good number back when you type something that isn't one. Rating is five stars, read-only (named "3 out of 5", halves included) or a row of five radios you can give a score with, lighting up to the star you point at. Each has its own variables, pointing at Input's and the warning yellow, and its own page in Figma. All 11 variants match Figma, and I drove all three in a real browser.
  • Four new icons: plus, minus, search and star. Drawn the way the other 18 are, as if with a 2px round-ended line on a 24px grid, and the star solid. The Figma components and the SVGs come from the same paths, so all four match to the pixel. They're what NumberField, SearchField and Rating were waiting for.
  • Table sorts and picks rows. A column header with sort and onSort becomes a button: it underlines on hover, takes the focus ring, and shows a 16px arrow up or down on the sorted column, with aria-sort on its <th> so a screen reader says how the table is ordered. The sorting itself stays the app's. To pick several rows, put a Checkbox in each row's first cell and mark the row selected while it's ticked; a Checkbox in the first column header picks them all. I drove it in a real browser: sorting flips and moves between columns, one picked row makes "select all" half-ticked, pressing it picks them all. Table's page has the example.
  • Checkbox can be half-ticked. indeterminate draws the ticked look with a dash from the new minus icon, in every state, and sets the input's own indeterminate, which screen readers read as "mixed". Five new variants in Figma; Checkbox's existing ten are now named indeterminate=False there and here.
  • All 53 variants of Icon, Checkbox, Table, TableRow and TableItem match Figma, with no accessibility findings and no contrast failures.

2026-11-17

  • rost.build is tighter, and a review of everything, twice. The home page had 148px above each section, written in by hand; it's 96px now, a token like everything else. Headings on the component and doc pages have 40px above them instead of 56px, every page starts 40px under the header instead of 56px and ends 64px early instead of 96px, and the letters on the home page sit 24px apart instead of 32px. On a component page, a field's help line (Input, Select, DateField, Combobox) ran into the caption under it; the preview keeps room for it now. Then I checked everything twice: all 82 contracts validate, all 335 variants match Figma, 0 accessibility findings and 0 contrast failures in both themes, every component type-checks strictly, and the seven newest install from the registry into an empty app and type-check there too. The one thing that turned up was a loose type in Text's fixtures, fixed.
  • Command, and three things it turned up. Command is a palette for doing anything from the keyboard: a search field over the page and the commands in groups under it, narrowing as you type, using Combobox's options. Up and Down move across the groups, Enter runs a command and closes it, Esc closes it. It sits 96px from the top of the window, so the list grows down. Its search field has Input's grey underline, which turns to the main text colour and 2px while it has the focus. Building it showed:
    • Dialog opened in the top-left corner, and had since it was built: Rost's reset takes every margin away, including the ones the browser uses to centre a modal. The visual test only draws Dialog's plate, so it never showed. Dialog and Command put the centring back.
    • A contract can style a pseudo-element of any part now, not just the root: pseudo: ::placeholder with of: search is .rost-command__search::placeholder.
    • The accessibility check had two blind spots. It only counted a top border as an edge, so a field with just an underline looked edgeless, and it ignored a field inside a bigger plate. It also crashed when a focus change was strong enough but too short. All three are fixed, and every component still has no findings.
  • Combobox, with ComboboxOption. One choice from a long list, found by typing: Select's field, using Select's colours and Select's drawing, but an input you can type in, with the matching options in a list under it. Typing keeps the options whose name contains what you typed; nothing matching says so. Up and Down move the green highlight, Enter picks, Esc closes, and leaving the field puts the picked name back, so a half-typed word never looks like an answer. It's the ARIA combobox pattern: the focus stays in the input and screen readers follow the highlight through aria-activedescendant. The picked option is medium weight with Checkbox's tick. The list is on DropdownMenu's plate, as wide as the field and 8px under it; it isn't drawn on its own in Figma, so I checked it in the browser. 8 new variables, 11 variants, all matching.
  • DropdownMenu, with MenuItem. A button that opens a short list of actions, like Edit, Duplicate and Delete on an invoice. Rost's Menu turned out to be a navigation item, so actions got their own MenuItem: a 40px row, green when it's pointed at or focused, red for an action that loses something, faint when disabled. DropdownMenu is the browser's popover with role="menu", on its own tighter plate (4px inside, at least 180px wide), 8px under its trigger. It opens with the focus on the first item; Up and Down move through them, Home and End to the ends, Enter acts and closes, Esc closes, and the focus goes back to the trigger. I drove all of that in a real browser. 10 new variables, 6 variants, all matching. The roadmap's list of what's next is current again.
  • The home page lists the components A to Z. They're under their letters now instead of their kinds, with a bar of letters that stays under the header while you scroll: pick one to jump to it, the letter you're in is green, and a letter with nothing under it is greyed out. The Components page still groups them by kind. The line above the cards said the rest were contracts that come next; there are none left, so it says all 77 are in code.
  • Sparkline and Legend. Sparkline is which way something has been going, as a 2px line with a dot at now, for beside a Stat. It's grey, or green or red when the direction is good or bad (rising costs are red). It scales to fit, so it shows shape, not size, and its label says in words where it ended. The Figma drawing is made from the same points the code computes, and the two match to the pixel. Legend says what a chart's colours mean: a small square, a name and a value if it helps, in a row that wraps, in BarChart's grey and green. 7 new variables, 4 variants.
  • DateField, and two fixes it needed. DateField is Select's field as a button: the same box, the same colours (it uses Select's own tokens and Select's drawing, cloned in Figma), with the date where Select shows its value. Pressing it opens the Calendar in a Popover under it, on the picked day. Picking closes it and puts the focus back on the field; Esc closes it without a change. I drove all of that in a real browser. Building it showed two things wrong underneath:
    • Every component reset the margins of everything inside it, other Rost components included, so a Popover inside DateField lost the 8px between it and its button. The reset now covers a component's own parts and plain elements, and leaves a nested component to its own. Only that one line changed, in all 69 stylesheets, and all 306 variants still match Figma.
    • Popover stops at 280px, a good line for words but narrower than a Calendar. fit lets it be as wide as what it holds.
  • The site build checks for a link inside a link on every page now, and fails if it finds one, so the home page can't break the way it did again.
  • The home page's component cards were broken from Breadcrumb on. Each card is a link, and Breadcrumb's preview has links in it. A link inside a link isn't HTML, so the browser split the card apart, and a whole row of cards stretched to 832px with Breadcrumb's name and frosted panel spilling across the page. It had been like that since Breadcrumb went in on the 16th, and I only checked each component's own page, not the home page's grid. A card's preview now has its links turned into spans with the same classes, so it looks the same and can't break the card, whatever goes in it next. I scanned all 79 built pages for a link inside a link: none.
  • Calendar, with CalendarDay. A month to pick a date from, for the accounting app's invoice and payment dates. The month's name sits between two tertiary IconButtons, then the days of the week, then six weeks, always six, so it doesn't jump in height between months. A CalendarDay is a 40px square: green when picked, green and heavier for today, grey for the months either side, faint when it's outside min and max, with Rost's hover green. It's an ARIA grid with one day in the tab order: the arrow keys move a day or a week, Home and End to the week's ends, Page Up and Down a month (with Shift, a year), Enter picks. I drove all of that in a real browser, and a disabled day can be reached but not picked. Monday comes first; the locale names the month and the days. The accessibility check caught one thing before it shipped: the focus ring on the picked day was grey on green, 1.4:1. It's the picked day's dark label colour now. Figma taught me one thing on the way: its export draws a bound colour's fallback, which was white on the chevrons, so they carry their green as the fallback now. Ranges (from and to) aren't done. 12 new variables, 10 variants, all matching.
  • ProgressRing and BarChart, for the dashboards. ProgressRing is Progress as a 40px ring, for a Stat's side or a card's corner: the same three tones and the same ease, drawn clockwise from the top. Each tone is at least 3.9:1 against its track, in both themes. BarChart is a few figures as bars with a label under each, grey, and green for the one that's now. It has no axis, gridlines or tooltips, on purpose: it shows shape, and the Stat above it says the number. It's an <ol>, so a screen reader hears how many bars there are and each one's label and value. The bars are plain boxes, so the Figma drawing and the code agree to the pixel. 8 new variables, 4 variants.
  • Slider, Figure and Quote. Slider is the one I skipped before because the browser's range input can only be styled with pseudo-elements that each browser names differently. This one isn't that input: the thumb is a role="slider" with its values, the track and fill are drawing, and the arrow keys, Page Up and Down, Home and End, a press or a drag all move it. Figure is a picture or a chart on a grey plate with a caption under it, in a real <figure>. Quote is someone's words in sub-title type next to a green rule, with who said them under it. 9 new variables, 5 variants, all matching Figma. I also drove Slider, last batch's Toolbar and Dropzone with a real keyboard and pointer this time, which the static site can't do. Slider and Toolbar did what their contracts say. Dropzone didn't: a drop that came in before React had redrawn could leave the edge green. That's fixed.
  • Three more: Timeline (with TimelineItem), Dropzone and Toolbar. Timeline is what happened to something, in order: an <ol> of TimelineItems, each a 12px dot on a thin line with what happened, when (in a <time>), and a sentence if it needs one. The latest one is green. Timeline tells the last item it's last, so its line stops there. Dropzone is a place to drop a file, with Choose a file as a real button next to it, because not everyone can drag. Its edge turns green while a file is over it and red with error, and the help says what to fix. Toolbar is tertiary IconButtons on a raised strip, with thin lines between groups: Tab lands on one button and the arrow keys move between them. All drawn in Figma with the kit's own Button, IconButtons and arrow icon as instances, on 17 new variables. All nine variants match. Dropzone's edge is solid, not dashed: a dashed edge draws differently in the browser and in Figma, and I'd rather it matched.

2026-11-16

  • Fieldset and Accordion. Fieldset is a question with its choices: the <legend> in medium paragraph type, the Radios or Checkboxes under it, and a line of help, drawn in Figma with the kit's own Radios. Accordion is Disclosures in a column with a line under each, drawn with the kit's own Disclosures. Both match Figma. The accessibility check learned how radio groups work along the way: a radio that isn't picked, in a group where one is, is reached with the arrow keys, so it no longer counts as missing from Tab.
  • Six more, for the screens the apps actually have: Stat, DescriptionList, Sheet, Stepper (with Step), AvatarGroup. Stat is a label, a figure in title type and a line saying how it moved, green or red, with the words carrying the meaning. DescriptionList is a <dl> of term and detail pairs with a line under each, for an invoice's or a client's details. Sheet is Dialog's sibling: a <dialog> against the window's right edge, full height, with its buttons pinned to the bottom and the same dimmed page behind. Stepper is a row of Steps with a short line between them; a Step is a green tick when done, a green ring when current and grey when it's still to come. AvatarGroup overlaps medium Avatars by 8px, each ringed in the page colour, and shows how many more. Drawn in Figma with the kit's Avatars and Buttons as instances, on 24 new variables. All ten variants match. Sheet appears rather than slides in, for now.
  • Contracts can move. A contract can hold keyframes, which become @keyframes rost-<id>-<name>, and has to say what changes for someone who asks for less motion (reducedMotion, written as a prefers-reduced-motion rule). The visual test takes its pictures with animations stopped, so a moving component is compared at its first frame. Skeleton uses it now: it fades slowly between full and 48%, and stays still for reduced motion. Progress eases to a new value over 450ms, or jumps there.
  • Five more: Spinner, Kbd, Breadcrumb, Pagination and EmptyState. Spinner is a grey ring with a green quarter that turns every 600ms, five times slower for reduced motion. Kbd is a key in the text, in mono on a small grey cap. Breadcrumb is quiet Links with Rost's chevron between them and this page last. Pagination is two IconButtons with "Page 3 of 12" between them; I left out page numbers to jump to. EmptyState is one of Rost's drawings, a title, a sentence and a Button. All drawn in Figma on pages of their own, with the kit's own IconButtons, Illustration and Button as instances, on 11 new variables. All six variants match. I skipped Slider: styling the browser's range input needs pseudo-elements that only one browser each understands.
  • The gaps from the last two batches, closed.
    • Link's pressed state takes hover's colour instead of fading to 72%, which took light mode to 3.5:1 on white. Every text on rost.build passes AA now, both themes.
    • A contract can style what the browser draws itself: a part with pseudo: "::backdrop" becomes .rost-dialog::backdrop, in the CSS and in the conformance check. Dialog uses it, so the page behind dims to 72% of its own colour.
    • Select has an error state with Input's red, and a help line under it that's tied to the select for screen readers. Three new variants in Figma, on 23 new variables.
    • Popover opens under the button that opened it, 8px away, and flips above it when there's no room. That's CSS anchor positioning, checked in Chromium; a browser without it puts the popover top left.
    • Toast takes onClose and shows a close button: IconButton, Tertiary, with Input's clear icon. Several toasts go in the new ToastStack, a column fixed to the bottom of the window, or in place.
  • Four more: Select, Dialog, Popover and Toast. Each is the browser's own element, so the registry stays free of dependencies and the hard parts (focus, Esc, the list that opens, what screen readers hear) are the browser's. Select is a real <select> dressed as Input's filled field. Dialog is a <dialog> opened as a modal, with a title, a few words and its Buttons. Popover uses the browser's popover. Toast is Badge's dot, a line and a Borderless Button, read out as a status (or an alert when it's negative). Dialog, Popover and Toast use Card's grey with an edge and the floating shadow. In Figma they're drawn with the kit's own Buttons and Badges as instances, bound to 30 new variables. All 10 variants match. Still to do: Dialog's dim layer is the browser's until contracts can style ::backdrop, Popover doesn't place itself next to its button, Toast has no queue or close button, and Select has no error state.
  • Six new components: Checkbox, Radio, Avatar, Card, Skeleton and Progress. The ones every app needs that Rost didn't have. Each started as a contract, its CSS is built from that, and then I drew it in Figma on a page of its own, bound to the same variables. All 31 variants match Figma in the visual test, and they're in the pen.dev library and the registry too. They brought 57 new variables, one family per component, each pointing at a semantic token the way Switch's do. Checkbox and Radio are real inputs inside a <label>, so forms, Space and the arrow keys work as they always do. A ticked box gets a darker green edge in light, for the same reason Switch's track does: the bright green is 1.9:1 on white. Skeleton doesn't pulse and Progress doesn't animate yet, because a contract can't hold an animation. Checkbox has no half-ticked state yet either.
  • Rost installs from rost.build. Every component that's in code is a registry item at https://rost.build/r/<id>.json. A component brings what it needs: Input brings IconButton, Tabs brings TabItem (its contract says it's a part of Tabs, and bin/add.mjs follows that rule now too), and every one brings rost, the tokens, the font and conform.ts. They land in src/rost/ and contracts/rost/, where bin/add.mjs puts them, so the apps' checks work the same. Rost's own installer, bin/rost.mjs, reads the registry: rost add button, rost add to update, rost list. It's not on npm yet. Each component page has an Install section, and Install has the rest. I tried it in empty apps: the files land, the types check and Input renders with its font and icon.
  • Rost is ready for npm, not on it yet. The package ships the rost CLI, rost-audit, the tokens, the contracts and the components without their fixtures: 184 files, 159 kB. It needs nothing at run time, so npx rost add doesn't install React or anything else. I tried it from the packed file in an empty folder: add, list and the audit all work. It waits on a licence.
  • Rost is MIT-0. Anyone can copy, change and sell what they build with it, without keeping my name in the files. It covers the code, tokens, contracts, icons and illustrations, not the Rost name and logo, and not General Sans, which is Fontshare's.
  • Rost reads as markdown too. /llms.txt lists every doc and component with a line on what it is and where to install it from, and every component page and doc has a .md twin (/components/input.md, /docs/install.md), with its links made absolute. The component pages link to theirs. A part's docs (Tab Item, Table Item, Table Row) pointed at a page that doesn't exist; they point at the parent's page now.

2026-11-04

  • The pen.dev library looks like the Figma file, and pen.dev knows it's a library. It's design/rost.lib.pen now. pen.dev treats a file as a library by that ending, so it shows under Libraries and its components under Components in the apps' files. The first version was a stack of boards with the variants in rows of four, and the tokens were only in the Variables panel. Now the tokens have pages of their own: the palette, the semantic colours, each component's own colours, type, spacing, radius and outline, opacity, effects and motion, every swatch and tile bound to its variable. Under them come the Figma file's pages, badge to tooltip, each component drawn as a variant set: one property across, the others down, labelled, with Figma's purple outline. The code-only components come last. The variables point at each other the way Figma's do, so actions-borderless-default-icon is color-dark-primary-500 in dark and color-light-primary-800 in light. The portfolio site's and the accounting app's files import the new name; their instances didn't move, since the ids come from the variants' names.

  • The apps' design files use the library's components. A Rost component on a page is now an instance of the library's variant: about a hundred across the portfolio site's nine pages, 37 on the accounting app's four screens, and on rost.build every component's page. A variant is used when it has the same classes, the same parts (a part the page leaves out is switched off), the same size and the same look token for token, so a disabled field is the Disabled variant; the page's text and pictures go in as overrides. Anything else stays drawn. The library's variants have ids made from their names now, so rebuilding it doesn't break those instances. Paragraphs with a link or code in them read as one text that wraps.

  • The accounting app in pen.dev. Its own repo has design/accounting.pen now: setting up, locked, and the 2026 and 2025 dashboards, importing Rost's library. Its screens sit behind a passphrase, so the page script can take a running dev server and a module of steps instead of routes, and the app's steps make a throwaway vault with invented clients and figures through its own vault code. Nothing real is in the design. Two layout rules came with it: a grid that centres its items keeps them where they were, and a one-line text in a grid cell keeps its column. With that, all four are in pen.dev: Rost, the portfolio site, rost.build and the accounting app.

  • rost.build in pen.dev. npm run pen:site turns all 46 pages of rost.build into design/rost-build.pen, importing the library like the portfolio site's file does. It's about 30 MB, so it stays out of git; run the command to have it. Making it taught the page script a few things: --all for every page of a static site, images that point at the file in the repo the build copied them from, code blocks with their lines kept, previews the page scales drawn as pictures, and display: contents wrappers. Code's block sample keeps its line break in the library too.

  • The portfolio site in pen.dev. Its nine pages are a pen.dev file now, design/portfolio.pen in its own repo, drawn from the pages themselves and importing Rost's library, so every colour, space and type size the site takes from a token is $rost:<token> in the design too. bin/build-pen-pages.mjs builds it, and the portfolio site runs it as npm run design. The library got better on the way: Thumbs' gradient and frosted panel, List Item's and Textarea's minimum height, Navigation's spacing and inline Code come across now. What pages need that components don't (margins, grids, photos) is in Rost in pen.dev. The SVG pictures it draws as PNGs stay out of git; npm run design makes them.

  • Rost in pen.dev. design/rost.pen is a pen.dev library: all 1,115 tokens as variables, dark and light, and every variant of all 34 components, 265 in all, as reusable components. An app's own .pen file imports it and uses $rost:<token> and rost:<id>, the way a Figma file uses a library. I tested that end to end: an imported Button takes a new label and grows with it, and a change in the library shows up when the app's file is opened again. npm run pen builds it from the fixtures, the same ones the visual test renders, with every value still bound to its token, so it can't drift from the code. Checked against Chromium's render, 187 of the 265 match closely; the rest are mostly text, because pen.dev only draws Google fonts and General Sans isn't one. What else differs (sizes are numbers there, opacity is a percentage, no variant switcher) is in Rost in pen.dev.

  • rost.build is made of Rost. I checked whether every link, line of text and bit of code on the site was a Rost component. It wasn't: the nav, badges and cards were, but most of the words were plain HTML with the site's own sizes, 11px to 22px and none of them tokens. Now they're Rost's. Four new components made that possible, all review, drafted in code and now drawn in Figma too:

    • Text, the type ramp as one component: display, headline, sub-headline, lede, body, paragraph, label and eyebrow, in six tones. Page titles were already 64/72 and section titles 40/48; they use the tokens now.
    • Link, green and underlined in a sentence, or quiet where every word is a link. The green is non-interactive/foreground/positive/base, so in light it's the dark green, 6:1, where the site used the bright one at 1.9:1.
    • Code, inline or as a block on its own plate. Shiki still colours the words; Rost has no syntax colours.
    • Disclosure, for the "show the SVG" and "show the source" lines.
  • Text, Link, Code and Disclosure are in Figma. Each has its own page, laid out like the rest of the kit, with every fill, space and corner on its variable: Text's eight steps of the ramp, Link's two tones in four states, Code inline and as a block, Disclosure closed, hovered, focused and open. Two new text styles go with them, lede/regular and eyebrow/regular, and code/block for the block. All 22 variants match the code in the visual test, so it now checks 255.

    • Figma's screenshot limit was used up, so these baselines are Figma's own export, cropped to each variant and laid on the dark page, the method the Negative baselines above used.
    • Getting them to match taught me three things about the code. The visual test now loads JetBrains Mono, since Code and the eyebrow name it first; without it Chrome drew them in the system mono. Inline Code has line-height: 1, so a token path in a sentence no longer makes its line a pixel taller. And Disclosure's summary is a fit-content flex row instead of inline-flex, which sat on a line of text and took the room under the baseline, 25px where it should be 20.
    • Two things are Figma's way of saying what CSS does: the eyebrow has 1.2px on its right, because CSS puts letter-spacing after the last letter too, and Link's underline is 3px down in Figma, where Chrome draws the code's 0.2em on a whole pixel anyway.
  • Tables are Rost's Table. The props table, the variant tables and the token rows are Table, TableRow and TableItem now, and so is every table in the docs.

  • The icon pickers are ListItems. Picking an icon or an illustration wears ListItem's selected plate. I'd thought of ToggleGroup, but its own guidance says no to more options than fit on a line.

  • The markdown wears Rost too. Docs, guidance and notes come out of markdown as plain HTML; one function gives their links, code, headings, paragraphs and tables Rost's classes.

  • Fixed on the way: the drawn "No token, on purpose" section on Token coverage never showed (it looked for a heading that had grown an id); the logo link had no name on a phone; wide tables and previews that scroll can be reached with Tab; the contract doc's checkboxes say whether they're done; the token rows fit a 375px screen.

  • Quiet text and the error red pass on the grey card. I ran axe on every page of the site, not only the components, for the first time, and two tokens missed AA on non-interactive/background/secondary. Both are changed, in Figma's variables and here:

    • non-interactive/foreground/tertiary in light goes to a new step, color/light/neutral/650 (#6a6b69): 4.6:1 on the card, where #747573 was 3.96, and 5.2:1 on the page. Dark is unchanged. Components that alias it (Menu's and TableItem's sub-labels) follow; the ones that point at neutral/600 themselves stay as they were.
    • non-interactive/foreground/negative/base in dark goes from negative/500 to negative/600 (#f2705f): 6.2:1 on the card, where #e93120 was 4.2. Light is unchanged. Badge's Negative dot and InlineBanner's Negative glyph are a lighter red now, in Figma and in code. Input's error text has its own tokens and keeps #e93120.
    • Figma's screenshot limit was used up for the day, so the three new baselines are Figma's own export laid on the dark page, the way its screenshots are. A control variant exported the same way matched its old baseline to within 2 levels. Every variant still matches.
  • Code is readable on its plate in light. GitHub's light theme put greens and reds at 3.9:1 on the grey; the site uses GitHub's high-contrast light theme now, and Vesper's see-through comment grey is solid. What's left on the whole site is Input's disabled help text, which WCAG doesn't count, and Testimonials' faded quotes, as Figma has them.

  • In Figma: the labelled toggle example had its two off plates shifted 36px right inside a frame that clips, so only 40px of each showed. They fill their frames again.

  • Contracts say the colours the tokens give. The accessibility pass changed some colour tokens (Secondary's hover is #555555 now, not #747573) but 33 values in 8 contracts kept the old hex. Rost's own tests compare with Figma, so they didn't notice; the accounting app's contract test did. The values are right now, and npm run validate fails when a contract's colour and its token disagree.

  • Every link on rost.build lands. A full check of all 41 pages found links to TableRow, TableItem and TabItem pages that don't exist: those are parts, shown on Table's and Tabs' pages. Links to a part go to its heading on the whole's page now, and the old addresses redirect there. Table's example rows link to a real heading instead of a date.

  • Long values don't crush their names. On a component page a value as long as Switch's calc() for the thumb squeezed its property name down to one letter a line. The name keeps its width now, up to half the card, and the value wraps beside it.

  • The Figma screenshots are fresh. I recaptured 200 of the 232 from Figma before its daily limit stopped me; the other 32 (TableRow onwards) keep their copies from before. Most came back identical, a handful moved by a few antialiased pixels, and Navigation and Thumbs changed more, but every variant of every component still matches Figma in the visual test. Two I kept as they were: TabItem's component set is at 30% opacity in Figma, which fades its screenshots but not its instances, and Table came back at the wrong size, 1024 by 687 for a 360 by 187 component.

2026-10-31

  • Illustrations follow the theme. Every drawing is made of three colours, and each is a token now: illustration/shade, illustration/form and illustration/accent, in Figma and in code. Dark keeps Figma's own values, so nothing moves there. For light I matched how far each sits from the page: shade is light/neutral/250 (1.26:1 off the white page, as it's 1.27 off the black), form light/neutral/400, and the green one step deeper, light/primary/700, where the bright one read as a sticker. The drawings are inline SVG now, made by node bin/build-illustrations.mjs, so their shapes can take the tokens. The Icons page shows that markup for plain HTML.
  • Badge's dots and InlineBanner's glyphs are masks in the status colours (non-interactive/foreground/<status>/base) instead of pictures with their colour inside, so they follow the theme and the contrast check measures them. Dark is unchanged. In Figma the dots now use the same foreground tokens; they were on the background ones, the same colours in dark and a step lighter in light.
  • Toggle's page shows what it has. It had empty Secondary, Tertiary and Project columns, copied from IconButton, but Toggle has no type, just on and off. It's one column now, with an example of a labelled toggle next to it: body/medium, 16/22, tabular figures, the plate 20px each side of the words. Toggle's contract says the same.
  • Borderless is square on purpose. Its hover and pressed fill has no radius, in Figma and in code, and that's the look.
  • The drafts are in. Table, TableRow, TableItem, Switch, SwitchField, Textarea and ToggleGroup are review now with agreed guidance, and Chip's selected look and Menu's Current state aren't proposals any more. Chip's text no longer says the selected chip has no edge; it has the ring.
  • Thumbs' shade starts from transparent, not a dark-only colour, so the last value that only made sense on a dark page is gone.
  • The checks got better. bin/a11y.mjs reads a control's own focus ring when it has one, so the thin round ring on a Tertiary IconButton no longer fails on antialiased pixels. The token build stopped comparing against the per-component reads from 2026-10-19; instead I read every one of Figma's 1105 variables back out and compared them with registry/figma-variables.json: identical. Recapturing the Figma screenshots is still waiting on Figma's daily limit; the 38 I could take were byte for byte the same.
  • rost.build always opens dark. The light/dark switch used to remember a light pick for good, so the site kept opening light. It now holds only for the visit: move between pages and it stays light, come back later and it's dark again.
  • Every interactive component has its own tokens. 431 new colour variables, in Figma and in code, one family per component: button/primary/hover/background, chip/selected/default/edge, switch/off/default/thumb, list-item/selected/pressed/sub-label. The name is always <component>/<variant>/<state>/<part>. Each points at the semantic token the component used before, so nothing looks different: every variant still matches Figma, without a single new baseline, and contrast and accessibility are as clean as they were. What changes is what a fix touches. A component reads only its own family now, so making Tag's pressed label darker is one alias on tag/pressed/label, and Button, Chip and Switch stay as they are. Static components (Badge, Divider, InlineBanner, Tooltip) keep the semantic tokens. Input keeps input/, which was already its own; Textarea has textarea/, pointing at Input's; TabItem has tab-item/, over tabs/. In Figma every fill and stroke of those 17 sets is bound to its component's variable. Token coverage explains the three layers.
  • Tooltip uses surface colours, not a button's. It was on actions/secondary/regular/*. Now it's non-interactive/background/tertiary and non-interactive/foreground/secondary: the same in dark, a shade lighter grey in light.
  • Switch has no label now, and SwitchField is new. A label can go on either side of a switch, so it isn't Switch's any more. Switch is the track alone and needs an aria-label. SwitchField is a pattern: a Switch with a <label> beside it, side="right" or side="left", so the words name the switch and a click on them flips it. In Figma it's a set of four (label right or left, enabled or disabled) holding a real Switch instance you can set on or off.
  • Every component I drew has a page of its own in Figma, laid out like the rest of the kit. Table, TableRow and TableItem share a table page; Switch and SwitchField a switch page; Textarea and ToggleGroup have one each. Each sits on a grid of cells with a hairline between them, the state labels run down the left side turned on their side, and the variant labels sit along the top, the way ListItem and Button are laid out. They were next to ListItem, Toggle and Input before, without the grid. All variants still match.
  • Switch's edge is its own layer in Figma, above the fill. A frame's stroke draws under its children, so the on track's green covered the edge when pressed.
  • Every component passes WCAG 2.1 AA, in both themes. Yesterday's review found 23 failures in dark and 20 in light. Now there are none: all 427 pieces of text and icons pass, every control shows focus, and every field, switch and selected thing stands out from the page at 3:1. It took 21 token values, changed in Figma's variables and here at once, and four components redrawn in Figma and code. Accessibility has the table.
    • What you'll see: field edges you can actually see (#747573 in both themes), the error red brighter in dark, dark icons and descriptions on pressed and selected greens, Tag's hover and pressed fills darker, Thumbs' details darker in light.
    • Switch has its edge on the track now, at full strength, instead of inside the faded fill.
    • Chip and Toggle, selected or on, have a 1px ring in the positive green. It's the plate's own colour in dark, and dark green in light.
    • TableItem takes the label's colour for its description on a highlighted row, and a selected row's first cell has a 2px green bar.
    • bin/a11y.mjs also measures what marks the current or selected item now, takes the best side of a control's edge, and lets an off toggle be named by its glyph.

2026-10-30

  • An accessibility review, in both themes. node bin/a11y.mjs is new: axe-core's WCAG 2.1 A and AA rules on every fixture, a Tab to every control to check focus shows at 3:1, and the edges of fields, switches and toggles against the page. With bin/contrast.mjs that covers what a component can get wrong on its own. axe finds nothing, and every control shows focus. What fails is token values: field edges and the off Switch and Toggle track in both themes, the error red and a few pressed and hover states in dark, TableItem's description on a hovered or selected row, Thumbs' details in light. Accessibility lists each one with its numbers. I haven't changed the tokens yet. Input and Textarea have a fixture with no selected now, so the check can tab to one that follows focus; the visual test skips it.

  • Guidance cards say what they're about. Every "When to use" and "When not to use" card said "Use it" or "Not for", over and over. Now each one has its own title, like "The main action" or "Picking an option", and a picture. In the contract each line is { title, text, show }: show names one of the component's fixtures to draw. A "not for" line that points at another component in bold shows that one instead, with a link to it. Without either, the card shows the component's own preview. All 114 lines in the 34 contracts have titles now. Button got a fixture with an icon for its icon cards; Figma's Button has the icon off, so the test skips it. Table's cards are wider, because a table needs about 360px to read. Two lines were out of date and changed: Toggle points at Switch now, and the floating effect no longer says the kit is dark.

  • Code reads in light. Every code block on rost.build was coloured with a dark theme (vesper), baked in, so on the light page it was pale orange and mint on white. They carry a light theme now too (github-light) and switch with the page. On the home page the Figma and code buttons in "Checked against Figma" sit on a dark tile in both themes, because Figma's shot is the dark baseline the test compares against.

  • Thumbs reads in light. Its frosted panel was base/black at 48%, a colour that doesn't change with the theme, so in light it was a grey slab with dark text on it (about 1.1:1). It's the page colour now, non-interactive/background/primary at 48%: near-black in dark, near-white in light. The lock on a Locked thumb was non-interactive/foreground/contrast, which turns white in light on a green that doesn't; it's actions/primary/default/label now, dark in both. Both changes are in Figma too, the baselines are new, and all six states match. In dark it moved from black to #060805, which you can't see. The grey details still come out at 4.3:1 in light, just under 4.5.

  • Dark is the default, whatever your system says. Light comes only from data-theme="light". Until a few hours ago a system set to light got the light theme too; I took that out, so tokens.css has no prefers-color-scheme rule now. rost.build is dark until you use the switch. Apps can update without setting data-theme at all.

  • Table, TableRow and TableItem. The accounting app's payment rows, which I called ListRow, are really a table: a date, what it's for and an amount, read across. So Rost has one now. Table is a real <table> with an optional caption and no box. TableRow draws a hairline under itself and can be a link (href) or something you pick (onSelect); a <tr> can't be either, so the row's header cell holds the link or button and stretches it over the whole row. TableItem is the cell, with leading and trailing slots for a Badge or an icon, a description line, and numeric for amounts, which sit on the right and never break. Only existing tokens. They started in code, and I drew them in Figma after, next to ListItem on the list page, from the same variables, text styles and Badge. TableItem has leading and trailing slots, TableRow an items slot for its cells, and Table a rows slot, the way Tabs holds its tab items. All 15 Figma variants match the code in the visual test. To get there the test no longer rounds a table's rows and cells to whole pixels: a row owns half of each hairline between rows, so it's 52.5px, and rounding it up grew the table. All three are drafts with proposed guidance, and the accounting app doesn't use them yet.

  • Four things drafted in code, then drawn in Figma. Each is built from tokens Rost already has, and each is still a proposal: the new contracts are drafts with proposed guidance, and the new parts of Chip and Menu say so in their notes. After the code, I drew them in the UI kit too, bound to the kit's variables, and every new variant matches its Figma frame. Chip's and Menu's old states match as before.

    • In Figma: the selected chips are a second column in the Chip set (a new selected property), Current is a sixth row in the Menu set, Switch sits next to Toggle, and Textarea next to Input. ToggleGroup is drawn under Toggle as a component with a toggles slot, the way Tabs holds its tab-items. Figma's Toggle has no label, so its group shows three icon toggles, and that's what the test compares. Their contracts point at Figma now, and registry/component-sets.json lists them.
    • Chip has a selected look. selected gives the chip that's on a solid green plate with a dark label and no edge: a selected ListItem's look, with the same interactive/active tokens. It sets aria-pressed for you. Leave it out on a chip that only does something, and there's no aria-pressed at all.
    • Switch. A new component for a setting that's on or off and works straight away. A <button role="switch"> with aria-checked: a 40 by 24 track, a 16px thumb that moves across, and the label beside it as its name. Off is faded like an off Toggle, on is primary green. Space and Enter flip it, the focus ring goes round the track, and disabled fades it all. The thumb jumps for now; once there are motion tokens it should slide.
    • Textarea. Input grown down, with Input's tokens for the fill, the edge, the label, the help line, the error and the focus ring. One difference: the label always sits small at the top, because in a box three lines tall it would float alone in the middle. Input's guidance points to it now.
    • Menu marks the page you're on. aria-current="page" gives it a sixth state, Current: the description bright and medium, as when you press it, and the divider as bright as the text. Button's nav does the same with its pressed look. Menu keeps the resting size, though, since its Pressed grows the description and the current row would come out taller than the others.
  • A light theme. Every colour token has a light value now, under the same name. tokens.css keeps dark on :root and adds light under [data-theme="light"], or under the system's light setting when nothing sets a theme. [data-theme="dark"] brings dark back inside a light page. The values start from Figma's own light mode. Where that failed contrast, mostly the bright green used as text or an icon on white (1.9:1), registry/light.json picks a darker step of the same family. The bright green stays for fills. Components needed no changes, and every one still matches Figma in dark.

  • Apps: set data-theme="dark" before you update. Without it, a visitor whose system is light gets the light theme, and neither app has been looked at in light yet.

  • A contrast check that measures what's drawn. node bin/contrast.mjs renders every fixture in both themes, forces hover, pressed and focus, and measures every piece of text and every icon against the pixels behind it. Nothing fails in light that passes in dark, except Thumbs: its frosted panel is base/black, so it stays dark while its text goes dark. That needs a contract change, and Token coverage lists it with the other things still wrong.

  • rost.build has a light and dark switch in the header. It remembers your pick, and follows your system until you make one. The token page's swatches show the theme you're in, with both values under each.

  • Illustrations stay as they are. They're drawn for a dark ground. In light their dark greys turn into heavy blots. They need light versions drawn, not recoloured in code.

  • Both are in Figma. The UI Kit's light mode has Rost's 89 corrected values now, as aliases to the same primitives, and Dark is still the default mode. The ten motion values are Figma variables too: durations as numbers in milliseconds, easings as strings. I read every variable back out afterwards and the tokens came out identical, so registry/figma-variables.json is that new read. In Figma, Borderless's hover and pressed fill turns out to be a square with no radius, which only shows in light.

  • Motion tokens. Four durations (motion/duration/fast, base, slow, slower: 150, 200, 450 and 600ms) and six easings, from what the portfolio site and rost.build already used. rost.build's transitions use them, and the Projects and Testimonials contracts name them for the row slide. The token page draws each one: hover a row and a dot crosses with that timing.

  • Icon and Illustration are components now. The 18 icons and 24 illustrations were files in assets/ and nothing more. Each is a Rost component with a contract: <Icon name="arrow-right" /> draws the glyph as a mask in the text colour, at 24px or the 20px and 16px slots Button and IconButton use, and <Illustration name="timezones" /> draws a 72px drawing in its own colours. Both are hidden from screen readers unless you give them a label. Every one matches its Figma frame pixel for pixel. circle-outline has no frame in Figma's set yet.

  • The Icons page shows how to use each one. Pick an icon or a drawing and the page shows it large, the React line, the HTML and CSS without React, the SVG itself, and links to its Figma frame and file.

  • Less grey on rost.build. Tables sit on the page now: no box, no outline, no grey fill, labels in the text colour, only a hairline between rows. Cards and icon tiles lost their outlines too.

  • Guidance is drawn, not listed. On a component page "When to use" and "When not to use" are cards, and when a "not for" points at another component (**IconButton**), that component shows live in the card with a link to it. Accessibility is a card per concern. The words are the contract's own.

  • Projects' names line up whatever the number. In General Sans a "1" is narrower than a "0", and the font has no tabular figures, so a row numbered "01" started its name about 3px left of the rest. The number is at least 2ch wide now, the width of Figma's "00" in its own font, so every name starts in the same place. All six Figma states still match.

  • Component pages are easier to read. On rost.build:

    • A Contract tab sits next to Preview and Code, with the whole YAML the page is built from.
    • Where it's used is a card per app: whether it runs Rost's own copy or its own version, the file and class, and that app's deviations in the card. What's left under the old heading is what Rost does differently from Figma everywhere, so it's called that now.
    • Never changes is a card per part. Values with a token are rows; plain layout (display, position, flex) folds into one quiet line under them.
    • Changes by variant is spec tables now, not a list of properties to open one by one. For each property the page works out what the value actually follows (state, type, size), and draws one table per group with a column per state. A token path every cell shares is written once, under the property, and Primary's box-shadow shows only the outline token that changes. Values that never change and are only set in some variants are listed by where they're set: "Focus", "All but Borderless".
  • The token page draws its tokens. Colours are swatches, spaces and sizes are bars, smallest first, and radii, outlines, opacity, type sizes and weights, blurs and the shadow each get a picture. A row of links at the top jumps to each group.

  • One heading style, one caption format. Every h2 on rost.build is the section title, 40/48 (typography/sub-headline), on the home page, the component pages and the docs alike; the guidance headings and the docs had their own. Preview captions read the same everywhere: each value with a capital, joined by " · ", "Not selected" for an off boolean, and "Default" for a component with one fixture.

  • The apps aren't named anywhere public. The docs, the contracts, the site and the code call them the accounting app and the portfolio site, with accounting-app and portfolio-site as their keys. The token alias file has a neutral name too, tokens/portfolio-aliases.json.

  • The Paper effect shows itself. It's been in code all along (src/effects/paper.ts), but with no preview the site said "Not in code yet". Its card and page draw the sheet live now; move the pointer over it.

  • The roadmap's Next table is current. Hero Media is in the portfolio site already, so that row is gone, and ListRow is checked: ListItem doesn't cover the accounting app's rows, so it needs designing.

  • ToggleGroup. A row of Toggles where one is chosen, like the accounting app's year switcher. Tab lands on the chosen toggle and the next Tab leaves, arrow keys move the choice and skip disabled ones, and Home and End go to the first and last. Toggle's guidance promised this and nothing did it; now Rost does, and the accounting app's year switcher uses it, so its own group and the deviation that went with it are gone. It started in code, so it's a draft with proposed guidance until there's a Figma frame.

  • Button's default type is Primary, as the code always had it. Figma's set lists Borderless first, and the contract had copied that.

  • Contracts say what the code does. From the review of every component:

    • Tooltip's 20px height is spacing/size/xsmall now, not "no token". It still matches Figma.
    • IconButton and Toggle list their icon slot.
    • Button and IconButton note that React calls type variant; Projects and Thumbs note showKind.
    • Button's guidance says the whole button fades when disabled, label and all.
    • IconButton's guidance says why Project is 32px when the others keep a 40px floor.
    • Thumbs' focus ring is 4px out, as drawn. The Thumb effect lists Navigation, which uses it, and the Lock frame effect no longer says spacing/base-8 is missing.
  • The accounting app is on current Rost. Every copy is up to date (the disabled-hover fix and variants as layers came with them), its tokens are Rost's whole file (its old copy had spacing/base-8 at 8px, not 16), and its contract test checks every whole variant, 289 tests in all. Its text fields are Rost's Input now, so the label, the value, the help line and the focus ring match the contract, and the help line is tied to the field for screen readers. A mismatched passphrase marks the Confirm field, not the first one.

  • The accounting app's signed-in screens, checked on a phone. I walked setup, the dashboard and the past years with a throwaway vault and invented statements. Four things widened or broke the page on a phone, and they're fixed: the setup questions used whole sentences as field labels (each question is text above its field now, with a short label in it), a sentence-long InlineBanner ran off the screen (it wraps now, recorded as a deviation), an amount broke its minus sign onto its own line, and a badge sat over its date. The setup steps' numbers fit their circles too.

  • Input says how much room its help line needs. It hangs below the 56px field, so a layout leaves 16px under a field that has one. The accounting app's lock screen ran the line into the next field before.

2026-10-29

  • How a contract works is drawn, not only written. On rost.build the page opens with Rost's numbers as they are today (contracts, components, tokens, variants matching Figma, apps), counted from the contracts at build time. What a contract gives an agent reads as cards, the way from Figma to code as a diagram, and the statuses as a track with how many contracts sit at each. The words are still only in docs/CONTRACT.md, which reads the same as before on GitHub.
  • The docs say why, once. How a contract works opens with why Rost uses contracts and not just tokens, which used to sit in the README, and what a contract gives an agent that builds UI: named tokens, when not to use a component, the accessibility to follow, and a check it can run. The README is shorter and only points the way. Stale bits went: old counts, the accounting app's old file paths in the example, and a note that the accounting app didn't run the check.

2026-10-27

In the evening

  • Carousel can be a button, and the card that's showing wears Pressed. aria-current="step" gets the Pressed look, the way aria-current="page" does for Button, and as="button" is for a card that switches something on the page instead of going somewhere. The root drops the browser's own button look. Figma's five variants still match.
  • The portfolio site follows Rost. Rost is the source of truth, so where the site differed, the site changed:
    • Projects and Thumbs keep Rost's type at every width (40/48 and 24/32). They used to shrink on a phone; now a long name wraps.
    • The nav is Rost's Button (Tertiary, Secondary) and Tooltip, like rost.build's header. Under 420px it drops Book an intro, which every page has in its body.
    • The case-study steps are Rost's Carousel; the hand-built CarouselCard is gone. Their descriptions are typography/paragraph now.
    • A client case study's disclaimer is Rost's InlineBanner (Warning, Medium), with Rost's warning glyph.
    • The app's tokens are Rost's tokens.css, whole. Its old partial copy had 308 of 670 tokens and the wrong spacing/base-8. One rule read a token that didn't exist (--gap-7xlarge); it reads --spacing-gap-7xlarge now.
    • 59 raw rgba() colours are Rost colour tokens at Rost opacity tokens. 25 of them weren't on the opacity scale and moved to the nearest step, most by 0.04 or less.
    • The app's copies are all on current Rost, and its contract test checks every whole variant (116), not the raw layers.
    • What's left different is recorded on Projects, Thumbs, Button and InlineBanner, and Carousel and Tooltip list the portfolio site as an app that uses them.

Later the same day

  • Chip matches Figma in every state. Pressed was the one variant of 149 over the visual test's line (2.62% against 2.5%). The contract was right; Chrome draws a 1px border on a fully round box over two pixels at each end, where Figma draws one, and Pressed is the state where the outline is solid. Chip draws its edge as an inset shadow now, like Button and Toggle. Pressed is at 0.68%. The portfolio site has its own copy of Chip and gets this with npm run add.
  • TestimonialPicture has guidance. It's proposed, not agreed: when to use it (a Testimonials row), when not (an avatar anywhere else, a logo), and how to write its alt. It was the only contract with none.
  • The tables under "Changes by variant" line up. Every group on a component page uses the same columns, so values and tokens sit in one line from group to group. A long variant name or value wraps instead of pushing the token off the side, and on a phone each row stacks.

Fixed

  • ListItem. A selected item's label is paragraph medium (500) now, as Figma draws it, in every state. It was regular (400).
  • Input. While the label sits large in an empty field, its weight uses the paragraph token, the way Figma does. It's 400 either way, so nothing looks different.
  • Disabled items ignore hover and press. A disabled button no longer takes the hover fill. The hover and pressed rules skip a disabled item (:where(:not(…))), and src/conform.ts accepts that form.
  • bin/parse.mjs read every off variant as on. It kept selected=False from the variant name as the text "False", which is truthy, so !selected was never true. Toggle, Input, Testimonials, ListItem and Navigation all have an axis like that. Their contracts had been put right by hand. The next read of Figma would have brought the mistake back.

New

  • Variants as layers. A when can leave axes out: when: { selected: false } says once what every off variant shares, and the most specific entry wins. Toggle, Button, Badge, IconButton, InlineBanner, Testimonials, Input and ListItem use layers. Their CSS didn't change. How it's read.
  • Every component read from Figma again, node by node. All 148 variants, compared value by value with their contracts. ListItem and Input above are what it found. ListItem, Navigation, Tabs, TabItem and Tooltip had never been read this way before.
  • Release notes. This page. I add to it every time I merge and deploy.

On rost.build

  • Component pages: spaces in "Where it's used" and the deviations, markdown inside deviations, no sideways scroll on a phone, token colours back.
  • TestimonialPicture and Hero Media show a filled preview. The visual test still compares Figma's empty frames.
  • Doc headings have ids, so a link to #a-heading lands on it, below the sticky header.
  • Hidden previews and code cards are out of the tab order.

For apps

  • The portfolio site's Testimonials slide smoothly again. The rows lost their motion on 2026-10-26, when the site moved to Rost's Testimonials, which has none. The 16px slide on hover, press and opening is eased over 0.2s now, the same as the Work list's projects. Motion isn't in the contract yet, so it's the site's own, recorded as a deviation.
  • The accounting app's contract test passes (52). If it takes ListItem or Input with npm run add, it gets the label fixes.
  • Not done yet: the Figma reader still mixes up two unnamed text lines in one part (Testimonials' title and the job under it) and misreads a few conditions in Tags, IconButton and Thumbs. I checked those against each node by hand this time.