Reference site: Example Studio on ipal-kit (reference/), index for agents, CI job

reference/ is one complete client site on the plugin (made-up company, pl/en,
MongoDB, every library block and template, token standard light/dark, forms,
consent, SEO/GEO, enforced CSP, 2FA, base + demo seeds, Coolify runbook,
smoke tests). It uses the plugin as file:.. (injected) and is not shipped.

- docs/agent/reference-site/INDEX.md (generated by scripts/reference-index.mjs,
  kept current by test/referenceIndex.test.ts)
- AGENT.md section and pointers in ipal-site, ipal-setup, ipal-reference,
  ipal-upgrade, ipal-block; release steps in PROGRAMISTA §8.1b
- CI: reference (fast) on every push, reference-full on main; doctor steps
  wired, commented until ipal-doctor ships

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 15:17:11 +01:00
co-authored by Claude Opus 5.5
parent 8bb5ebd394
commit 8adac41f92
129 changed files with 18440 additions and 1 deletions
+49
View File
@@ -0,0 +1,49 @@
# DESIGN.md — Example Studio
The human source of the look. Its machine form is `src/design/tokens.ts`; the two must agree
(`ipal-doctor` compares them). Values go into `tokens.ts`, never into components.
## 1. Brand in one sentence
A small architecture and interior studio: calm, precise, natural materials. Audience: families building a house,
owners of flats and small businesses. The one memorable element: the serif headings (Fraunces) against quiet
sage-green surfaces. Everything else stays quiet.
## 2. Colour
| Role (`--ipal-*`) | Light | Dark | Used for |
|---|---|---|---|
| primary | oklch(0.47 0.09 160) sage green | oklch(0.74 0.09 160) | main buttons, links, key accents |
| primary-text | default | oklch(0.18 0.02 160) | text on primary in dark (light primary) |
| accent | oklch(0.55 0.13 50) terracotta | oklch(0.76 0.12 55) | star ratings, badges, highlights only |
| accent-text | default | oklch(0.18 0.02 55) | text on accent in dark |
| link-inverse | oklch(0.82 0.08 160) | oklch(0.42 0.09 160) | links on inverted sections |
| bg | oklch(0.985 0.006 85) warm paper | oklch(0.2 0.01 160) | page |
| surface-muted | oklch(0.955 0.012 85) | oklch(0.25 0.012 160) | alternate sections, footer |
| secondary, surface, borders, text | default | default | — |
Contrast (`pnpm exec ipal-tokens --report`): 70 of 72 pairs pass. Open: "primary on surface-inverse"
2.75:1 (light) / 2.03:1 (dark), a 3:1 UI-component warning — primary buttons inside inverted sections.
Reported to the token standard (the inverse scope does not re-map primary); not a launch blocker for the reference.
## 3. Type
Body: Inter 400/500 (`--font-family-body`). Headings: Fraunces 600 (`--font-family-heading`).
`subsets: ['latin', 'latin-ext']`. Scale: default fluid scale. Heading style: sentence case, default tracking.
## 4. Shape and depth
Radius: control 0.25rem, card 0.25rem (sharp, architectural), media default. Depth: borders on cards, shadow-sm.
## 5. Layout
Scale: fluid-wide (default). Container default, narrow for legal and articles, measure 68ch.
Section rhythm: py-section; compact bands py-section-sm. Alignment: left; centred only in the logos header.
## 6. Motion
Nothing animated beyond the token durations (theme switch, hover). Reduced motion: every duration 0 ms.
## 7. Imagery and icons
Generated placeholder images (abstract arches, stairs, façades in the brand palette) — no stock photos, no
real projects. Icons: lucide (theme switch only).
## 8. Theme
Both, default system (Site settings → Theme), toggle on.
## 9. Deviations from the standard
- none