Search…
Custom theme
You can pass theme name or object used to customize Kepler.gl style. Kepler.gl provide an 'light' theme besides the default 'dark' theme. When pass in a theme object Kepler.gl will use the value passed as input to overwrite values from theme.
1
import KeplerGl from 'kepler.gl';
2
3
const Map = props => (
4
<KeplerGl
5
id="foo"
6
width={width}
7
mapboxApiAccessToken={token}
8
height={height}
9
theme="light"
10
/>
11
);
Copied!

Available Themes

theme
dark (default)
light
base
Last modified 1yr ago
Copy link