Most design work begins with a screen. It is the fastest way to show an idea, and the easiest way to hide a problem. A screen can look finished while every decision in it is a one-off: this grey, that size, a corner radius chosen because it felt right on Tuesday.
Call it the Tuesday radius. It is a value with no history and no name. Nobody can say why it is six pixels and not eight. Nobody can say where else it should appear. It looks correct because the screen around it looks correct, and the screen looks correct because a skilled person arranged it by eye.
One screen hides this well. The first screen is usually the best screen in a project, because it receives the most attention. The cost appears later. By the tenth screen, there are four greys that were meant to be one. There are two body sizes a pixel apart. There is a button with a radius that matches nothing. Each choice was reasonable in its moment. Together they form a product that feels slightly unsure of itself, and nobody can point to the reason.
The repair is expensive because the decisions were never recorded. To fix the greys, someone must first find them. To find them, someone must open every file and compare values by hand. The work that was skipped at the start returns at the end, larger and less pleasant.
Cosmora Intelligence approaches this differently. Design Lab starts earlier. Before any page exists, the lab writes the system the pages will be made from.
The system is written as tokens: named values for color, type, space, motion and language. Components are built from tokens. Pages are composed from components. The order runs one way. A page does not invent a value. It asks the system for one.
This practice is for a specific reader. It is for the person who extends the work and was not in the room when it was designed. That person might be an engineer adding a settings page six months after launch. It might be a designer who joins the team next year. It might be the original designer, returning to the project after long enough to have forgotten the reasons. A system answers their questions without a meeting. A folder of screens leaves them guessing.
Design Lab writes five things, in this order. Color, as a short list of values with computed contrast. Type, as a few faces with a written scale. Space, as a grid and a gutter. Motion, as durations and easings with names. Language, as rules for how the product speaks.
Color comes first. The lab writes a short list of values and names each one by its role: field, ink, muted ink, hairline, accent. Every pairing that will carry text is checked by computing its contrast ratio, and the result is written beside the pair. A muted grey that fails against the background is caught here, as a number, before it appears on any page. Choosing color by role also makes a dark theme a second column in the same table instead of a second design.
Type comes second, because type depends on color for its contrast. The lab chooses a few faces and writes a scale: a base size, a ratio, and the named steps the ratio produces. A heading is a step on the scale with a weight and a line height. When someone asks for a size between two steps, the answer is usually that one of the steps is wrong, and the scale is adjusted in one place.
Space comes third. The lab defines a grid, a gutter and a base unit, and every margin and padding is a multiple of that unit. Space is written after type because the base unit often follows from the body line height. When the two agree, text and boxes sit on the same rhythm, and the page reads as ordered without anyone deciding each gap.
Motion comes fourth. The lab names a small set of durations, such as short, medium and long, and a small set of easings for entering, leaving and moving. A panel that opens uses the medium duration and the entering curve. Nobody chooses 280 milliseconds by feel. Motion is written after space because most motion is a change in position or size, and those values already exist.
Language comes last, and it is part of the system. The lab writes how the product speaks: the words for common actions, how errors are phrased, whether labels use sentence case, how numbers and dates are written. A button that says Save on one page and Submit on another is the same failure as two greys. It only shows up in a different column.
The order matters because each ingredient depends on the ones before it. Type contrast depends on color. Space follows from type. Motion moves things through space. Language sits inside all of them and is constrained by the type scale and the space available. Writing them out of order means revising earlier work to fit later decisions.
Each list is small on purpose. Cosmora's own system has two fields, three typefaces and one hairline weight. The short list does not limit the work. It is the reason the work can be extended by someone who was not in the room.
A short list is extensible because a newcomer can hold it in mind. With two fields, the question of which background to use has two answers, and the context usually picks one. With three faces, every piece of text belongs to one of three roles. With one hairline, every divider in the product is the same divider. Extension becomes a matter of choosing, and choosing from a short list is fast and hard to get wrong.
A large system fails in a quieter way. Suppose a system has, say, forty greys and eleven shadow levels. It looks thorough. In practice, nobody can tell grey 31 from grey 33, so people choose whichever is nearest in the file they have open. The system now records the inconsistency instead of preventing it. Its size also makes every future change risky, because nobody is sure which values are still in use.
The lab therefore treats each new token as a cost. A value enters the system when at least two places need it and no existing value will serve. Otherwise the existing value serves.
A token is a decision with a name. It pairs a value with a role: the color of muted text, the duration of a panel opening, the gap between a label and its field. The name describes the role. The value can change while the name stays.
When the decision lives in one place, changing it is a one-line edit and a review. Consider the muted grey. If it is a token, raising its contrast means editing one line, checking the computed ratio and reviewing the change. Every page that uses muted text inherits the correction. If the grey lives in screens, the same change means a hunt through two hundred files, a judgment call on each match and a strong chance of missing a few. When a decision lives in a screen, it lives nowhere.
Names also carry intent. A value called grey-500 says what it looks like. A value called ink-muted says what it is for. The second name tells the next person when to use it and when not to, which is most of what they need.
Writing the system first changes three things about the work that follows.
- Consistency becomes the default. A component built from tokens cannot drift from its neighbors, because they draw on the same values. Reviews stop catching mismatched greys and spend their time on structure and content.
- Later pages cost less. Most decisions on a new page are already made. The designer composes existing components and spends attention on what is new about the page, which is usually its content and its flow.
- Accessibility is checked once, at the source, and inherited everywhere. Contrast is computed for each pairing in the color list. Type sizes meet a minimum on the scale. Motion durations respect a reduced-motion setting in one place. A page built from the system starts compliant.
None of these is a promise that the work will be easy. Each one moves effort to the start of the project, where it is cheaper, and away from the end, where it compounds.
Screens are still how the lab thinks out loud. They arrive in the third stage, after the system is specified, and they are built from it. Design Lab works in five stages: listen, specify, compose, prove, ship. Listening establishes what the product must do and for whom. Specifying writes the system. Composing is where pages appear. Proving tests the pages and the system against real content and real constraints. Shipping hands both over in code.
During composition, a page that needs a value the system does not have is a signal. Either the page is wrong or the system is incomplete. Both are worth knowing early.
The lab tells the two apart with a few questions. Does more than one page need this value, or only this one? If only this one, the page is usually asking for an exception it does not need, and an existing value will do. Can the need be described as a role, such as a warning surface or a dense table row? If it can, the system probably lacks that role and should gain it. Would the new value be distinguishable from an existing one at a glance? If not, the existing value is the answer.
Either outcome improves the product. When the page is wrong, the system has prevented a one-off. When the system is incomplete, the page has found the gap while it is still cheap to fill, and the addition is written once for every page that follows.
A screen drawn without a system is a sketch.
The sketch has its place. Early in a project, a rough screen is a good way to test whether an idea holds together, to show a direction in a conversation, or to find out what content a page actually needs. Sketches are fast and disposable, and their speed comes from skipping decisions.
That is exactly why a sketch is not what you hand over. Its values were chosen for one frame. If it is handed over as a specification, the next person must reverse-engineer it, measuring pixels and guessing which differences were intended. The decisions the sketch skipped become someone else's work, made without the context that produced the sketch.
The lab keeps sketches and uses them freely. It labels them as sketches and does not deliver them.
A client receives three things, in this order of importance.
- A working system in code: tokens, components and the rules that connect them, in the same repository as the product.
- Documentation written for the next person: what each token is for, when to add one, and how to tell a missing value from a mistaken page.
- The pages, built from the system.
The pages are listed last because they age first. Content changes, features are added and removed, and a page that was right at launch is wrong a year later. A system that was specified does not age the same way. Its values are named by role, its scale is written down and its rules are documented, so it can absorb new pages without losing coherence. The pages will age. The system is what lets the next page be good.
A system that was never specified ages like the pages, because it is only the pages. Its decisions are scattered and its reasons are lost. The difference between the two is decided in the first weeks of a project.
This practice does not require a new tool or a large project. It requires a change in what you do first. On Monday, before you open a frame, write the five lists.
- Color: a handful of values named by role, with the contrast ratio of each text pairing written beside it.
- Type: your faces, a base size, a ratio and the named steps.
- Space: a base unit, a grid and a gutter.
- Motion: three durations and three easings, each with a name.
- Language: the words for your five most common actions and one rule for error messages.
Keep each list short enough to fit on one page. Then build one component from the lists, and one screen from the component. When the screen asks for something the lists do not have, stop and decide whether the screen or the lists should change. Write the answer down. That record is the beginning of a system, and every screen after it will be easier to make.