Search


Search something to see results

ColorToken

Color token

interface ColorToken {
    "[ROOT]"?: AstStyleSheet | null;
    cal?: "col" | "rel" | "mix";
    chi?: Token[];
    kin: ColorType;
    parent?: any;
    typ: ColorTokenType;
    val: string;
    [key: number]: string | undefined;
}

Hierarchy (View Summary)

Indexable

  • [key: number]: string | undefined

Index

Properties

"[ROOT]"?: AstStyleSheet | null

root node

cal?: "col" | "rel" | "mix"

Whether the color is relative, color-mix or color

chi?: Token[]

Color components

Color kind

parent?: any

parent node

token type

val: string

Color value or color function name