swatch(swatchName)

Gets a swatch by name.

Type: function

Parameter(s):

  • swatchName {String}:

    Returns the swatch color/gradient for a given name by string.