From e81beaeff28d1d6acf7fff217dd435d0eb4c1e7a Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Mon, 13 Sep 2021 21:26:28 +0200 Subject: [PATCH 1/2] Don't use adressing color for golf features --- style/golf.mss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/style/golf.mss b/style/golf.mss index ac43ef69a1..9f656f7e1b 100644 --- a/style/golf.mss +++ b/style/golf.mss @@ -1,3 +1,5 @@ +@golf-color: #666; + #landcover[zoom >= 12] { ::high-zoom[zoom >= 12] { [feature = 'golf_tee'], @@ -25,7 +27,7 @@ #golf-line[zoom >= 16] { [golf = 'hole'] { - line-color: @address-color; + line-color: @golf-color; line-width: 0.5; } } @@ -35,7 +37,7 @@ [feature = 'golf_hole'][name != ''] { text-placement: line; text-size: 11; - text-fill: @address-color; + text-fill: @golf-color; text-face-name: @book-fonts; text-halo-radius: @standard-halo-radius; text-halo-fill: @standard-halo-fill; @@ -51,7 +53,7 @@ [feature = 'golf_hole'], [feature = 'golf_pin'] { marker-file: url('symbols/leisure/golf_pin.svg'); - marker-fill: @address-color; + marker-fill: @golf-color; marker-clip: false; } } @@ -60,7 +62,7 @@ [feature = 'golf_pin'][ref != ''] { text-name: "[ref]"; text-size: @standard-font-size; - text-fill: @address-color; + text-fill: @golf-color; text-face-name: @book-fonts; text-halo-radius: @standard-halo-radius; text-halo-fill: @standard-halo-fill; From 346ccffc359a74b51302432c09dba39cc4035af4 Mon Sep 17 00:00:00 2001 From: Paul Dicker Date: Mon, 13 Sep 2021 21:28:13 +0200 Subject: [PATCH 2/2] Use color instead of comp-op: soft-light --- style/golf.mss | 1 - symbols/golf_rough.svg | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/style/golf.mss b/style/golf.mss index 9f656f7e1b..7ead403b44 100644 --- a/style/golf.mss +++ b/style/golf.mss @@ -20,7 +20,6 @@ ::high-zoom[zoom >= 15] { [feature = 'golf_rough'] { polygon-pattern-file: url('symbols/golf_rough.svg'); - polygon-pattern-comp-op: soft-light; } } } diff --git a/symbols/golf_rough.svg b/symbols/golf_rough.svg index 708bf8c9e3..5d791fe287 100644 --- a/symbols/golf_rough.svg +++ b/symbols/golf_rough.svg @@ -5,5 +5,5 @@ xmlns="http://www.w3.org/2000/svg" width="40" height="40"> - +