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]>
This commit is contained in:
Radosław Smoliński
2026-10-29 13:52:37 +01:00
co-authored by Claude Opus 5.5
parent 500c534bc9
commit 9511b12d19
16 changed files with 1115 additions and 1 deletions
+7
View File
@@ -0,0 +1,7 @@
/**
* Entry point: @intecion/ipal-kit/tokens
*
* 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'