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