banira
    Preparing search index...

    Interface ImportedToken

    A single design token imported from a DTCG document, resolved to a CSS value.

    interface ImportedToken {
        description?: string;
        name: string;
        path: string;
        type?: string;
        value: string;
    }
    Index

    Properties

    description?: string

    The DTCG $description, if declared.

    name: string

    CSS custom property name, e.g. --color-primary.

    path: string

    Dotted path in the source document, e.g. color.primary.

    type?: string

    The DTCG $type (own or inherited from a parent group), if declared.

    value: string

    The resolved value as a CSS string (aliases and {ref}s flattened).