# ContrastBackground

The colour a pair's foreground sits on. `surface` and `surfaceRaised` are
translucent, so they are flattened over each backdrop first; `map` is the
bare map itself; the page background and the map halo are fixed defaults
a host cannot override; the rest are opaque roles.

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

## Signature

```ts
import type { ContrastBackground } from "@mapcairn/theme";
 
type ContrastBackground = ThemeColourRole | "pageBackground" | "mapHalo" | "map";
```

## See also

- [`ThemeColourRole`](https://docs.mapcairn.com/api/theme/ThemeColourRole.md)

Source: [packages/theme/src/contrastPairs.ts:52](https://github.com/MapCairn/mapcairn/blob/main/packages/theme/src/contrastPairs.ts#L52)
