Skip to content

Commit a066aaa

Browse files
committed
feat(SWRDataLabLight): Tweak major cities list (Closes #145)
1 parent 60cedaf commit a066aaa

3 files changed

Lines changed: 6 additions & 10 deletions

File tree

components/src/maplibre/MapStyle/components/Admin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export default function makeAdmin(): any {
8080
paint: {
8181
'line-color': {
8282
stops: [
83-
[7, '#cecdcd'],
83+
[7, '#dedede'],
8484
[10, '#161616']
8585
]
8686
},

components/src/maplibre/MapStyle/components/PlaceLabels.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ const majorCities = [
99
'Berlin',
1010
'Stuttgart',
1111
'München',
12-
'Mainz',
13-
'Bremen',
14-
'Düsseldorf',
12+
'Frankfurt',
1513
'Hamburg',
16-
'Bremen',
17-
'Dresden',
18-
'Erfurt'
14+
'Mainz'
1915
];
2016
const majorCountries = [
2117
'Deutschland',
@@ -159,7 +155,7 @@ export default function makePlaceLabels() {
159155
},
160156
{
161157
id: 'label-place-major-city',
162-
filter: ['all', ['in', 'name_de', ...majorCities]],
158+
filter: ['in', 'name_de', ...majorCities],
163159
minzoom: 5,
164160
maxzoom: 12,
165161
layout: {

components/src/maplibre/MapStyle/tokens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const tokens = {
77
water_light: 'hsl(210, 41%, 90%)',
88
water_ocean: 'hsl(210, 25%, 96%)',
99
marsh: 'hsl(200, 14%, 97%)',
10-
grass: 'hsl(140, 27%, 96%)',
11-
grass_dark: 'hsl(148, 52%, 94%)',
10+
grass: 'hsl(140, 17%, 97%)',
11+
grass_dark: 'hsl(148, 32%, 95%)',
1212
street_primary: 'hsl(0, 0%, 96%)',
1313
street_primary_case: 'hsl(240, 1%, 79%)',
1414
street_secondary: 'hsl(0, 0%, 95%)',

0 commit comments

Comments
 (0)