From 18075bb7df2064998e9ed7d45e120805f215d774 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Smoli=C5=84ski?= Date: Thu, 29 Oct 2026 13:30:37 +0100 Subject: [PATCH] Design tokens proposal: record approved decisions Co-Authored-By: Claude Opus 5.5 --- docs/dev/design-tokens-proposal.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docs/dev/design-tokens-proposal.md b/docs/dev/design-tokens-proposal.md index 539ec5e..3466fc0 100644 --- a/docs/dev/design-tokens-proposal.md +++ b/docs/dev/design-tokens-proposal.md @@ -1,6 +1,7 @@ # Design tokens: proposal (draft for approval) -Status: **proposal, nothing built yet.** Branch `claude/design-tokens-95806d`. +Status: **approved 2026-10-29 (all recommendations in section 11 accepted); not built yet.** Building starts when +the coordinator confirms all five designs are consistent. Branch `claude/design-tokens-95806d`. Consumers: the shared block library, the project starter, the reference site and `ipal-doctor`. ## 1. Goal and the one rule @@ -316,7 +317,23 @@ Suggested order and effort (decision 5): Nothing in these repos is edited by this proposal. -## 11. Decisions for the owner +## 11. Decisions (approved 2026-10-29) + +The owner accepted every recommendation: + +| # | Decision | +|---|---| +| 1 | Brand source: `src/design/tokens.ts` + the `ipal-tokens` CLI generating `src/design/tokens.css` | +| 2 | Utility names: the plugin's own (`bg-bg`, `text-fg`, `text-fg-muted`, `bg-surface-muted`, `text-on-primary` …) | +| 3 | Colour format: oklch in the defaults and the starter (any CSS colour still accepted) | +| 4 | Default scale for new sites: `fluid-wide.css` | +| 5 | Migration: intecioncom pilot, then each site when it is next touched | +| 6 | Plugin components move to the single token names in this release; the `-dark` aliases stay | +| 7 | Ship `@intecion/ipal-kit/a11y.css` | + +Also agreed with the block library: the inverse scope (`data-surface="inverse"`, section 6). + +### Options as proposed 1. **Brand source:** `src/design/tokens.ts` + `ipal-tokens` CLI generating `tokens.css`, with a contrast check and values for OG/e-mail (**recommended**), or a hand-written `src/design/tokens.css` only. The var names and paths are the same either way.