diff --git a/app/charts/map/get-base-layer-style.ts b/app/charts/map/get-base-layer-style.ts index 185cb3fb6e..63c10ceecf 100644 --- a/app/charts/map/get-base-layer-style.ts +++ b/app/charts/map/get-base-layer-style.ts @@ -4,6 +4,7 @@ const BORDER_COLOR = { lowZoom: "hsl(0, 0%, 50%)", highZoom: "hsl(0, 0%, 75%)", }; +const COUNTRY_LABEL_COLOR = "rgba(0, 0, 0, 0.9)"; interface Props { locale: Locale; @@ -92,7 +93,7 @@ export const getBaseLayerStyle = (props: Props) => { { id: "contour_line", type: "line", - metadata: { "maputnik:comment": "color: rgb(191,138,64)" }, + metadata: { "maputnik:comment": "color: rgba(191,138,64, 0)" }, source: "swissmaptiles", "source-layer": "contour_line", minzoom: 13, @@ -5883,7 +5884,7 @@ export const getBaseLayerStyle = (props: Props) => { visibility: "visible", }, paint: { - "text-color": "rgba(145, 70, 145, 0.9)", + "text-color": COUNTRY_LABEL_COLOR, "text-halo-blur": 1, "text-halo-color": "rgba(255, 255, 255, 0.8)", "text-halo-width": 1,