Skip to content

pantoken / packages/core/src / TokenModify

Interface: TokenModify

Beta

A Tokens Studio colour modifier ($extensions."studio.tokens".modify).

Properties

type

type: "darken" | "lighten" | "alpha" | "mix"

Beta

The modification applied to the resolved colour.


value

value: number

Beta

The modifier amount, 01.


space?

optional space?: string

Beta

The colour space the modifier operates in (e.g. "hsl").


color?

optional color?: string

Beta

The second colour, for mix.