@zeplin/extension-model
    Preparing search index...

    Class VariableValue

    An interface that represents a variable value.

    Index

    Constructors

    Properties

    color?: ColorData

    RGBA color of the variable value.

    Available when type is "color"

    modeId: string

    Unique identifier of the variable value's mode.

    Type of the variable value.

    variableSourceId?: string

    Unique identifier of the linked variable to the variable value.

    Available when type is "variable"

    Accessors

    Methods

    • Creates a VariableValue instance from a JSON string

      Parameters

      • json: string

        JSON string representing a variable value

      Returns VariableValue

      A new VariableValue instance