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

    Class SpacingToken

    An interface that represents a spacing token.

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    _id: string | number

    Internal ID of the spacing token

    color: Color

    Color used to represent the spacing token.

    name: string

    Name used to refer to the spacing token.

    value: number

    Value of the spacing token.

    Accessors

    Methods

    • Creates a SpacingToken instance from a JSON string

      Parameters

      • json: string

        JSON string representing a spacing token

      Returns SpacingToken

      A new SpacingToken instance