CATEGORICAL_SLOTS
The names of the data palette's colours. Definitions name a colour by slot
and never write a value; @mapcairn/theme holds the values
(dataPalette in tokenValues.ts).
This is a constant exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { CATEGORICAL_SLOTS } from "@mapcairn/core";
CATEGORICAL_SLOTS: readonly ["orange", "sky-blue", "bluish-green", "yellow", "blue", "vermillion", "reddish-purple"]
Description
Categorical slots are the Okabe-Ito colours. Black is left out because it vanishes on a dark basemap. Ordinal slots are an ordered ramp, light to dark, for values with a natural order such as magnitude. Colour is never the only signal: validation requires a shape, a size or words beside it.