pantoken / model
model
Beta
@pantoken/model — the zero-dependency type contracts for the pantoken token IR.
A Token is aligned to the CSS @property schema (name/syntax/inherits/ initial-value) and extended into a superset that also carries themed and reference values, plus non-value TokenMeta (icons, provenance). Icons are rolled in as <image> tokens. Every pantoken package depends on this package for the type, so no consumer needs the (GitHub-only) upstream token package just to type the IR.
Interfaces
- TokenModify
- TokenMeta
- DeprecationEntry
- DeprecationLedger
- Token
- TokenInput
- IconEntry
- PropertyRule
- CssContribution
- TokenHookContext
- IconHookContext
- CssHookContext
- RehypeHookContext
- PantokenPlugin