File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ declare module '@mui/material/styles' {
1717 interface Theme {
1818 map : {
1919 basemapTileUrl : string ;
20+ basemapTileOverallColor ?: string ;
2021 routeColor : string ;
2122 routeTextColor : string ;
2223 } ;
@@ -25,6 +26,7 @@ declare module '@mui/material/styles' {
2526 interface ThemeOptions {
2627 map ?: {
2728 basemapTileUrl ?: string ;
29+ basemapTileOverallColor ?: string ;
2830 routeColor ?: string ;
2931 routeTextColor ?: string ;
3032 } ;
@@ -138,6 +140,7 @@ export const getTheme = (mode: ThemeModeEnum): Theme => {
138140 basemapTileUrl : isLightMode
139141 ? 'https://a.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png'
140142 : 'https://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png' ,
143+ basemapTileOverallColor : isLightMode ? '#f6f6f6' : '#0d0d0d' ,
141144 routeColor : chosenPalette . background . default ,
142145 routeTextColor : chosenPalette . text . primary ,
143146 } ,
You can’t perform that action at this time.
0 commit comments