Skip to content

pantoken-root / packages/utils/src / TokenUtilityGroup

Interface: TokenUtilityGroup ​

Bêta

Un ensemble de tokens qui sont tous mappés à une même propriété CSS (p.ex. chaque --instui-font-weight-* → font-weight).

Propriétés ​

property ​

property: string

Bêta

La propriété CSS du jeu de tokens (p.ex. "font-weight", "border-radius", "box-shadow").


tokens ​

tokens: readonly string[]

Bêta

Noms complets des tokens (p.ex. "--instui-font-weight-body-strong"); la terminaison --instui- devient la classe.