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

    Type Alias MapThemeMode

    MapThemeMode: typeof mapThemeModes[number]

    Whether a derived theme reads as a light or a dark map. auto, the default, picks dark when the source colours are mostly dark.