---
layout: api
title: "v3.3.1 JavaScript Library: Theming"
categories: api
version: v3.3.1
permalink: /api/v3.3.1/theming/
---
<h2 id="section-theming">Theming</h2>
<h3 id="section-dark-theme">Dark theme</h3>
<p>Mapbox.js implements a simple, light style on all interaction elements. A dark theme
is available by applying <code>class=&quot;dark&quot;</code> to the map div.</p>
<p><em>Example</em>:</p>
<pre><code>&lt;div id=&quot;map&quot; class=&quot;dark&quot;&gt;&lt;/div&gt;</code></pre>