Skip to main content

BackdropName

Name of one of the representative map backdrops: white, black, a light map and the land colours of the light and dark default basemaps. Indexing representativeBackdrops with it keeps the two in step at compile time.

This is a type alias exported by @mapcairn/theme, checked against version 0.2.0.

Signature​

import type { BackdropName } from "@mapcairn/theme";

type BackdropName = "white" | "black" | "lightMap" | "defaultBasemap" | "defaultDarkBasemap";

Source: packages/theme/src/contrastPairs.ts:16