typograph-editor-documentation
    Preparing search index...

    Function new_swatch_source

    • What a new colour swatch is copied from (TYP-1325): the selected swatch when it is a colour of the library's own that this dialog can edit, else the library's first shown such colour, else none. Never a gradient or a tint, and never a Lab or mixed-ink colour, for which it has no controls.

      Parameters

      • library: swatchlibrary
      • selected_uuid: string

      Returns swatch