Skip to content
joinery / docs

Marina Roustan design

876 words · updated yesterdayapps/marina-roustan/DESIGN.md

🎨 Marina Roustan design

The tokens for the rebuild of marinaroustan.com, extracted from the live site with pnpm brand:extract on 15 Nov 2026. Tone is the one row a person wrote.

What stays recognizably Marina

IngredientDirection
PaperPale blue #DEF1FC as the page, with white #FFFFFF bands between sections
InkSlate blue #375B6F for body text and headings alike
PrimarySky blue #5E98B8 for links and subtitles; #2F586D whenever it carries text
AccentOchre #B6671E on the calls to action and the kickers; #7E3F00 whenever it carries text
TypeLato throughout: 700 for headings, 300 for body text at 21 px
ToneA calm clinical practice: flat illustrations on pale blue, one ochre button per section, rounded cards, no photography beyond the portrait

Structure

PathRole
layers/design/app/assets/main.cssEvery token: palettes, type scale, Nuxt UI's semantic roles pointed at them, and the base focus ring
layers/design/app/app.config.tsNuxt UI's colour aliases: primary tide, secondary ochre, neutral ink, error danger
layers/design/nuxt.config.tsLoads main.css, turns colour mode off and has @nuxt/fonts serve Lato at the four weights the site uses

Tokens

Palettes paper, ink, tide, ochre and danger run 50–950, with each live colour unchanged at its step. danger is invented; the site has no error colour.

The table below is the output of pnpm brand:contrast apps/marina-roustan/layers/design/app/assets/main.css. Re-run it and replace the table after any token change.

RoleTokenSurfaceRatio
--ui-text-dimmedpaper-600--ui-bg → paper-1006.67:1
--ui-text-dimmedpaper-600--ui-bg-muted → paper-507.43:1
--ui-text-dimmedpaper-600--ui-bg-elevated → paper-507.43:1
--ui-text-dimmedpaper-600--ui-bg-accented → paper-2006.16:1
--ui-text-mutedpaper-600--ui-bg → paper-1006.67:1
--ui-text-mutedpaper-600--ui-bg-muted → paper-507.43:1
--ui-text-mutedpaper-600--ui-bg-elevated → paper-507.43:1
--ui-text-mutedpaper-600--ui-bg-accented → paper-2006.16:1
--ui-text-tonedink-600--ui-bg → paper-1006.26:1
--ui-text-tonedink-600--ui-bg-muted → paper-506.98:1
--ui-text-tonedink-600--ui-bg-elevated → paper-506.98:1
--ui-text-tonedink-600--ui-bg-accented → paper-2005.79:1
--ui-textink-600--ui-bg → paper-1006.26:1
--ui-textink-600--ui-bg-muted → paper-506.98:1
--ui-textink-600--ui-bg-elevated → paper-506.98:1
--ui-textink-600--ui-bg-accented → paper-2005.79:1
--ui-text-highlightedink-700--ui-bg → paper-1008.86:1
--ui-text-highlightedink-700--ui-bg-muted → paper-509.87:1
--ui-text-highlightedink-700--ui-bg-elevated → paper-509.87:1
--ui-text-highlightedink-700--ui-bg-accented → paper-2008.19:1
--ui-primarytide-600--ui-bg → paper-1006.61:1
--ui-primarytide-600--ui-bg-muted → paper-507.36:1
--ui-primarytide-600--ui-bg-elevated → paper-507.36:1
--ui-primarytide-600--ui-bg-accented → paper-2006.11:1
--ui-secondaryochre-600--ui-bg → paper-1006.96:1
--ui-secondaryochre-600--ui-bg-muted → paper-507.76:1
--ui-secondaryochre-600--ui-bg-elevated → paper-507.76:1
--ui-secondaryochre-600--ui-bg-accented → paper-2006.43:1
--ui-errordanger-600--ui-bg → paper-1007.13:1
--ui-errordanger-600--ui-bg-muted → paper-507.94:1
--ui-errordanger-600--ui-bg-elevated → paper-507.94:1
--ui-errordanger-600--ui-bg-accented → paper-2006.59:1
--ui-text-invertedpaper-50--ui-bg-inverted → ink-6006.98:1

The brand tide (tide-400, 2.72:1 on paper) and ochre (ochre-500, 3.66:1) fail as text, so the roles take their 600 steps; the brand steps stay for fills and decoration.

Type stepSpec (Lato, at 1280 px)Where the live site uses it
text-h155 px, 0.9, 700The home page's h1
text-h2 / h2-sm52.5 / 48 px, 1.1, 700Section titles
text-h3-lg40 px, 1.2, 500–700Service titles
text-h323 px, 1.2, 600Card and subtitle headings, the most-used h3
text-card21 px, 1.2, 700Small headings in the credential row
text-body21 px, 1.6, 300Running text

The controls' radius is rounded-md, Nuxt UI's control radius, at 7 px, the commonest radius on the site's links and buttons; --ui-radius is calc(7px / 1.5) because rounded-md is 1.5 × it.

Colour reaches a component through Nuxt UI's roles (bg-muted, text-primary…), never a palette step: eslint.config.ts rejects every -50…-950 colour utility and any arbitrary type or colour value. Need a new one? Add a role or token to main.css.

Not done yet

Dark theme (ui.colorMode is off), small-screen type (only 1280 px was extracted), and per-component theme files.