Skip to content

pantoken / model

model

Beta

@pantoken/model — 用于 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.

接口

类型别名

函数