Skip to content

Commit 63ae9c5

Browse files
committed
adjusted alt route stop colors
1 parent c2961fb commit 63ae9c5

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/app/components/GtfsVisualizationMap.layers.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const RoutesWhiteLayer = (
5656
paint: {
5757
'line-color': generateRouteOutlineColorExpression(
5858
theme.map.basemapTileOverallColor ?? '#ffffff',
59-
theme.palette.mode === 'light' ? theme.palette.grey[500] : '#ffffff1a',
59+
theme.palette.grey[500],
6060
),
6161
'line-opacity': 1,
6262
'line-width': ['match', ['get', 'route_type'], '3', 5, '1', 10, 7],
@@ -115,9 +115,7 @@ export const RoutesWhiteHighlightLayer = (
115115
paint: {
116116
'line-color': generateRouteOutlineColorExpression(
117117
theme.map.basemapTileOverallColor ?? '#ffffff',
118-
theme.palette.mode === 'light'
119-
? theme.palette.grey[500]
120-
: theme.palette.grey[200],
118+
theme.palette.grey[500],
121119
),
122120
'line-opacity': 1,
123121
'line-width': ['match', ['get', 'route_type'], '3', 10, '1', 14, 10],
@@ -200,7 +198,7 @@ export const StopsHighlightLayer = (
200198
'circle-color': generateStopColorExpression(
201199
stopHighlightColorMap,
202200
theme.map.basemapTileOverallColor ?? '#ffffff',
203-
theme.palette.text.primary,
201+
theme.palette.grey[500],
204202
),
205203
'circle-opacity': 1,
206204
},

0 commit comments

Comments
 (0)