Function: registerPalette()
ts
function registerPalette(name, colors): void;Defined in: color/palettes.ts:53
Register a custom palette under name, so it can be used anywhere a palette name is accepted. Re-registering a name replaces it.
Parameters
| Parameter | Type |
|---|---|
name | string |
colors | readonly string[] |
Returns
void