aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/core/preloadImages.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/core/preloadImages.js')
-rw-r--r--modern/src/map/core/preloadImages.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/modern/src/map/core/preloadImages.js b/modern/src/map/core/preloadImages.js
index 043de588..31994804 100644
--- a/modern/src/map/core/preloadImages.js
+++ b/modern/src/map/core/preloadImages.js
@@ -55,7 +55,6 @@ export const mapIconKey = (category) => (mapIcons.hasOwnProperty(category) ? cat
export const mapImages = {};
const mapPalette = createPalette({
- primary: { main: indigo[900] },
neutral: { main: grey[500] },
});
@@ -65,7 +64,7 @@ export default async () => {
mapImages.direction = await prepareIcon(await loadImage(directionSvg));
await Promise.all(Object.keys(mapIcons).map(async (category) => {
const results = [];
- ['primary', 'success', 'error', 'neutral'].forEach((color) => {
+ ['info', 'success', 'error', 'neutral'].forEach((color) => {
results.push(loadImage(mapIcons[category]).then((icon) => {
mapImages[`${category}-${color}`] = prepareIcon(background, icon, mapPalette[color].main);
}));