CDP Frontend SDK
    Preparing search index...

    Type Alias TokenValue

    Represents a single theme value, which can be a direct value or a reference with modifications.

    type TokenValue = {
        value: string | number;
        modify?:
            | { type: "color-alpha"; value: number
            | string }
            | { type: "color-hsl"; value: [number, number, number] }
            | {
                type: "color-mix";
                value: ReadonlyArray<string | readonly [string, string]>;
            }
            | { type: "multiply"; value: number
            | string };
    }
    Index

    Properties

    Properties

    value: string | number
    modify?:
        | { type: "color-alpha"; value: number
        | string }
        | { type: "color-hsl"; value: [number, number, number] }
        | {
            type: "color-mix";
            value: ReadonlyArray<string | readonly [string, string]>;
        }
        | { type: "multiply"; value: number
        | string }