mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
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:
@@ -16,7 +16,7 @@ export class ConvertToFile implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Convert to File',
|
||||
name: 'convertToFile',
|
||||
icon: 'file:convertToFile.svg',
|
||||
icon: { light: 'file:convertToFile.svg', dark: 'file:convertToFile.dark.svg' },
|
||||
group: ['input'],
|
||||
version: [1, 1.1],
|
||||
description: 'Convert JSON data to binary data',
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.7619 2C13.2437 2 12.8236 2.42009 12.8236 2.93831V15.2526C13.3199 15.4643 13.7851 15.772 14.191 16.1757L21.2283 23.1739C22.0548 23.9958 22.5195 25.1132 22.5195 26.2788C22.5195 27.4443 22.0548 28.5618 21.2283 29.3837L14.191 36.3819C13.785 36.7856 13.3199 37.0932 12.8236 37.305V37.3527C12.8236 37.8709 13.2437 38.291 13.7619 38.291H39.0617C39.5799 38.291 40 37.8709 40 37.3527L40 15.794H27.1443C26.6261 15.794 26.206 15.3739 26.206 14.8557V2H13.7619Z" fill="#766DFB"/>
|
||||
<path d="M28.8645 2C28.7781 2 28.7081 2.07002 28.7081 2.15639V12.8227C28.7081 13.0818 28.9182 13.2919 29.1773 13.2919H39.8436C39.93 13.2919 40 13.2219 40 13.1355L40 12.6263C40 12.3778 39.9014 12.1395 39.726 11.9636L30.061 2.27561C29.885 2.09916 29.646 2 29.3967 2H28.8645Z" fill="#766DFB"/>
|
||||
<path d="M9.77268 34.6003C9.04186 33.8654 9.04517 32.6772 9.78007 31.9464L13.6315 28.1163L0.938311 28.1163C0.420096 28.1163 -2.26519e-08 27.6962 0 27.178L8.20297e-08 25.3014C1.04682e-07 24.7832 0.420095 24.3631 0.938311 24.3631H13.5529L9.78007 20.6112C9.04517 19.8804 9.04186 18.6922 9.77268 17.9573C10.5035 17.2224 11.6917 17.2191 12.4266 17.9499L19.4639 24.9481C19.8181 25.3004 20.0173 25.7793 20.0173 26.2788C20.0173 26.7783 19.8181 27.2572 19.4639 27.6095L12.4266 34.6077C11.6917 35.3385 10.5035 35.3352 9.77268 34.6003Z" fill="#766DFB"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -1,12 +1,5 @@
|
||||
<svg width="512" height="512" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1147_463)">
|
||||
<path d="M170 39.8081C170 33.2867 175.287 28 181.808 28H338.41V189.59C338.41 196.218 343.782 201.59 350.41 201.59H512L512 472.893C512 479.415 506.713 484.701 500.192 484.701H181.808C177.972 484.701 174.564 482.873 172.407 480.039C175.619 477.958 178.665 475.515 181.488 472.708L271.488 383.208C282.057 372.697 288 358.406 288 343.5C288 328.594 282.057 314.303 271.488 303.792L181.488 214.292C177.969 210.793 174.103 207.858 170 205.487V39.8081Z" fill="#2244FF"/>
|
||||
<path d="M369.898 34C369.898 30.6863 372.584 28 375.898 28H378.564C381.7 28 384.708 29.2479 386.923 31.4684L508.551 153.386C510.76 155.6 512 158.599 512 161.726L512 164.102C512 167.416 509.314 170.102 506 170.102H375.898C372.584 170.102 369.898 167.416 369.898 164.102V34Z" fill="#2244FF"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M125.077 415.982C115.678 425.329 115.636 440.525 124.982 449.923C134.329 459.322 149.525 459.364 158.923 450.018L248.923 360.518C253.453 356.013 256 349.888 256 343.5C256 337.112 253.453 330.987 248.923 326.482L158.923 236.982C149.525 227.636 134.329 227.678 124.982 237.077C115.636 246.475 115.678 261.671 125.077 271.018L173.327 319L12 319C5.37257 319 -4.12516e-06 324.373 -4.41485e-06 331L-5.46392e-06 355C-5.75362e-06 361.627 5.37258 367 12 367L174.333 367L125.077 415.982Z" fill="#2244FF"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1147_463">
|
||||
<rect width="512" height="512" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.7619 2C13.2437 2 12.8236 2.42009 12.8236 2.93831V15.2526C13.3199 15.4643 13.7851 15.772 14.191 16.1757L21.2283 23.1739C22.0548 23.9958 22.5195 25.1132 22.5195 26.2788C22.5195 27.4443 22.0548 28.5618 21.2283 29.3837L14.191 36.3819C13.785 36.7856 13.3199 37.0932 12.8236 37.305V37.3527C12.8236 37.8709 13.2437 38.291 13.7619 38.291H39.0617C39.5799 38.291 40 37.8709 40 37.3527L40 15.794H27.1443C26.6261 15.794 26.206 15.3739 26.206 14.8557V2H13.7619Z" fill="#3A42E9"/>
|
||||
<path d="M28.8645 2C28.7781 2 28.7081 2.07002 28.7081 2.15639V12.8227C28.7081 13.0818 28.9182 13.2919 29.1773 13.2919H39.8436C39.93 13.2919 40 13.2219 40 13.1355L40 12.6263C40 12.3778 39.9014 12.1395 39.726 11.9636L30.061 2.27561C29.885 2.09916 29.646 2 29.3967 2H28.8645Z" fill="#3A42E9"/>
|
||||
<path d="M9.77268 34.6003C9.04186 33.8654 9.04517 32.6772 9.78007 31.9464L13.6315 28.1163L0.938311 28.1163C0.420096 28.1163 -2.26519e-08 27.6962 0 27.178L8.20297e-08 25.3014C1.04682e-07 24.7832 0.420095 24.3631 0.938311 24.3631H13.5529L9.78007 20.6112C9.04517 19.8804 9.04186 18.6922 9.77268 17.9573C10.5035 17.2224 11.6917 17.2191 12.4266 17.9499L19.4639 24.9481C19.8181 25.3004 20.0173 25.7793 20.0173 26.2788C20.0173 26.7783 19.8181 27.2572 19.4639 27.6095L12.4266 34.6077C11.6917 35.3385 10.5035 35.3352 9.77268 34.6003Z" fill="#3A42E9"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.4 KiB |
Reference in New Issue
Block a user