- 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]>
28 lines
1.4 KiB
TypeScript
28 lines
1.4 KiB
TypeScript
// src/design/tokens.ts — the ONLY file you edit to rebrand the site (docs/design-tokens.md).
|
|
// After every change: `pnpm exec iapl-tokens` → writes src/design/tokens.css (commit it) and prints
|
|
// the WCAG contrast check (`--report` prints every pair for DESIGN.md → Colour).
|
|
// Leave out anything the brand does not change: the neutral defaults in @intecion/ipal-kit/tokens.css apply.
|
|
import { defineTokens } from '@intecion/ipal-kit/tokens'
|
|
|
|
export const tokens = defineTokens({
|
|
theme: 'both', // 'light' | 'dark' | 'both' — must match Site settings → Theme
|
|
fluid: 'wide', // the fluid file styles.css imports: 'wide' = fluid-wide.css (default), 'standard' = fluid.css
|
|
color: {
|
|
light: {
|
|
primary: 'oklch(0.5 0.17 250)', // [TO FILL: brand colour from DESIGN.md]
|
|
// secondary: 'oklch(…)', accent: 'oklch(…)', bg: 'oklch(…)', surface-muted: 'oklch(…)'
|
|
},
|
|
dark: {
|
|
// primary carries over from light when left out; set a lighter one if the report fails
|
|
},
|
|
},
|
|
font: {
|
|
// next/font in the root layout: variable '--font-family-body' / '--font-family-heading' on <html>
|
|
fwHeading: 650,
|
|
},
|
|
radius: { control: '0.5rem', card: '0.75rem' },
|
|
// fs: { h1: ['2.25rem', '4rem'] }, // min → max; the clamp() is computed for the fluid range
|
|
// space: { section: ['3rem', '8rem'] },
|
|
// container: { default: '80rem' },
|
|
})
|