--- layout: api title: "v1.6.1 API: Theming" categories: api version: v1.6.1 permalink: /api/v1.6.1/theming --- {% raw %}

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>
{% endraw %}