- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms); past CHANGELOG entries and the proposals in docs/dev are not rewritten - AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames - iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required - env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup - skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were - reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated Co-Authored-By: Claude Fable 5.2 <[email protected]>
2.4 KiB
DESIGN.md — Example Studio
The human source of the look. Its machine form is src/design/tokens.ts; the two must agree
(iapl-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 |
| primary-inverse / -text | oklch(0.74 0.09 160) / dark text | oklch(0.47 0.09 160) / white | buttons 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 iapl-tokens --report): 74 of 74 pairs pass, light and dark, the inverse scope included.
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