MCPcopy Create free account
hub / github.com/adobe/leonardo / colorKeys

Method colorKeys

docs/ui/src/js/initialSequentialScale.js:33–40  ·  view source on GitHub ↗
(colors)

Source from the content-addressed store, hash-verified

31 }
32
33 set colorKeys(colors) {
34 this._colorKeys = colors;
35 this._colors = null;
36 this._colorsReversed = null;
37 this._colors = this._createColorScale();
38 this._luminosities = this._getLuminosities();
39 this._domains = this._getDomains();
40 }
41
42 get colorKeys() {
43 return this._colorKeys;

Callers

nothing calls this directly

Calls 3

_createColorScaleMethod · 0.95
_getLuminositiesMethod · 0.95
_getDomainsMethod · 0.95

Tested by

no test coverage detected