feat: Add support for dark mode node icons and colors (#9412)
Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
This commit is contained in:
@@ -13,7 +13,7 @@ export class Vonage implements INodeType {
|
||||
displayName: 'Vonage',
|
||||
name: 'vonage',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
|
||||
icon: 'file:vonage.png',
|
||||
icon: { light: 'file:vonage.svg', dark: 'file:vonage.dark.svg' },
|
||||
group: ['input'],
|
||||
version: 1,
|
||||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
|
||||
3
packages/nodes-base/nodes/Vonage/vonage.dark.svg
Normal file
3
packages/nodes-base/nodes/Vonage/vonage.dark.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.89404 3H0L11.2583 28.5894C11.3377 28.7748 11.6291 28.7748 11.7086 28.5894L15.4437 19.7682L7.89404 3ZM31.947 3C31.947 3 19.8411 30.7086 18.2252 33.2781C16.3444 36.245 15.0993 37.3841 12.7682 37.755C12.7417 37.755 12.7417 37.7815 12.7417 37.8079C12.7417 37.8344 12.7682 37.8609 12.7947 37.8609H20.0265C23.1523 37.8609 25.4305 35.2384 26.6755 32.9338C28.106 30.3113 40 3.02649 40 3.02649H31.947V3Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 526 B |
Binary file not shown.
|
Before Width: | Height: | Size: 855 B |
3
packages/nodes-base/nodes/Vonage/vonage.svg
Normal file
3
packages/nodes-base/nodes/Vonage/vonage.svg
Normal file
@@ -0,0 +1,3 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.89404 3H0L11.2583 28.5894C11.3377 28.7748 11.6291 28.7748 11.7086 28.5894L15.4437 19.7682L7.89404 3ZM31.947 3C31.947 3 19.8411 30.7086 18.2252 33.2781C16.3444 36.245 15.0993 37.3841 12.7682 37.755C12.7417 37.755 12.7417 37.7815 12.7417 37.8079C12.7417 37.8344 12.7682 37.8609 12.7947 37.8609H20.0265C23.1523 37.8609 25.4305 35.2384 26.6755 32.9338C28.106 30.3113 40 3.02649 40 3.02649H31.947V3Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 526 B |
Reference in New Issue
Block a user