diff --git a/styles/src/base_layers.ts b/styles/src/base_layers.ts index 24dd109e..db694c8f 100644 --- a/styles/src/base_layers.ts +++ b/styles/src/base_layers.ts @@ -1378,37 +1378,16 @@ export function labels_layers( filter: ["in", "kind", "river", "stream"], layout: { "symbol-placement": "line", - "text-font": ["Noto Sans Regular"], - "text-field": get_multiline_name( - lang, - script, - ) as DataDrivenPropertyValueSpecification, - "text-size": 12, - "text-letter-spacing": 0.3, - }, - paint: { - "text-color": t.waterway_label, - }, - }, - { - id: "pois_peak", - type: "symbol", - source: source, - "source-layer": "pois", - filter: ["==", "kind", "peak"], - layout: { "text-font": ["Noto Sans Italic"], "text-field": get_multiline_name( lang, script, ) as DataDrivenPropertyValueSpecification, - "text-size": ["interpolate", ["linear"], ["zoom"], 10, 8, 16, 12], - "text-letter-spacing": 0.1, - "text-max-width": 9, + "text-size": 12, + "text-letter-spacing": 0.2, }, paint: { - "text-color": t.peak_label, - "text-halo-width": 1.5, + "text-color": t.ocean_label, }, }, { @@ -1452,7 +1431,7 @@ export function labels_layers( "fjord", ], layout: { - "text-font": ["Noto Sans Medium"], + "text-font": ["Noto Sans Italic"], "text-field": get_multiline_name( lang, script, @@ -1473,7 +1452,7 @@ export function labels_layers( "source-layer": "water", filter: ["in", "kind", "lake", "water"], layout: { - "text-font": ["Noto Sans Medium"], + "text-font": ["Noto Sans Italic"], "text-field": get_multiline_name( lang, script, diff --git a/styles/src/themes.ts b/styles/src/themes.ts index f07a33a6..46ebf38b 100644 --- a/styles/src/themes.ts +++ b/styles/src/themes.ts @@ -51,7 +51,6 @@ export interface Theme { railway: string; boundaries: string; - waterway_label: string; bridges_other_casing: string; bridges_minor_casing: string; @@ -69,7 +68,6 @@ export interface Theme { roads_label_major: string; roads_label_major_halo: string; ocean_label: string; - peak_label: string; subplace_label: string; subplace_label_halo: string; city_label: string; @@ -77,6 +75,16 @@ export interface Theme { state_label: string; state_label_halo: string; country_label: string; + + pois?: Pois; + + // deprecated + peak_label: string; + waterway_label: string; +} + +export interface Pois { + green: string; } export const CONTRAST: Theme = { @@ -230,7 +238,7 @@ export const LIGHT: Theme = { roads_label_minor_halo: "#ffffff", roads_label_major: "#938a8d", roads_label_major_halo: "#ffffff", - ocean_label: "#ffffff", + ocean_label: "#728dd4", peak_label: "#7e9aa0", subplace_label: "#8f8f8f", subplace_label_halo: "#e0e0e0", @@ -239,6 +247,10 @@ export const LIGHT: Theme = { state_label: "#b3b3b3", state_label_halo: "#e0e0e0", country_label: "#a3a3a3", + + pois: { + green: "#20834D" + } }; export const DARK: Theme = { @@ -320,6 +332,10 @@ export const DARK: Theme = { state_label: "#3d3d3d", state_label_halo: "#1f1f1f", country_label: "#5c5c5c", + + pois: { + green: "#30C573" + } }; export const WHITE: Theme = {