--- layout: api title: "v2.1.6 JavaScript Library: Theming" categories: api version: v2.1.6 permalink: /api/v2.1.6/theming ---
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>