fix(n8n): distinct light/dark icon files (0.1.4)

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).
This commit is contained in:
Himanshu-Sangshetti
2026-08-06 00:14:41 +05:30
parent 3f39fba28f
commit 4473b0da64
5 changed files with 41 additions and 3 deletions
@@ -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';