Skip to content

Theemo / @theemo/tokens / transformColorValue

Function: transformColorValue()

ts
function transformColorValue(value): string;

Defined in: packages/tokens/src/transforms/transform-color-value.ts:37

Apply color transformations on the token value

Parameters

ParameterTypeDescription
valueComputedValue<"color">the token value

Returns

string

the transformed token value