-
+
diff --git a/components/src/maplibre/Map/Map.svelte b/components/src/maplibre/Map/Map.svelte
index d5496465..d0a72f43 100644
--- a/components/src/maplibre/Map/Map.svelte
+++ b/components/src/maplibre/Map/Map.svelte
@@ -299,8 +299,8 @@
}
.maplibregl-ctrl-top-right {
- right: 0;
- top: 0;
+ right: 0.5em;
+ top: 0.5em;
}
.maplibregl-ctrl-bottom-left {
@@ -311,6 +311,7 @@
.maplibregl-ctrl-bottom-right {
bottom: 0.5em;
right: 0.5em;
+ align-items: flex-end;
}
.maplibregl-ctrl {
@@ -319,10 +320,9 @@
}
.maplibregl-ctrl-group {
- background: var(--color-surfaceFill);
+ background: var(--color-pageFill);
border: 1px solid var(--color-textSecondary);
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.075);
- border-radius: var(--br-small);
overflow: hidden;
}
@@ -391,6 +391,9 @@
.maplibregl-marker path {
fill: var(--color-textPrimary);
}
+ .maplibregl-marker circle {
+ fill: var(--color-pageFill);
+ }
.maplibregl-cooperative-gesture-screen {
align-items: center;
font-family: var(--swr-sans);
diff --git a/components/src/maplibre/MapControl/MapControl.svelte b/components/src/maplibre/MapControl/MapControl.svelte
index d21e79b2..6ea96462 100644
--- a/components/src/maplibre/MapControl/MapControl.svelte
+++ b/components/src/maplibre/MapControl/MapControl.svelte
@@ -35,7 +35,5 @@
- {#if children}
- {@render children()}
- {/if}
+ {@render children?.()}
diff --git a/components/src/maplibre/MapStyle/SWRDataLabDark.ts b/components/src/maplibre/MapStyle/SWRDataLabDark.ts
index a0899cc4..c69f1149 100644
--- a/components/src/maplibre/MapStyle/SWRDataLabDark.ts
+++ b/components/src/maplibre/MapStyle/SWRDataLabDark.ts
@@ -18,13 +18,13 @@ const tokens = {
sans_bold: ['SWR Sans Bold'],
background: {
stops: [
- [8, 'hsl(210, 9%, 13%)'],
+ [8, 'hsl(210, 3%, 10%)'],
[10, '#1e1f22']
]
},
water: 'hsl(210, 12%, 7%)',
water_light: 'hsl(210, 12%, 8%)',
- water_ocean: 'hsl(214, 25%, 7%)',
+ water_ocean: 'hsl(214, 5%, 5%)',
marsh: 'hsl(180, 3%, 35%)',
grass: 'hsl(170, 20%, 14%)',
grass_dark: 'hsl(170, 16%, 12%)',
diff --git a/components/src/maplibre/ScaleControl/ScaleControl.svelte b/components/src/maplibre/ScaleControl/ScaleControl.svelte
index 4e8ec9aa..1023a69c 100644
--- a/components/src/maplibre/ScaleControl/ScaleControl.svelte
+++ b/components/src/maplibre/ScaleControl/ScaleControl.svelte
@@ -21,6 +21,7 @@
font-weight: 400;
font-size: var(--fs-small-3);
font-family: var(--swr-text);
+ margin-bottom: 0.2em;
}
}