From 7ab97c162e7bf7db765f9dc04634c37a6b3d3151 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sun, 27 Aug 2023 17:14:47 -0700 Subject: Info instead of primary color --- modern/src/map/core/preloadImages.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modern/src/map') 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); })); -- cgit v1.2.3