Kayhan Atamyildiz The page ground and all body copy.
Tailwind's rose, adopted whole. The accent.
A custom ramp — not Tailwind. The case-study chrome.
One step, not a scale. The muted panel ground.
Tailwind v4 slate. Borders, muted copy, disabled states.
Tailwind's sky ramp under the name blue. Held in reserve.
Orange. Chosen, never given a job. Held in reserve.
Only meaningful over imagery.
Only meaningful over imagery.
| Token | Chain | Value | Origin | Role |
|---|---|---|---|---|
| --surface-primary | --white | #fcfcfc | inherited | the page ground |
| --surface-secondary | --black | #09090b | inherited | — |
| --surface-tertiary | --gray-500 | #62748E | inherited | — |
| --surface-inverse | --black | #09090b | inherited | — |
| --surface-muted | --sage-50 | #f0f7f0 | inherited | was --surface-green, a raw hex declared in this file · .cs-tradeoff, .cs-reflect, and the editorial page ground |
| --surface-brand | --teal-200 | #a0fadd | brand | the tinted panel ground of the case-study layer · .cs-meta-rail, .cs-glance |
| --text-primary | --black | #09090b | inherited | all body copy |
| --text-secondary | --white | #fcfcfc | inherited | text on a dark or accent-filled ground · the pill CTA label |
| --text-tertiary | --gray-800 | #1D293D | inherited | — |
| --text-inverse | --gray-300 | #CAD5E2 | inherited | repointed from the dead --cool-gray-300 in 9802307 · became unreachable when .design-system was retired |
| --text-strong | --gray-900 | #0F172B | brand | near-black section labels, a step lighter than body copy · .cs-kicker |
| --text-muted | --gray-600 | #45556C | brand | .cs-piece metadata |
| --text-disabled | --gray-500 | #62748E | brand | the non-interactive nav item |
| --accent | --rose-700 | #be123c | brand | — |
| --accent-subtle | --rose-300 | #fda4af | brand | a placeholder marker has to be legible to work as a warning. --rose-300 on --surface-brand measured 1.55:1, so .cs-stat .n was repointed to --accent (5.15:1) in 2026-09 and this went to reserve |
| --accent-strong | --rose-800 | #9f1239 | brand | the accent one step down, for hover · solid and ghost button hover |
| --brand-primary | --accent → --rose-700 | #be123c | brand | reconciled 2026-09. Was --rose-500, which made the focus ring the one place the "brand" colour appeared while --rose-700 carried every visible accent. Also raises the ring against --surface-primary from 3.58:1 to 6.13:1 · the global :focus-visible ring |
| --brand-mark | --teal-500 | #00d2aa | brand | the .cs-kicker dash |
| --text-brand | --teal-800 | #006759 | brand | .cs-eyebrow |
| --text-brand-emphasis | --teal-800 | #006759 | brand | emphasis inside a callout, on --surface-muted. Darkened from --teal-700 in 2026-09: the contrast table on /design-system caught it at 4.30:1, under AA for body copy. Now 6.25:1 · .cs-tradeoff <strong> |
| --text-on-brand | --teal-900 | #00554b | brand | meta-rail terms and definitions |
| --text-on-brand-strong | --teal-950 | #00302b | brand | glance and stat labels |
| --text-on-brand-muted | --teal-800 | #006759 | brand | de-emphasised copy on --surface-brand. Darkened from --teal-700 in 2026-09 (3.84:1, under AA). Now 5.58:1, still a visible step lighter than --text-on-brand. Same value as --text-brand-emphasis but a different role; they may diverge · meta-rail placeholders |
| --border | --gray-300 | #CAD5E2 | brand | .cs-piece at rest |
| --border-strong | --gray-500 | #62748E | brand | .cs-piece on hover |
| --border-dashed | --gray-400 | #90A1B9 | brand | the .cs-tradeoff border, and the dashed frames on /design-system |
| --border-rule | --gray-600 | #45556C | brand | the footer's top rule |
| Foreground | Background | Ratio | Grade | Where |
|---|---|---|---|---|
| --text-primary | --surface-primary | 19.39:1 | AAA | Body copy on the page |
| --text-strong | --surface-primary | 17.38:1 | AAA | Section kickers |
| --text-muted | --surface-primary | 7.39:1 | AAA | Card metadata |
| --text-disabled | --surface-primary | 4.64:1 | AA | The inactive nav item |
| --text-brand | --surface-primary | 6.64:1 | AA | The case-study eyebrow |
| --accent | --surface-primary | 6.13:1 | AA | Accent copy and the focus ring |
| --text-secondary | --accent | 6.13:1 | AA | Button label, at rest |
| --text-secondary | --accent-strong | 7.81:1 | AAA | Button label, on hover |
| --text-on-brand | --surface-brand | 7.17:1 | AAA | Meta-rail terms and definitions |
| --text-on-brand-strong | --surface-brand | 11.81:1 | AAA | Glance and stat labels |
| --text-on-brand-muted | --surface-brand | 5.58:1 | AA | Meta-rail placeholders |
| --text-primary | --surface-muted | 18.25:1 | AAA | Copy inside a callout |
| --text-brand-emphasis | --surface-muted | 6.25:1 | AA | Emphasis inside a callout |
| --accent | --surface-brand | 5.15:1 | AA | Placeholder markers on a panel |
Rows graded AA non-text clear 3:1 but not 4.5:1. That is the correct bar for a focus ring, a border or a large figure, and the wrong bar for body copy — check the "where" column before reusing a pairing.
Aa Gg Rr 24
Aa Gg Rr 24
Aa Gg Rr 24
Aa Gg Rr 24
All four faces are by Arillatype.Studio — At Haüss, At Textual and At King by Pedro Arilla, At Gambit by Andy Lethbridge. They are licensed to Kayhan Atamyildiz and are not redistributable: this site serves them, it does not offer them. If you like what they do here, buy them from the people who drew them.
32 → 48px. The pre-2026-09 --h4 curve, renamed for what it actually does. Used by the mobile overlay nav and the glance stats
Every size on this page travels with the viewport. Drag the window and the numbers above stay true, because they describe the token, not the moment.
Every size on this page travels with the viewport. Drag the window and the numbers above stay true, because they describe the token, not the moment.
Every size on this page travels with the viewport. Drag the window and the numbers above stay true, because they describe the token, not the moment.
| Token | Value | Status |
|---|---|---|
| --lh-xs | 1em | reserve |
| --lh-s | 1.1em | active |
| --lh-m | 1.2em | active |
| --lh-l | 1.4em | active |
| --lh-xl | 1.6em | reserve |
| Token | Sample | Status |
|---|---|---|
| --fw-100 | Hauss 100 | reserve |
| --fw-200 | Hauss 200 | reserve |
| --fw-300 | Hauss 300 | reserve |
| --fw-400 | Hauss 400 | active |
| --fw-500 | Hauss 500 | active |
| --fw-600 | Hauss 600 | active |
| --fw-700 | Hauss 700 | active |
| --fw-800 | Hauss 800 | active |
| --fw-900 | Hauss 900 | reserve |
The dark bar is the value at 390px, the light bar at
1920px. --space-72 and --space-64 land
on the same maximum and differ only below it — visible above, and worth
knowing before you reach for one.
| Token | Value | Status | Role |
|---|---|---|---|
| --size-0 | 0 | reserve | — |
| --size-1 | 0.0625rem | active | hairline · meta-rail gutters |
| --size-1half | 0.09375rem | reserve | — |
| --size-2 | 0.125rem | active | meta-rail and .cs-meta gutters |
| --size-4 | 0.25rem | active | the .next link's internal gap |
| --size-8 | 0.5rem | reserve | — |
| --size-12 | 0.75rem | active | added in 9802307 to resolve a gap in the ladder · .cs-piece metadata label |
| --size-14 | 0.875rem | active | .cs-piece link, footer copyright |
| --size-16 | 1rem | active | the fixed-position body span |
| --size-18 | 1.125rem | reserve | — |
| --size-20 | 1.25rem | active | the header logo/title gap |
| --size-24 | 1.5rem | active | header and nav gutters |
| --size-32 | 2rem | active | small button height, mobile overlay nav label |
| --size-40 | 2.5rem | active | medium button height |
| --size-48 | 3rem | active | large button height |
| --size-60 | 3.75rem | active | added in 9802307 to resolve a gap in the ladder · the pill CTA height, the compact header logo |
| --size-64 | 4rem | reserve | — |
| --size-72 | 4.5rem | active | the swatch chip on /design-system |
| --size-80 | 5rem | active | the header logo |
| --size-100 | 6.25rem | reserve | — |
| --size-120 | 7.5rem | reserve | — |
| --size-160 | 10rem | reserve | — |
| Token | Value | Drives |
|---|---|---|
| --duration-fast | 0.2s | .cs-piece border and lift |
| --duration-quick | 0.25s | the "view case study" arrow |
| --duration-base | 0.3s | the next-project link |
| --duration-slow | 0.6s | the project-card image scale |
| --duration-reveal | 0.7s | the scroll-reveal fade and rise |
| --ease | ease-out | the only easing curve in the system |
One easing curve, five durations. Every transition on the site now
sits behind a prefers-reduced-motion guard — the card
scale and the next-project lift were unguarded until 2026-09.
| Token | Value | Role |
|---|---|---|
| --z-content | 10 | lifts copy above a full-bleed figure · .metadata-container |
| --z-header | 30 | the mobile nav overlay, above everything · header.nav-open |
Two stacking contexts on the whole site. A third should be a conversation, not a commit.
<Button href={url} variant="solid" size="xl" pill external>
Read the case study
</Button>
Shape, colour and size are three independent decisions. Heights are
fixed --size-* on purpose — a control whose height
changes with the viewport is a tap target you cannot reason about. The
site's own CTA is xl + pill, 60px tall.
Live, from the CMS — this is “Donor Recognition, Told as History”. Hovering scales the
image 1.025 and lifts it on --shadow-card-hover, while the
arrow travels 6px. Both are suppressed under reduced motion.
Cut the component library from 240 pieces to 61, and shipped the first release in a quarter.
The hard part was never the components. It was agreeing what a component was.Post-mortem, 2025
The blocks above run on representative props so they render whether or
not the CMS is reachable. QuoteBlock is the one place a
serif earns its keep — the pull-quote is At Gambit.

