From 4473b0da646dbe7bd829ccae4d2116b39c8f19e1 Mon Sep 17 00:00:00 2001 From: Himanshu-Sangshetti Date: Thu, 6 Aug 2026 00:14:41 +0530 Subject: [PATCH] fix(n8n): distinct light/dark icon files (0.1.4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.1.3 failed vetting on @n8n/community-nodes/icon-validation: light and dark icon variants must be DIFFERENT files, but both pointed at mem0.svg. Add a distinct light-theme variant (mem0-light.svg, brand purple #8F74E0 — the existing mem0.svg is white and only reads on dark backgrounds) and wire icon = { light: 'file:mem0-light.svg', dark: 'file:mem0.svg' } on both the node and the credential. Verified locally: both icon-validation and icon-prefer-themed-variants pass (0 problems). Matches the verified @probo/n8n-nodes-probo pattern (probo-light.svg + probo.svg). --- .../credentials/Mem0Api.credentials.ts | 2 +- .../n8n-nodes-mem0/credentials/mem0-light.svg | 19 +++++++++++++++++++ .../n8n-nodes-mem0/nodes/Mem0/Mem0.node.ts | 2 +- .../n8n-nodes-mem0/nodes/Mem0/mem0-light.svg | 19 +++++++++++++++++++ integrations/n8n-nodes-mem0/package.json | 2 +- 5 files changed, 41 insertions(+), 3 deletions(-) create mode 100644 integrations/n8n-nodes-mem0/credentials/mem0-light.svg create mode 100644 integrations/n8n-nodes-mem0/nodes/Mem0/mem0-light.svg diff --git a/integrations/n8n-nodes-mem0/credentials/Mem0Api.credentials.ts b/integrations/n8n-nodes-mem0/credentials/Mem0Api.credentials.ts index eb5bc5ad2..edc192a06 100644 --- a/integrations/n8n-nodes-mem0/credentials/Mem0Api.credentials.ts +++ b/integrations/n8n-nodes-mem0/credentials/Mem0Api.credentials.ts @@ -11,7 +11,7 @@ export class Mem0Api implements ICredentialType { displayName = 'Mem0 API'; - icon: Icon = { light: 'file:mem0.svg', dark: 'file:mem0.svg' }; + icon: Icon = { light: 'file:mem0-light.svg', dark: 'file:mem0.svg' }; documentationUrl = 'https://docs.mem0.ai/platform/quickstart'; diff --git a/integrations/n8n-nodes-mem0/credentials/mem0-light.svg b/integrations/n8n-nodes-mem0/credentials/mem0-light.svg new file mode 100644 index 000000000..77bf5ef53 --- /dev/null +++ b/integrations/n8n-nodes-mem0/credentials/mem0-light.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/integrations/n8n-nodes-mem0/nodes/Mem0/Mem0.node.ts b/integrations/n8n-nodes-mem0/nodes/Mem0/Mem0.node.ts index b734e1db7..621b2ef00 100644 --- a/integrations/n8n-nodes-mem0/nodes/Mem0/Mem0.node.ts +++ b/integrations/n8n-nodes-mem0/nodes/Mem0/Mem0.node.ts @@ -21,7 +21,7 @@ export class Mem0 implements INodeType { description: INodeTypeDescription = { displayName: 'Mem0', name: 'mem0', - icon: { light: 'file:mem0.svg', dark: 'file:mem0.svg' }, + icon: { light: 'file:mem0-light.svg', dark: 'file:mem0.svg' }, group: ['transform'], version: 1, subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}', diff --git a/integrations/n8n-nodes-mem0/nodes/Mem0/mem0-light.svg b/integrations/n8n-nodes-mem0/nodes/Mem0/mem0-light.svg new file mode 100644 index 000000000..77bf5ef53 --- /dev/null +++ b/integrations/n8n-nodes-mem0/nodes/Mem0/mem0-light.svg @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/integrations/n8n-nodes-mem0/package.json b/integrations/n8n-nodes-mem0/package.json index e3107b6fe..abc45bbcc 100644 --- a/integrations/n8n-nodes-mem0/package.json +++ b/integrations/n8n-nodes-mem0/package.json @@ -1,6 +1,6 @@ { "name": "@mem0/n8n-nodes-mem0", - "version": "0.1.3", + "version": "0.1.4", "description": "n8n community node for Mem0 — the memory layer for AI agents. Add, search, get, update, and delete long-term memories.", "keywords": [ "n8n-community-node-package",