Revert to SVG icon with improved design

- Change back from PNG to SVG for better n8n compatibility
- Update SVG icon with larger viewBox and Strike green color (#00D924)
- Improve lightning bolt design for better visibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-10 11:40:28 +01:00
parent 7aa6484486
commit acf92bd8f9
4 changed files with 8 additions and 8 deletions

View File

@ -8,7 +8,7 @@ class Strike {
this.description = {
displayName: 'Strike',
name: 'strike',
icon: 'file:strike.png',
icon: 'file:strike.svg',
group: ['transform'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',

View File

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none">
<rect width="32" height="32" rx="4" fill="#000000"/>
<path d="M22 10H14L12 16H18L10 22L20 14H14L16 10H22Z" fill="#CCFF00"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
<rect width="64" height="64" rx="8" fill="#000000"/>
<path d="M42 18H26L22 32H34L18 46L38 30H26L30 18H42Z" fill="#00D924" stroke="#00D924" stroke-width="1.5" stroke-linejoin="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 268 B

View File

@ -35,7 +35,7 @@ export class Strike implements INodeType {
description: INodeTypeDescription = {
displayName: 'Strike',
name: 'strike',
icon: 'file:strike.png',
icon: 'file:strike.svg',
group: ['transform'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',

View File

@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="none">
<rect width="32" height="32" rx="4" fill="#000000"/>
<path d="M22 10H14L12 16H18L10 22L20 14H14L16 10H22Z" fill="#CCFF00"/>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
<rect width="64" height="64" rx="8" fill="#000000"/>
<path d="M42 18H26L22 32H34L18 46L38 30H26L30 18H42Z" fill="#00D924" stroke="#00D924" stroke-width="1.5" stroke-linejoin="round"/>
</svg>

Before

Width:  |  Height:  |  Size: 208 B

After

Width:  |  Height:  |  Size: 268 B