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