-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #48 from UNDP-Data/feat/add-positron-style
feat: add Positron base style from Carto
- Loading branch information
Showing
98 changed files
with
3,620 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@undp-data/style": minor | ||
--- | ||
|
||
feat: add Positron base style from Carto. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
version: 8 | ||
name: Positron | ||
metadata: {} | ||
sources: | ||
carto: | ||
type: vector | ||
url: https://tiles.basemaps.cartocdn.com/vector/carto.streets/v1/tiles.json | ||
terrarium: | ||
type: raster-dem | ||
attribution: '© <a href="https://github.com/tilezen/joerd/blob/master/docs/attribution.md" target="_blank" rel="noopener">Tilezen Joerd</a>' | ||
tiles: | ||
- https://s3.amazonaws.com/elevation-tiles-prod/terrarium/{z}/{x}/{y}.png | ||
minzoom: 0 | ||
maxzoom: 15 | ||
tileSize: 256 | ||
encoding: terrarium | ||
bounds: | ||
- -180 | ||
- -90 | ||
- 180 | ||
- 90 | ||
sprite: ./sprite/sprite | ||
glyphs: https://fonts.undpgeohub.org/fonts/{fontstack}/{range}.pbf | ||
layers: | ||
- !!inc/file positron/background.yml | ||
- !!inc/file layers/hillshade.yml | ||
- !!inc/file positron/landcover.yml | ||
- !!inc/file positron/park_national_park.yml | ||
- !!inc/file positron/park_nature_reserve.yml | ||
- !!inc/file positron/landuse_residential.yml | ||
- !!inc/file positron/landuse.yml | ||
- !!inc/file positron/waterway.yml | ||
- !!inc/file positron/boundary_county.yml | ||
- !!inc/file positron/boundary_state.yml | ||
- !!inc/file positron/water.yml | ||
- !!inc/file positron/water_shadow.yml | ||
- !!inc/file positron/aeroway-runway.yml | ||
- !!inc/file positron/aeroway-taxiway.yml | ||
- !!inc/file positron/waterway_label.yml | ||
- !!inc/file positron/tunnel_service_case.yml | ||
- !!inc/file positron/tunnel_minor_case.yml | ||
- !!inc/file positron/tunnel_sec_case.yml | ||
- !!inc/file positron/tunnel_pri_case.yml | ||
- !!inc/file positron/tunnel_trunk_case.yml | ||
- !!inc/file positron/tunnel_mot_case.yml | ||
- !!inc/file positron/tunnel_path.yml | ||
- !!inc/file positron/tunnel_service_fill.yml | ||
- !!inc/file positron/tunnel_minor_fill.yml | ||
- !!inc/file positron/tunnel_sec_fill.yml | ||
- !!inc/file positron/tunnel_pri_fill.yml | ||
- !!inc/file positron/tunnel_trunk_fill.yml | ||
- !!inc/file positron/tunnel_mot_fill.yml | ||
- !!inc/file positron/tunnel_rail.yml | ||
- !!inc/file positron/tunnel_rail_dash.yml | ||
- !!inc/file positron/road_service_case.yml | ||
- !!inc/file positron/road_minor_case.yml | ||
- !!inc/file positron/road_pri_case_ramp.yml | ||
- !!inc/file positron/road_trunk_case_ramp.yml | ||
- !!inc/file positron/road_mot_case_ramp.yml | ||
- !!inc/file positron/road_sec_case_noramp.yml | ||
- !!inc/file positron/road_pri_case_noramp.yml | ||
- !!inc/file positron/road_trunk_case_noramp.yml | ||
- !!inc/file positron/road_mot_case_noramp.yml | ||
- !!inc/file positron/road_path.yml | ||
- !!inc/file positron/road_service_fill.yml | ||
- !!inc/file positron/road_minor_fill.yml | ||
- !!inc/file positron/road_pri_fill_ramp.yml | ||
- !!inc/file positron/road_trunk_fill_ramp.yml | ||
- !!inc/file positron/road_mot_fill_ramp.yml | ||
- !!inc/file positron/road_sec_fill_noramp.yml | ||
- !!inc/file positron/road_pri_fill_noramp.yml | ||
- !!inc/file positron/road_trunk_fill_noramp.yml | ||
- !!inc/file positron/road_mot_fill_noramp.yml | ||
- !!inc/file positron/rail.yml | ||
- !!inc/file positron/rail_dash.yml | ||
- !!inc/file positron/bridge_service_case.yml | ||
- !!inc/file positron/bridge_minor_case.yml | ||
- !!inc/file positron/bridge_sec_case.yml | ||
- !!inc/file positron/bridge_pri_case.yml | ||
- !!inc/file positron/bridge_trunk_case.yml | ||
- !!inc/file positron/bridge_mot_case.yml | ||
- !!inc/file positron/bridge_path.yml | ||
- !!inc/file positron/bridge_service_fill.yml | ||
- !!inc/file positron/bridge_minor_fill.yml | ||
- !!inc/file positron/bridge_sec_fill.yml | ||
- !!inc/file positron/bridge_pri_fill.yml | ||
- !!inc/file positron/bridge_trunk_fill.yml | ||
- !!inc/file positron/bridge_mot_fill.yml | ||
- !!inc/file positron/building.yml | ||
- !!inc/file positron/building-top.yml | ||
- !!inc/file positron/boundary_country_outline.yml | ||
- !!inc/file positron/boundary_country_inner.yml | ||
- !!inc/file positron/watername_ocean.yml | ||
- !!inc/file positron/watername_sea.yml | ||
- !!inc/file positron/watername_lake.yml | ||
- !!inc/file positron/watername_lake_line.yml | ||
- !!inc/file positron/place_hamlet.yml | ||
- !!inc/file positron/place_suburbs.yml | ||
- !!inc/file positron/place_villages.yml | ||
- !!inc/file positron/place_town.yml | ||
- !!inc/file positron/place_country_2.yml | ||
- !!inc/file positron/place_country_1.yml | ||
- !!inc/file positron/place_state.yml | ||
- !!inc/file positron/place_continent.yml | ||
- !!inc/file positron/place_city_r6.yml | ||
- !!inc/file positron/place_city_r5.yml | ||
- !!inc/file positron/place_city_dot_r7.yml | ||
- !!inc/file positron/place_city_dot_r4.yml | ||
- !!inc/file positron/place_city_dot_r2.yml | ||
- !!inc/file positron/place_city_dot_z7.yml | ||
- !!inc/file positron/place_capital_dot_z7.yml | ||
- !!inc/file positron/poi_stadium.yml | ||
- !!inc/file positron/poi_park.yml | ||
- !!inc/file positron/roadname_minor.yml | ||
- !!inc/file positron/roadname_sec.yml | ||
- !!inc/file positron/roadname_pri.yml | ||
- !!inc/file positron/roadname_major.yml | ||
- !!inc/file positron/housenumber.yml | ||
id: voyager | ||
owner: Carto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
id: aeroway-runway | ||
type: line | ||
source: carto | ||
source-layer: aeroway | ||
minzoom: 12 | ||
filter: | ||
- all | ||
- - '==' | ||
- class | ||
- runway | ||
layout: | ||
line-cap: square | ||
paint: | ||
line-width: | ||
stops: | ||
- - 11 | ||
- 1 | ||
- - 13 | ||
- 4 | ||
- - 14 | ||
- 6 | ||
- - 15 | ||
- 8 | ||
- - 16 | ||
- 10 | ||
line-color: '#e8e8e8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
id: aeroway-taxiway | ||
type: line | ||
source: carto | ||
source-layer: aeroway | ||
minzoom: 13 | ||
filter: | ||
- all | ||
- - '==' | ||
- class | ||
- taxiway | ||
paint: | ||
line-color: '#e8e8e8' | ||
line-width: | ||
stops: | ||
- - 13 | ||
- 0.5 | ||
- - 14 | ||
- 1 | ||
- - 15 | ||
- 2 | ||
- - 16 | ||
- 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
id: background | ||
type: background | ||
layout: | ||
visibility: visible | ||
paint: | ||
background-color: '#fafaf8' | ||
background-opacity: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
id: boundary_country_inner | ||
type: line | ||
source: carto | ||
source-layer: boundary | ||
minzoom: 0 | ||
filter: | ||
- all | ||
- - '==' | ||
- admin_level | ||
- 2 | ||
- - '==' | ||
- maritime | ||
- 0 | ||
layout: | ||
line-cap: round | ||
line-join: round | ||
paint: | ||
line-color: | ||
stops: | ||
- - 4 | ||
- '#f2e6e7' | ||
- - 5 | ||
- '#ebd6d8' | ||
- - 6 | ||
- '#ebd6d8' | ||
line-opacity: 1 | ||
line-width: | ||
stops: | ||
- - 3 | ||
- 1 | ||
- - 6 | ||
- 1.5 | ||
line-offset: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
id: boundary_country_outline | ||
type: line | ||
source: carto | ||
source-layer: boundary | ||
minzoom: 6 | ||
maxzoom: 24 | ||
filter: | ||
- all | ||
- - '==' | ||
- admin_level | ||
- 2 | ||
- - '==' | ||
- maritime | ||
- 0 | ||
layout: | ||
line-cap: round | ||
line-join: round | ||
paint: | ||
line-color: '#f3efed' | ||
line-opacity: 0.5 | ||
line-width: 8 | ||
line-offset: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
id: boundary_county | ||
type: line | ||
source: carto | ||
source-layer: boundary | ||
minzoom: 9 | ||
maxzoom: 24 | ||
filter: | ||
- all | ||
- - '==' | ||
- admin_level | ||
- 6 | ||
- - '==' | ||
- maritime | ||
- 0 | ||
paint: | ||
line-color: | ||
stops: | ||
- - 4 | ||
- '#ead5d7' | ||
- - 5 | ||
- '#ead5d7' | ||
- - 6 | ||
- '#e1c5c7' | ||
line-width: | ||
stops: | ||
- - 4 | ||
- 0.5 | ||
- - 7 | ||
- 1 | ||
line-dasharray: | ||
stops: | ||
- - 6 | ||
- - 1 | ||
- - 7 | ||
- - 2 | ||
- 2 |
Oops, something went wrong.