Skip to content

Commit

Permalink
Change low zoom major-buildings to 5% darker major-building-fill
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisenbe committed Jan 29, 2019
1 parent 82e8864 commit f772cdc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions buildings.mss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@building-major-fill: darken(@building-fill, 10%); // Lch(75, 8, 67)
@building-major-line: darken(@building-major-fill, 15%); // Lch(61, 13, 65)
@building-major-low-zoom: darken(@building-major-fill, 5%); // Lch(70, 9, 66)

@entrance-permissive: darken(@building-line, 15%);
@entrance-normal: @building-line;
Expand All @@ -12,7 +13,6 @@
[zoom >= 14] {
polygon-fill: @building-low-zoom;
polygon-clip: false;
line-width: 0;
[zoom >= 15] {
polygon-fill: @building-fill;
line-color: @building-line;
Expand All @@ -24,8 +24,11 @@
[aerialway = 'station'],
[building = 'train_station'],
[public_transport = 'station'] {
polygon-fill: @building-major-fill;
line-color: @building-major-line;
polygon-fill: @building-major-low-zoom;
[zoom >= 15] {
polygon-fill: @building-major-fill;
line-color: @building-major-line;
}
}
}
}
Expand Down

0 comments on commit f772cdc

Please sign in to comment.