Search


Search something to see results

ColorToken

Color token

interface ColorToken {
    cal?: "col" | "rel" | "mix";
    chi?: PlainToken[];
    kin: ColorType;
    loc?: SourceLocation | null;
    typ: ColorTokenType;
    val: string;
}

Hierarchy (View Summary)

Index

Properties

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

Whether the color is relative, color-mix or color

chi?: PlainToken[]

Color components

Color kind

loc?: SourceLocation | null

source location

val: string

Color value or color function name