Case study layout
Hero with a meta row, then numbered sections (TL;DR, context, discovery, users, ideation, a step-by-step final design, outcomes on a dark band, learnings), reusable blocks (stats, quotes, before/after, problem lists, decision grids, alternating features, personas, pain/fix rows, journey tables, reflections), then 'Next case study' and 'Say hi!' with the email and X icons. Content lives in lib/studies; each project only sets its accent colour.
components/study/Study.tsxLive preview
Case studies use per-project themes, not the site tokens — only the label font and page margins follow the design system.
Tokens it uses
--sansBody text, labels, nav and buttons.
--inkMain text, headings and active nav links.
--ink-softSummaries, captions, inactive nav links, footer text.
--bgBackground behind every page.
--gutter-maxSpace between content and the screen edge (shrinks on phones).
--nav-heightHeight of the navigation bar.
Where it’s used
Works with
- Say hiFollowed by 'Say hi!' in the footer.
- Back linkStarts with a Back link to the work grid.
- Project cardEach published card opens one of these.
- Top barSits between the site's top bar and footer.
Shared tokens
These components share tokens with Case study layout, so editing a shared token changes them together — that’s what keeps the interface cohesive.
- Top barshares
Page backgroundTextSecondary textTop bar heightPage side marginBody font - Project windowshares
Page backgroundTextSecondary textPage side margin - Footershares
Secondary textPage side marginBody font - View toggleshares
Page backgroundTextSecondary text - Contact formshares
TextSecondary textBody font - Type testershares
TextSecondary textTop bar height - Project cardshares
TextSecondary text - Playground rowshares
TextSecondary text - Your-version pillshares
TextPage background - Back linkshares
Secondary textText - Contact linksshares
TextSecondary text - Logo rowshares
TextSecondary text - Say hishares
TextSecondary text - Buttonshares
Body font - Section introshares
Text - Page headershares
Secondary text - Filter chipsshares
Text