SURFACE_NAMES
The colour names a heatmap, contour or other value-mapped surface accepts: the nine plain hues, with no tones and no neutral.
@internote/canvas-sdkOn this page
import { SURFACE_NAMES } from '@internote/canvas-sdk';A contour or a heatmap does not paint in one colour; it paints a range, and a hue names the whole of its scale for exactly that. The wash runs from the hue's light tone where the value is low to its dark tone where the value is high, so blue already spells both ends.
Which is why a tone cannot be written here. light-blue would be asking for one end of the range to be the range, and the only thing left for the surface to vary would be opacity — the wash it used to be, and the reason a low value faded out rather than going pale.
neutral goes with them, for the same reason from the other side: it names a single token rather than a scale. A grey surface is grey, which has one.
#Signature
readonly string[]Declared in packages/canvas-sdk/src/paint/colour.ts:139.