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, 0–1.
space?
optionalspace?:string
Beta
The colour space the modifier operates in (e.g. "hsl").
color?
optionalcolor?:string
Beta
The second colour, for mix.