Repository navigation
Description
Parent
#212 (PRD: website redesign v2, delivery steps J1 to J6)
What to build
One change to preset/ gives every page the v2 type scale, greys, spacing, radii and shadows, under the existing token and variant names. Offer, blog and customer stories take the same tokens and keep their layout. A person reviews every route on the Vercel preview before merge.
ADR 0002 (design system v2) is the authority. Where #212 and the ADR disagree, the ADR wins and #212 is corrected. This ticket follows #212 section "J1".
Scope
- Type scale. Every
text()variant and everytextStylesentry keeps its name and call sites. Each takes the values of the closest v2 size: Display, H2, H3, Body or Small.labeltakes the v2 eyebrow values (uppercase, .3em letter spacing, 11px).heading2takes the H2 values. - Kept names. Pick one existing name per v2 size, plus
label. Redesigned pages use only those names from J2 on. Record the choice and the full mapping in ADR 0002 and inCLAUDE.md. - Greys.
graybecomes zinc.gray.DEFAULTgoes to #71717A andgray.lightto #F4F4F5. Newgray.200(#E4E4E7),gray.300(#D4D4D8),gray.700(#3F3F46) andcolors.line(#ECECEE). - Sections. The
section()default padding goes from 96px to 112px. Itsmdsize becomes the 80px compact spacing. The recipe carries its own mobile values, taken from the mockup. - Cards. The
card()recipe takes the v2 radii and the mockup card padding. - Radii and shadows. The eight radius tokens and nine shadow tokens keep their names and take the closest v2 value. The PR holds the mapping table.
- New tokens.
gradients.ai(coral #FE9C87 to yellow #F1CF25),gradients.ai-text, the three v2 shadows (rest, hover, window), one enjeu semantic token per enjeu with its light tint, font sizes 24, 17, 13, 11 and 10px, letter spacings .3em, .16em and .08em, and thecubic-bezier(.2,.8,.2,1)easing. - Enjeu tokens. Sales Experience mint, Customer Experience sky, Revenue Performance coral, Sales Compensation yellow, Revenue Systems grey (#767676 by default), Revenue AI coral for solid uses and the AI gradient for decoration.
- Docs. Rewrite the design system section of
CLAUDE.mdto match ADR 0002. Mark ADR 0001 as amended by ADR 0002. List the v2 recipes and tokens in the component inventory. ThestrictTokensrule is documented in J1: refuse raw values at type check #217 (J1: refuse raw values at type check).
Gaps in ADR 0002 to settle here, then record in the ADR
- The kept set is six names (five sizes plus
label), not five as the ADR says. - The Small size (Bornia 500, 14px) has no close variant. Map an existing name to it, or allow one new name.
- The semantic radius
xl(12px) sits between the v2 8px and 16px radii. Pick one. - The
offsetshadow (a hard dark offset, six uses) has no close v2 value. It snaps, or it becomes the one named exception the ADR allows. - Compute the final
gradients.ai-textends so each reaches 3:1 contrast on white. The computed ends are near #F16C4E and #B88F00.
Route review checklist
Write the checklist as a doc under docs/, so the review can be rerun. It covers every route below, in French and English where an English route exists, on desktop and mobile. Each line records the visible change and whether it is accepted or fixed.
| Route | Notes |
|---|---|
| Home | |
| Method | the bow tie SVG keeps its inline display font (ADR 0001 exception) |
| Offer | keeps its style; tokens only |
| About us | |
| Studio (team) | |
| Technology | |
| Jobs index and one job | |
| Clients index and one story | keep their style; tokens only |
| Blog index and one post | keep their style; not locale-prefixed |
| Contact | form inputs and focus rings |
| Legal index and one legal page | Markdoc prose |
| Design system | |
| Not found page | error boundary |
Visible effects to look for: body text drops from weight 500 to 400. display-card moves from Bermia to Bornia. heading2 grows to the H2 values. The muted grey changes. Each section gets about 16px longer.
Acceptance criteria
- Every page renders with the v2 values. No call site changes its variant or token name.
- The kept names and the full mapping are in ADR 0002 and
CLAUDE.md. - The five gaps above are settled and recorded in ADR 0002.
- The new tokens exist and appear on
/design-system. - The checklist exists, and the maintainer has marked every line accepted or fixed on the Vercel preview before merge.
-
pnpm check,pnpm typecheckandpnpm test:runpass. - Merged with
--merge, so the branch's atomic commits stay in the history ofmain.
Open questions for Ocobo
Neither holds this ticket. Do not decide them here.
- Revenue Systems grey (#767676 or #A1A1AA). The enjeu token ships with #767676.
- Darkened AI gradient text. The token ships with the computed values. Pages that use it wait for Ocobo's approval.
Blocked by
None, can start immediately.
Activity