Skip to content

Commit

Permalink
create a new theme color for map attribution text
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Sep 26, 2023
1 parent c785969 commit 7fe488a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MapView/MapView.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const MapView = forwardRef<MapViewHandle, MapViewProps>(
latitude: initialState.location[1],
zoom: initialState.zoom,
}}
style={StyleUtils.getTextColorStyle(themeColors.shadow) as React.CSSProperties}
style={StyleUtils.getTextColorStyle(themeColors.mapAttributionText) as React.CSSProperties}
mapStyle={styleURL}
>
{waypoints?.map(({coordinate, markerComponent, id}) => {
Expand Down
1 change: 1 addition & 0 deletions src/styles/themes/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const darkTheme = {
QRLogo: colors.green400,
starDefaultBG: 'rgb(254, 228, 94)',
loungeAccessOverlay: colors.blue800,
mapAttributionText: colors.black,
};

darkTheme.PAGE_BACKGROUND_COLORS = {
Expand Down
1 change: 1 addition & 0 deletions src/styles/themes/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const lightTheme = {
QRLogo: colors.green400,
starDefaultBG: 'rgb(254, 228, 94)',
loungeAccessOverlay: colors.blue800,
mapAttributionText: colors.black,
};

lightTheme.PAGE_BACKGROUND_COLORS = {
Expand Down

0 comments on commit 7fe488a

Please sign in to comment.