Replies: 3 comments
-
There is nothing out of the box for this, but the MapLibre CSS is pretty simple to modify or override. I created a dark theme for a project myself. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Checkout the following repo: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I use the following scss code with bootstrap to invert the color of the controls. It's very basic but it works well. [data-bs-theme="dark"] {
.maplibregl-ctrl {
filter: invert(1);
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
See title.
I would like to avoid hacking CSS if an official style already exists.
Beta Was this translation helpful? Give feedback.
All reactions