This is the documentation of version 1.0.0-rc.6. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Variable paletteMapColorsConst

    paletteMapColors: readonly `colors.${MapColorName}`[] = ...

    The map colours a palette can name in place of a CSS colour, by their knob id: colors.artificial, colors.accent. They follow the map colours as a theme or setMapColors changes them.