diff --git a/packages/sketch/src/commands/colors/generate.js b/packages/sketch/src/commands/colors/generate.js index 8fdb78149675..ce8760753427 100644 --- a/packages/sketch/src/commands/colors/generate.js +++ b/packages/sketch/src/commands/colors/generate.js @@ -24,7 +24,7 @@ export function generate() { sharedStyles, (sharedStyle) => { const { name } = sharedStyle; - const [_category, _type, swatch] = name.split(' / '); + const [_category, swatch] = name.split(' / '); switch (swatch) { case 'black': return 'black'; @@ -43,7 +43,7 @@ export function generate() { let Y_OFFSET = 0; const swatches = groupByKey(colors, (sharedStyle) => { - const [_category, _type, swatch] = sharedStyle.name.split('/'); + const [_category, swatch] = sharedStyle.name.split('/'); return swatch; });