Skip to content

Commit

Permalink
Merge pull request gravitystorm#2949 from math1985/black-icons
Browse files Browse the repository at this point in the history
Fix color for man_made icons
  • Loading branch information
matthijsmelissen authored Nov 20, 2017
2 parents 8af729b + 90dbaab commit 61044f6
Showing 1 changed file with 29 additions and 14 deletions.
43 changes: 29 additions & 14 deletions amenity-points.mss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@memorials: @amenity-brown;
@culture: @amenity-brown;
@public-service: @amenity-brown;
@man-made-icon: #555;
@man-made: #555;
@landform-color: #d08f55;
@leisure-green: darken(@park, 60%);

Expand Down Expand Up @@ -334,7 +334,7 @@

[feature = 'man_made_mast'][zoom >= 17] {
marker-file: url('symbols/communications.svg');
marker-fill: @man-made-icon;
marker-fill: @man-made;
marker-placement: interior;
marker-clip: false;
}
Expand Down Expand Up @@ -555,7 +555,7 @@

[feature = 'man_made_water_tower'][zoom >= 17] {
marker-file: url('symbols/water_tower.svg');
marker-fill: @man-made-icon;
marker-fill: @man-made;
marker-placement: interior;
marker-clip: false;
}
Expand Down Expand Up @@ -958,7 +958,7 @@
marker-file: url('symbols/lighthouse.svg');
marker-placement: interior;
marker-clip: false;
marker-fill: @man-made-icon;
marker-fill: @man-made;
}

[feature = 'natural_peak'][zoom >= 11] {
Expand Down Expand Up @@ -990,7 +990,7 @@

[feature = 'military_bunker'][zoom >= 17] {
marker-file: url('symbols/bunker.svg');
marker-fill: @man-made-icon;
marker-fill: @man-made;
marker-placement: interior;
marker-clip: false;
}
Expand All @@ -1006,21 +1006,21 @@
[zoom >= 15] {
marker-file: url('symbols/power_wind.svg');
marker-placement: interior;
marker-fill: black;
marker-fill: @man-made;
marker-clip: false;
}
}

[feature = 'man_made_windmill'][zoom >= 16] {
marker-file: url('symbols/windmill.svg');
marker-placement: interior;
marker-fill: @man-made-icon;
marker-fill: @man-made;
marker-clip: false;
}

[feature = 'amenity_hunting_stand'][zoom >= 16] {
marker-file: url('symbols/hunting_stand.svg');
marker-fill: @man-made-icon;
marker-fill: @man-made;
marker-placement: interior;
marker-clip: false;
}
Expand Down Expand Up @@ -1320,14 +1320,29 @@

[feature = 'man_made_cross'][zoom >= 17],
[feature = 'historic_wayside_cross'][zoom >= 17],
[feature = 'natural_cave_entrance'][zoom >= 15],
[feature = 'man_made_mast'][zoom >= 17],
[feature = 'natural_cave_entrance'][zoom >= 15] {
text-name: "[name]";
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-dy: 11;
[feature = 'man_made_cross'],
[feature = 'historic_wayside_cross'] {
text-dy: 6;
}
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
text-placement: interior;
}


[feature = 'mast'][zoom >= 17],
[feature = 'man_made_water_tower'][zoom >= 17] {
text-name: "[name]";
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-fill: black;
[feature = 'natural_cave_entrance'],
[feature = 'man_made_water_tower'] {
text-dy: 11;
Expand Down Expand Up @@ -1365,7 +1380,7 @@
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-fill: @man-made-icon;
text-fill: @man-made;
text-dy: 11;
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
Expand Down Expand Up @@ -1869,7 +1884,7 @@
text-size: @standard-font-size;
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-fill: @man-made-icon;
text-fill: @man-made;
text-dy: 16;
[feature = 'man_made_windmill'] { text-dy: 12; }
text-face-name: @standard-font;
Expand Down Expand Up @@ -2209,7 +2224,7 @@
text-wrap-width: @standard-wrap-width;
text-line-spacing: @standard-line-spacing-size;
text-dy: 11;
text-fill: @man-made-icon;
text-fill: @man-made;
text-face-name: @standard-font;
text-halo-radius: @standard-halo-radius;
text-halo-fill: @standard-halo-fill;
Expand Down

0 comments on commit 61044f6

Please sign in to comment.