Skip to content

Commit

Permalink
Increase brightness of stop text and switch to Semibold
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Jan 6, 2024
1 parent 41bb8eb commit 763156a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/components/addLayers/addStops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ export function addStopsLayers(map:any, darkMode:boolean, layerspercategory:any)
//'icon-ignore-placement': false,
//'text-allow-overlap': true,
//'symbol-avoid-edges': false,
'text-font': ['Open Sans Bold', 'Arial Unicode MS Regular']
'text-font': ['Open Sans Semibold', 'Arial Unicode MS Regular']
},
paint: {
'text-color': darkMode ? '#ddd6fe' : '#2a2a2a',
'text-color': darkMode ? '#eee6fe' : '#2a2a2a',
'text-halo-color': darkMode ? '#0f172a' : '#ffffff',
'text-halo-width': 0.4
},
Expand Down Expand Up @@ -111,7 +111,7 @@ export function addStopsLayers(map:any, darkMode:boolean, layerspercategory:any)
//'icon-ignore-placement': false,
//'text-allow-overlap': true,
//'symbol-avoid-edges': false,
'text-font': ['Open Sans Bold', 'Arial Unicode MS Regular'],
'text-font': ['Open Sans Semibold', 'Arial Unicode MS Regular'],

},
paint: {
Expand Down Expand Up @@ -188,7 +188,7 @@ map.addLayer({
//'icon-ignore-placement': false,
//'text-allow-overlap': true,
//'symbol-avoid-edges': false,
'text-font': ['Open Sans Bold', 'Arial Unicode MS Regular'],
'text-font': ['Open Sans Semibold', 'Arial Unicode MS Regular'],

},
paint: {
Expand Down Expand Up @@ -229,12 +229,12 @@ map.addLayer({
//'icon-ignore-placement': false,
//'text-allow-overlap': true,
//'symbol-avoid-edges': false,
'text-font': ['Open Sans Bold', 'Arial Unicode MS Regular'],
'text-font': ['Open Sans Semibold', 'Arial Unicode MS Regular'],

},
paint: {

'text-color': darkMode ? '#ddd6fe' : '#2a2a2a',
'text-color': darkMode ? '#eee6fe' : '#2a2a2a',
'text-halo-color': darkMode ? '#0f172a' : '#ffffff',
'text-halo-width': 1
},
Expand Down Expand Up @@ -278,12 +278,12 @@ map.addLayer({
//'icon-ignore-placement': false,
//'text-allow-overlap': true,
//'symbol-avoid-edges': false,
'text-font': ['Open Sans Bold', 'Arial Unicode MS Regular'],
'text-font': ['Open Sans Semibold', 'Arial Unicode MS Regular'],

},
paint: {

'text-color': darkMode ? '#ddd6fe' : '#2a2a2a',
'text-color': darkMode ? '#eee6fe' : '#2a2a2a',
'text-halo-color': darkMode ? '#0f172a' : '#ffffff',
'text-halo-width': 1
},
Expand Down

0 comments on commit 763156a

Please sign in to comment.