--- layout: api title: "v1.6.0 API: Dark theme" categories: api version: v1.6.0 permalink: /api/v1.6.0/dark-theme --- {% raw %}
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 %}