Skip to main content

DEFAULT_DARK_BASEMAP_BACKGROUND

The dark default basemap's background (land) colour: the background layer of the OpenFreeMap Fiord style (checked 2026-11-11). In the dark theme the server paints the map region in this colour before the map loads, so a first visit that follows the theme does not flash the light default's colour before Fiord draws. It is also Fiord's picker swatch.

This is a constant exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import { DEFAULT_DARK_BASEMAP_BACKGROUND } from "@mapcairn/core";

DEFAULT_DARK_BASEMAP_BACKGROUND = "#45516e"

Source: packages/core/src/basemaps/basemaps.ts:35