Design tokens: docs, agent guide, skills, audit checks

- docs/design-tokens.md (new module page), README index, CHANGELOG
- AGENT.md §0b row 19, §6.11 rewritten for the standard, §6.11a, §7, §10, §12, §14
- ipal-setup stage 5, ipal-block section-code (Section with data-surface, Button,
  card on token utilities), ipal-site phase 8, ipal-reference (+ api.md /tokens
  section), ipal-upgrade 1.15.0 note, ipal-audit SKILL + audit.sh token checks
- theme.md, consent.md, accessibility.md (a11y.css), lightbox.md, PROGRAMISTA §2.5
- /tokens entry lists its exports explicitly; docs coverage test includes it

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-29 14:00:31 +01:00
co-authored by Claude Opus 5.5
parent ca8e93eaf4
commit cf205c59ef
19 changed files with 415 additions and 77 deletions
+23 -1
View File
@@ -4,4 +4,26 @@
* Design tokens with no Payload, React or Next import — safe in src/design/tokens.ts,
* the `ipal-tokens` CLI, next/og images and e-mail templates. docs/design-tokens.md.
*/
export * from '../modules/tokens/index.js'
export {
COLOR_DEFAULTS,
contrastRatio,
contrastReport,
DARK_SELECTOR,
defaultTokensCss,
defineTokens,
FLUID_RANGES,
FLUID_SCALE,
FLUID_TOKENS,
fluidClamp,
INVERSE_SCOPE,
INVERSE_SELECTOR,
IPAL_BREAKPOINTS,
IPAL_TOKENS,
ipalVar,
LEGACY_DARK_ROLES,
parseColor,
resolveColors,
STATIC_DEFAULTS,
tokensToCss,
} from '../modules/tokens/index.js'
export type { ColorInput, ColorRole, ContrastRow, FluidRange, IpalTokenName, RemValue, TokensInput } from '../modules/tokens/index.js'