--- layout: api title: "v2.2.1 JavaScript Library: Theming" categories: api version: v2.2.1 permalink: /api/v2.2.1/theming/ ---

Theming

Dark theme

Mapbox.js implements a simple, light style on all interaction elements. A dark theme is available by applying class="dark" to the map div.

Example:

<div id="map" class="dark"></div>