diff --git a/packages/sketch/src/commands/icons/shared.js b/packages/sketch/src/commands/icons/shared.js index 106ccbd0c116..3f05cf7a3361 100644 --- a/packages/sketch/src/commands/icons/shared.js +++ b/packages/sketch/src/commands/icons/shared.js @@ -105,6 +105,7 @@ export function syncIconSymbols({ IDL_SKETCH_LIBRARY_METADATA, }); + // import shared color styles from IDL Sketch library idlSketchLibrary .getImportableLayerStyleReferencesForDocument(document) .forEach((layerStyle) => { @@ -113,6 +114,7 @@ export function syncIconSymbols({ } }); + // set default icon color shared style const sharedStyle = [...document.sharedLayerStyles].find((sharedLayerStyle) => sharedLayerStyle?.name.endsWith('black') );