From f9be6f2953d2749a7eaed99b830f7665d23d7b05 Mon Sep 17 00:00:00 2001 From: Harry Bond Date: Fri, 22 Nov 2024 15:45:28 +0000 Subject: [PATCH] [styles] Fade out gardens properly, slightly adjust colour Signed-off-by: Harry Bond --- data/styles/default/include/Basemap.mapcss | 9 ++++++++- data/styles/vehicle/include/Basemap.mapcss | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/data/styles/default/include/Basemap.mapcss b/data/styles/default/include/Basemap.mapcss index e47ec70b0f..b5b20ce5dc 100644 --- a/data/styles/default/include/Basemap.mapcss +++ b/data/styles/default/include/Basemap.mapcss @@ -146,7 +146,7 @@ area|z11-12[landuse=forest], area|z12[leisure=garden], {fill-color: @green2;} area|z13[landuse=forest], -area|z13[leisure=garden] +area|z13[leisure=garden], {fill-color: @green3;} area|z14[landuse=forest], area|z14[leisure=garden], @@ -158,6 +158,13 @@ area|z16-[landuse=forest], area|z16-[leisure=garden], {fill-color: @forest;} +area|z12-[leisure=garden][garden:type=residential], +{fill-color: @green0;} +area|z16-[leisure=garden][garden:type=residential], +{fill-color: @green1;} +area|z17-[leisure=garden][garden:type=residential], +{fill-color: @green2;} + area|z12-13[landuse=grass], area|z12-13[natural=grassland], area|z12-13[leisure=golf_course], diff --git a/data/styles/vehicle/include/Basemap.mapcss b/data/styles/vehicle/include/Basemap.mapcss index 83b0847b16..e6319ef284 100644 --- a/data/styles/vehicle/include/Basemap.mapcss +++ b/data/styles/vehicle/include/Basemap.mapcss @@ -153,6 +153,13 @@ area|z16-[leisure=park], area|z16-[leisure=garden] {fill-color: @forest;} +area|z12-[leisure=garden][garden:type=residential], +{fill-color: @green0;} +area|z16-[leisure=garden][garden:type=residential], +{fill-color: @green1;} +area|z17-[leisure=garden][garden:type=residential], +{fill-color: @green2;} + area|z12-[natural=bare_rock], {fill-color: @barerock;}