Skip to content

Function: registerColorway() ​

ts
function registerColorway(name, colorList): () => void;

Register a named colorway (qualitative palette). Returns a function that unregisters it.

Parameters ​

ParameterType
namestring
colorListreadonly string[]

Returns ​

() => void

Released under the MIT License.