Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Refactor variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ENT8R committed Feb 21, 2018
1 parent b4a4ac6 commit e96643a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ global:
path_outline_color: '#e0c9b3'
tunnel_color: '#ccdee0'
square_color: global.road_color
square_outline_color: global.path_outline_color

earth_color: '#f3eacc'
water_color: '#68d'
Expand Down
2 changes: 1 addition & 1 deletion layers/land.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ layers:
filter: { kind: [pedestrian], $zoom: { min: 17 } }
draw:
lines:
color: global.path_outline_color
color: global.square_outline_color
width: function () { return 1/4 * Math.log($zoom); }
order: 200
polygons:
Expand Down
1 change: 1 addition & 0 deletions streetcomplete-dark-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ global:
path_outline_color: '#96b'
tunnel_color: '#686887'
square_color: global.road_color
square_outline_color: global.path_outline_color

earth_color: '#20204e'
water_color: '#002'
Expand Down
1 change: 1 addition & 0 deletions streetcomplete-light-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ global:
path_outline_color: '#e0c9b3'
tunnel_color: '#ccdee0'
square_color: global.road_color
square_outline_color: global.path_outline_color

earth_color: '#f3eacc'
water_color: '#68d'
Expand Down

0 comments on commit e96643a

Please sign in to comment.