Commit Graph
4 Commits
Author SHA1 Message Date
Radosław SmolińskiandClaude Opus 5.5 d6675d2979 Design tokens: themes on any element, primary-inverse, form template
Follow-ups from the reference site's first visual test:
- data-theme="dark"/"light" switches the tokens on any element (LIGHT_SELECTOR,
  DARK_SELECTOR as selector lists); the base layer colours a themed panel's text
- inverted sections re-map primary / primary-hover / primary-text to the new
  primary-inverse / primary-inverse-text roles; the contrast report checks them
  (inherited roles resolved on the ancestor, as the cascade does)
- ipal-form formClasses.ts on token utilities + buttonClass(); theme.md: one-icon
  ThemeSwitcher pattern (the default two-option toggle stays)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 15:04:54 +01:00
Radosław SmolińskiandClaude Opus 5.5 07d54da893 Design tokens: lint fixes (sorted catalogue, linear regexes), tokens.css regenerated
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 14:02:49 +01:00
Radosław SmolińskiandClaude Opus 5.5 ca8e93eaf4 Design tokens: ipal-tokens CLI, components on single names, templates, tests
- bin ipal-tokens: src/design/tokens.ts → src/design/tokens.css, --check, WCAG
  contrast report (fails on AA errors; --report, --warn-only)
- CookieBanner / CookieButton read the single --ipal-* roles; the fallback follows
  color-scheme via light-dark() and still honours the legacy -dark variables
- lightbox fade reads --ipal-duration / --ipal-ease-out
- DESIGN.md and tokens.ts templates in ipal-setup/resources

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 13:55:59 +01:00
Radosław SmolińskiandClaude Opus 5.5 9511b12d19 Design tokens: tokens.css, tailwind.css, a11y.css and the TS token module
tokens.css (neutral --ipal-* defaults, light/dark, inverse scope, reduced motion) is
generated from src/modules/tokens/catalog.ts. tailwind.css maps the utilities.
New @intecion/ipal-kit/tokens entry: IPAL_TOKENS, ipalVar, IPAL_BREAKPOINTS,
defineTokens, tokensToCss, contrastReport, fluidClamp. fluid.css / fluid-wide.css
gain fs-xs, fs-h4, space-stack, space-section-sm.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-29 13:52:37 +01:00