18 rules, each with the reason behind it, then the facts they rest on: colour roles, the contrast table, the type ramp, the space and size ladders, and the 89 reserve tokens to leave alone. About 18 KB of Markdown.
All 184 tokens grouped by role, each with its value, alias chain, status, fluid range and note, plus the contrast table and the rule ids.
The compiled stylesheet, styles.css, with every comment stripped: the token names and values, and none of the reasoning.
A short note when I publish a new case study. No spam, unsubscribe anytime.
---
interface Props {
heading?: string;
body?: string;
buttonLabel?: string;
action?: string;
headingLevel?: 'h2' | 'h3' | 'h4';
id?: string;
}
const {
heading = 'Get new work in your inbox',
body = 'A short note when I publish a new case study. No spam, unsubscribe anytime.',
buttonLabel = 'Subscribe',
action = '/subscribe',
headingLevel: Heading = 'h2',
id = `signup-${Math.random().toString(36).slice(2, 8)}`,
} = Astro.props;
const headingId = `${id}-heading`;
const emailId = `${id}-email`;
---
<section class="signup-card" aria-labelledby={headingId}>
<Heading id={headingId} class="signup-card__title">{heading}</Heading>
<p class="signup-card__body">{body}</p>
<form class="signup-card__form" action={action} method="post">
<label class="signup-card__label" for={emailId}>Email address</label>
<div class="signup-card__row">
<input
class="signup-card__input"
id={emailId}
name="email"
type="email"
autocomplete="email"
inputmode="email"
placeholder="you@example.com"
required
/>
<button class="btn btn--solid btn--lg" type="submit">{buttonLabel}</button>
</div>
</form>
</section>
<style>
.signup-card {
width: 100%;
max-width: 36rem;
display: flex;
flex-direction: column;
gap: var(--space-12);
padding: var(--space-32);
background: var(--surface-primary);
border: 1px solid var(--border);
border-radius: var(--radius-8);
}
.signup-card__title {
font-size: var(--h6);
font-weight: var(--fw-700);
}
.signup-card__body {
color: var(--text-muted);
}
.signup-card__form {
display: flex;
flex-direction: column;
gap: var(--space-8);
margin-top: var(--space-12);
}
.signup-card__label {
font-size: var(--p-sm);
font-weight: var(--fw-600);
line-height: var(--lh-l);
}
.signup-card__row {
display: flex;
flex-wrap: wrap;
gap: var(--space-12);
}
.signup-card__input {
flex: 1 1 14rem;
min-width: 0;
height: var(--size-48);
padding: 0 var(--space-16);
font-size: var(--p-lg);
background: var(--surface-primary);
border: 1px solid var(--border-strong);
border-radius: var(--radius-8);
transition: border-color var(--duration-fast) var(--ease);
}
.signup-card__input::placeholder {
color: var(--text-disabled);
}
.signup-card__input:hover,
.signup-card__input:focus {
border-color: var(--text-strong);
}
.signup-card__row .btn {
flex: 0 0 auto;
}
@media (max-width: 767px) {
.signup-card__row .btn {
flex: 1 1 100%;
}
}
@media (prefers-reduced-motion: reduce) {
.signup-card__input {
transition: none;
}
}
</style> I've created SignupCard.astro in this folder and didn't touch styles/. I haven't built or rendered it, since there's no Astro project here to run it in. What's in it: a heading, one line of body copy, a visible "Email address" label tied to the email input, and a submit button. The form is a plain <form method="post"> pointing at /subscribe by default. It has no JavaScript, so you'll need to point action at your real signup endpoint. The heading, body copy, button text, action, heading level (default h2) and an id can all be changed through props. How it uses your existing styles: - Button: uses your existing button classes, btn btn--solid btn--lg, so it gets your accent colour, hover state and transitions without any new button styles. - Card: follows the pattern of .cs-piece: --border, --radius-8, --space-* padding, on --surface-primary. - Text: the heading is --h6 at weight 700, like .copy-container h3. The body copy uses your global p size in --text-muted. The label uses the .p-sm size. - Focus: keyboard focus uses your global :focus-visible outline. I didn't override it. Choices you might not expect: - No existing input style: your stylesheet has no styles for form fields, so the email input is styled in the component's scoped <style> block using your tokens. It's 48px tall to match btn--lg. - Darker input border: the input border uses --border-strong, not --border. --border (gray-300) is too faint against white for people to see where the field is (about 1.5:1 contrast, below the 3:1 minimum). --border-strong is about 4.6:1. - Text size: the input's text uses --p-lg, which never goes below 16px. Below that, iOS Safari zooms in when someone taps the field. - Mobile layout: on screens below 767px, the button drops onto its own full-width line under the input. - Unique ids: the label and input ids get a random suffix by default, so two cards on one page won't clash. Pass id if you want stable ids. It shows no message after someone submits. If you want one, that's the next thing to add.
The SCSS source of the stylesheet, comments and all: the same files this page is parsed from.
A short note when there is new work or writing. No more than once a month.
---
// A small newsletter / updates signup card.
//
// Colour, type, space and radius come from the semantic layer in
// styles/base/variables.scss only — no palette step is referenced directly.
// The submit button uses the global .btn classes from styles/base/buttons.scss.
interface Props {
heading?: string;
body?: string;
label?: string;
cta?: string;
action?: string;
method?: 'get' | 'post';
}
const {
heading = 'Stay in the loop',
body = 'A short note when there is new work or writing. No more than once a month.',
label = 'Email address',
cta = 'Subscribe',
action = '#',
method = 'post',
} = Astro.props;
// Unique per render, so two cards on one page never share a label target.
const id = `signup-email-${Math.random().toString(36).slice(2, 8)}`;
---
<section class="signup-card" aria-labelledby={`${id}-heading`}>
<h2 class="signup-heading" id={`${id}-heading`}>{heading}</h2>
<p class="signup-body">{body}</p>
<form class="signup-form" action={action} method={method}>
<label class="signup-label" for={id}>{label}</label>
<div class="signup-row">
<input
class="signup-input"
id={id}
type="email"
name="email"
autocomplete="email"
placeholder="you@example.com"
required
/>
<button class="btn btn--solid btn--lg" type="submit">{cta}</button>
</div>
</form>
</section>
<style>
.signup-card {
display: flex;
flex-direction: column;
gap: var(--space-12);
width: 100%;
max-width: 40rem;
padding: var(--space-32);
background: var(--surface-primary);
border: 1px solid var(--border);
border-radius: var(--radius-8);
}
/* Same step down as .cs-piece h3: the full --h2 is far too loud for a card. */
.signup-heading {
font-size: var(--h6);
font-weight: var(--fw-700);
}
.signup-body {
color: var(--text-muted);
max-width: 60ch;
}
.signup-form {
display: flex;
flex-direction: column;
gap: var(--space-8);
margin-top: var(--space-12);
}
.signup-label {
font-size: var(--p-sm);
font-weight: var(--fw-700);
color: var(--text-strong);
}
/* Wraps the button under the field when there is no room, so no breakpoint is needed. */
.signup-row {
display: flex;
flex-wrap: wrap;
gap: var(--space-8);
}
/* Height matches .btn--lg so the field and button line up. */
.signup-input {
flex: 1 1 16rem;
min-width: 0;
height: var(--size-48);
padding: 0 var(--space-16);
background: var(--surface-primary);
border: 1px solid var(--border-strong);
border-radius: var(--radius-8);
/* --p-lg floors at 16px, which keeps iOS Safari from zooming on focus. */
font-size: var(--p-lg);
line-height: var(--lh-s);
transition: border-color var(--duration-fast) var(--ease);
}
.signup-input::placeholder {
color: var(--text-muted);
font-weight: var(--fw-400);
}
.signup-input:hover,
.signup-input:focus {
border-color: var(--text-primary);
}
/* Focus ring is the global :focus-visible rule in reset.scss. */
.signup-row .btn {
flex: 0 0 auto;
white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
.signup-input {
transition: none;
}
}
</style> I've written SignupCard.astro in this folder and left styles/ untouched. I haven't rendered or built it, because there's no Astro project in this folder to run it in. What it uses from the site's styles - Button: the submit button uses the existing btn btn--solid btn--lg classes, so it gets the accent fill, the hover colour and the reduced-motion handling already defined. - Colours: only the named site-wide colours (--surface-primary, --border, --border-strong, --text-muted, --text-strong, --text-primary). It never uses the raw colour scales like --rose-700, which variables.scss says components shouldn't touch. I checked the component with the same search that file uses for this, and it found nothing. - Sizes and type: spacing, corner radius, font size, weight and motion all use existing tokens. The heading is an <h2> shown at the smaller --h6 size, the same step-down the existing case-study cards use. Body copy keeps the site's default paragraph size. - Focus: keyboard focus uses the site's existing focus outline rather than a new one. Behaviour - Label: the label is visible and linked to the field by an id. The id is randomised on each render, so two cards on one page won't clash. - Email field: it's type="email", required and autocomplete="email". It's the same height as the button (48px) so the two line up. - Narrow screens: the button wraps under the field when there isn't room, so no breakpoint is needed. - Text and form: the heading, body copy, label, button text, and the form's action and method can all be set as props, with defaults. action defaults to "#", so you'll need to pass your real signup endpoint, or the form won't send anywhere. Two choices you might want to change - Field hover and focus: the field's border darkens to the main text colour (--text-primary) on hover and focus. The site has no form fields yet, so there was no existing style to copy. - Card style: I gave the card an outline on the plain page background. I avoided the pale green --surface-muted panel because the editorial pages already use that as their whole background, so the card would disappear there.
The same SCSS source, plus design-system.md as it stood before rule 18 was written, and one more sentence in the prompt telling it to read the file.
A short note when a new case study goes up. Nothing else.
---
// A small newsletter signup card. Sits on --surface-muted, the quiet panel
// for asides and callouts; every pairing on it is in the contrast table.
interface Props {
heading?: string;
body?: string;
action?: string;
buttonLabel?: string;
// Prefix for the label/input ids, so two cards on one page don't collide.
id?: string;
}
const {
heading = 'Get new work in your inbox',
body = 'A short note when a new case study goes up. Nothing else.',
action = '/subscribe',
buttonLabel = 'Subscribe',
id = 'signup',
} = Astro.props;
const inputId = `${id}-email`;
---
<section class="signup" aria-labelledby={`${id}-heading`}>
<h2 id={`${id}-heading`} class="h6 signup__heading">{heading}</h2>
<p class="signup__body">{body}</p>
<form class="signup__form" action={action} method="post">
<label class="signup__label" for={inputId}>Email address</label>
<div class="signup__row">
<input
class="signup__input"
id={inputId}
type="email"
name="email"
autocomplete="email"
required
/>
<button class="btn btn--solid btn--lg" type="submit">{buttonLabel}</button>
</div>
</form>
</section>
<style>
.signup {
display: flex;
flex-direction: column;
gap: var(--space-12);
padding: var(--space-32);
background: var(--surface-muted);
border-radius: var(--radius-8);
}
.signup__form {
display: flex;
flex-direction: column;
gap: var(--space-8);
margin-top: var(--space-12);
}
.signup__label {
font-size: var(--p-sm);
font-weight: var(--fw-600);
}
.signup__row {
display: flex;
gap: var(--space-12);
}
/* Same fixed height as btn--lg so the field and button line up. The border
is --border-strong: --border is too light to mark a control's edge at
3:1 against the panel. */
.signup__input {
flex: 1;
min-width: 0;
height: var(--size-48);
padding: 0 var(--space-16);
font-size: var(--p);
background: var(--surface-primary);
border: var(--size-1) solid var(--border-strong);
border-radius: var(--radius-8);
}
@media (max-width: 767px) {
.signup__row {
flex-direction: column;
}
}
</style> I created SignupCard.astro next to styles/ and left everything in styles/ unchanged. There's no Astro project in this folder, so I haven't built or rendered it. What it contains - A card with a heading, one line of body copy, and a form. The form has a visible "Email address" label tied to the input, a type="email" field marked required with autocomplete="email", and a submit button. - Props for heading, body, action (default /subscribe), buttonLabel, and id. The id is used as a prefix for the field ids so two cards on one page don't clash. - On screens up to the site's one breakpoint (767px), the field and button stack. Above it they sit side by side. How it follows design-system.md - Colour: only semantic tokens. The card ground is --surface-muted (the quiet panel colour) and its body copy is --text-primary (18.25:1, from the contrast table). The input uses --surface-primary with a --border-strong edge. I chose --border-strong over --border because --border is too faint to show the input's outline against the panel (it needs 3:1). There are no colour literals. - Type: the heading uses the existing global .h6 class (the doc says components step down to --h6/--h5). The label is --p-sm at --fw-600, the input text is --p, and the body copy uses the global p style. Font family isn't touched. - Button: btn btn--solid btn--lg with no restyling. The input is fixed at --size-48 so it matches the button's height. Corners are --radius-8 and the border width is --size-1. - Spacing: all padding, margin and gaps use --space-* tokens. - Left alone: the focus ring, stacking (no z-index) and motion (no animation, so no reduced-motion guard was needed). Every token I used exists in the stylesheet, and none of them are reserve tokens. I used a plain @media (max-width: 767px) instead of importing the SCSS mobile mixin, so the component doesn't need lang="scss" or a relative path into styles/. The form posts to /subscribe with no client-side handling. Point action at whatever your mailing-list provider expects.
Rendered exactly as written, with every prop at its default. The forms do not submit from this page.
| Rule | Run 1 | Run 2 | Run 3 |
|---|---|---|---|
| known-tokens Use only custom properties that exist in the stylesheet. Do not invent token names. | Followed every var() names a real token | Followed every var() names a real token | Followed every var() names a real token |
| no-reserve Do not use tokens whose status is reserve. | Followed no reserve token used | Followed no reserve token used | Followed no reserve token used |
| semantic-colour Take every colour from the semantic layer (--surface-*, --text-*, --accent*, --brand-*, --border*). Never name a palette step such as --rose-700 or --gray-500. | Followed no palette step named | Followed no palette step named | Followed no palette step named |
| no-literal-colour Do not write colour literals: no hex, rgb(), hsl() or named colours. transparent and currentColor are fine. | Followed no colour literals | Followed no colour literals | Followed no colour literals |
| contrast Pair text and ground at 4.5:1 or better. The pairings in the contrast table are already checked; prefer them. | Followed --text-muted on --surface-primary: 7.39:1 | Followed --text-muted on --surface-primary: 7.39:1 | Followed --text-primary (inherited) on --surface-muted: 18.25:1 |
| type-ramp Set font sizes from the type ramp (--h1, --h2, --h3, --h4, --h5, --h6, --display-sm, --p-lg, --p, --p-sm). Never from --size-* or a literal, and never below --p-sm. | Followed font-size: var(--h6) | Followed font-size: var(--h6) | Followed font-size: var(--p-sm) |
| one-family Leave font-family alone. At Haüss (--sans) is set on every element; --serif is for pull-quotes only. | Does not apply | Does not apply | Does not apply |
| weights Set font weights from --fw-*, using the active steps only (400 to 800). | Followed font-weight: var(--fw-700) | Followed font-weight: var(--fw-700) | Followed font-weight: var(--fw-600) |
| space-for-rhythm Use --space-* for padding, margin and gap. The number is the maximum, reached at 1920px. | Followed gap: var(--space-12) | Followed gap: var(--space-12) | Followed gap: var(--space-12) |
| size-for-controls Give controls (inputs, buttons) a fixed height from --size-*, at least --size-40. Or use the .btn classes, which already do. | Followed height: var(--size-48) | Followed height: var(--size-48) | Followed height: var(--size-48) |
| radius Round corners with --radius-8, or --radius-full for a pill. Nothing else. | Followed border-radius: var(--radius-8) | Followed border-radius: var(--radius-8) | Followed border-radius: var(--radius-8) |
| use-the-button Make buttons with the .btn classes: one colour (btn--solid, btn--ghost), one size (btn--sm to btn--xl), optionally btn--pill. Do not restyle them. | Followed btn btn--solid btn--lg | Followed btn btn--solid btn--lg | Followed btn btn--solid btn--lg |
| focus-ring Keep the global :focus-visible ring. Never remove an outline, and do not restyle focus. | Followed leaves the global ring in place | Followed leaves the global ring in place | Followed leaves the global ring in place |
| motion Animate with --duration-* and --ease only, and switch the motion off inside @media (prefers-reduced-motion: reduce). | Followed transition: border-color var(--duration-fast) var(--ease) | Followed transition: border-color var(--duration-fast) var(--ease) | Does not apply |
| one-breakpoint Let the fluid tokens do responsive work. If a layout must change, use the one breakpoint, max-width 767px. Custom properties do not work inside @media. | Followed @media (max-width: 767px) | Does not apply | Followed @media (max-width: 767px) |
| layers Do not add stacking contexts. If something must sit above, use --z-content or --z-header. | Does not apply | Does not apply | Does not apply |
| labelled-inputs Give every input a visible <label> tied to it with for/id, or wrapping it. A placeholder is not a label. | Followed email input has a label | Followed email input has a label | Followed email input has a label |
| input-text written after the runs Set the text inside an input to --p-lg, which never drops below 16px. | Followed font-size: var(--p-lg), 16px at its smallest | Followed font-size: var(--p-lg), 16px at its smallest | Broken font-size: var(--p) is 14px on a phone |