Skip to content

pantoken / packages/model/src / Token

Atanga: Token

Beta

He tohu hoahoa kotahi i te IR kānonika e ōrite ana ki @property.

Ngā Rawa

name

name: string

Te ingoa taonga ritenga, hei tauira --instui-color-background-base.


syntax

syntax: string

The @property syntax descriptor ("<color>", "<length>", "<image>", …) or "*" for contextual values.


inherits

inherits: boolean

Te tūtohu @property inherits.


value

value: string

He uara mārama, he tohutoro var(...), rānei he tārua light-dark(a, b).


themed?

optional themed?: boolean

Beta

Tika mēnā e rerekē ana ngā whakataunga mārama me ngā whakataunga pōuri (he light-dark() te uara).


refersTo?

optional refersTo?: string

Beta

Te tohu e tohu ana tēnei, ina ko value he kotahi var(...).


meta?

optional meta?: TokenMeta

Beta

Mōhiohio kore-uara.