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
+8 -2
View File
@@ -75,8 +75,14 @@ the plugin only needs `A11yTexts` for the current locale.
## 2. CSS that reacts to the attributes (MANDATORY — project)
The widget sets attributes on `<html>`. Without this CSS nothing happens. Copy it
into the project's global CSS (adapt it to the design):
The widget sets attributes on `<html>`. Without CSS for them nothing happens.
**Ready file (1.15.0):** `@import "@intecion/ipal-kit/a11y.css";` in `styles.css` — the rules below, working through
the design tokens ([design-tokens.md](./design-tokens.md)): the readable font swaps `--ipal-font-body/-heading` (set
`--ipal-font-readable` to change it), "no animations" zeroes the `--ipal-duration-*` tokens, contrast + grayscale
combine, the big cursor is built in. Check: tick each option in the widget and see the page change.
Or copy this into the project's global CSS (adapt it to the design):
```css
/* Text size */