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:
Elias Meire 2024-06-06 13:34:30 +02:00 committed by GitHub
parent 68e856d155
commit 600013a1ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
294 changed files with 1421 additions and 519 deletions

View file

@ -235,6 +235,7 @@ export class Agent implements INodeType {
displayName: 'AI Agent',
name: 'agent',
icon: 'fa:robot',
iconColor: 'black',
group: ['transform'],
version: [1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6],
description: 'Generates an action plan and executes it. Can use external tools.',

View file

@ -71,7 +71,7 @@ export class EmbeddingsOpenAi implements INodeType {
description: INodeTypeDescription = {
displayName: 'Embeddings OpenAI',
name: 'embeddingsOpenAi',
icon: 'file:openAi.svg',
icon: { light: 'file:openAiLight.svg', dark: 'file:openAiLight.dark.svg' },
credentials: [
{
name: 'openAiApi',

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="260" preserveAspectRatio="xMidYMid"><path fill="#7D7D87" d="M239.184 106.203a64.72 64.72 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.72 64.72 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.67 64.67 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.77 64.77 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483m-97.56 136.338a48.4 48.4 0 0 1-31.105-11.255l1.535-.87 51.67-29.825a8.6 8.6 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601M37.158 197.93a48.35 48.35 0 0 1-5.781-32.589l1.534.921 51.722 29.826a8.34 8.34 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803M23.549 85.38a48.5 48.5 0 0 1 25.58-21.333v61.39a8.29 8.29 0 0 0 4.195 7.316l62.874 36.272-21.845 12.636a.82.82 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405zm179.466 41.695-63.08-36.63L161.73 77.86a.82.82 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.54 8.54 0 0 0-4.4-7.213m21.742-32.69-1.535-.922-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.72.72 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391zM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87-51.67 29.825a8.6 8.6 0 0 0-4.246 7.367zm11.868-25.58L128.067 97.3l28.188 16.218v32.434l-28.086 16.218-28.188-16.218z"/></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6184 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2557 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0242 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="#C3C9D5"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6184 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2557 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0242 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="#7D7D87"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -16,7 +16,7 @@ export class LmChatOpenAi implements INodeType {
displayName: 'OpenAI Chat Model',
// eslint-disable-next-line n8n-nodes-base/node-class-description-name-miscased
name: 'lmChatOpenAi',
icon: 'file:openAi.svg',
icon: { light: 'file:openAiLight.svg', dark: 'file:openAiLight.dark.svg' },
group: ['transform'],
version: 1,
description: 'For advanced usage with an AI chain',

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="260" preserveAspectRatio="xMidYMid"><path fill="#7D7D87" d="M239.184 106.203a64.72 64.72 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.72 64.72 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.67 64.67 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.77 64.77 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483m-97.56 136.338a48.4 48.4 0 0 1-31.105-11.255l1.535-.87 51.67-29.825a8.6 8.6 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601M37.158 197.93a48.35 48.35 0 0 1-5.781-32.589l1.534.921 51.722 29.826a8.34 8.34 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803M23.549 85.38a48.5 48.5 0 0 1 25.58-21.333v61.39a8.29 8.29 0 0 0 4.195 7.316l62.874 36.272-21.845 12.636a.82.82 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405zm179.466 41.695-63.08-36.63L161.73 77.86a.82.82 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.54 8.54 0 0 0-4.4-7.213m21.742-32.69-1.535-.922-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.72.72 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391zM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87-51.67 29.825a8.6 8.6 0 0 0-4.246 7.367zm11.868-25.58L128.067 97.3l28.188 16.218v32.434l-28.086 16.218-28.188-16.218z"/></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6184 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2557 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0242 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="#C3C9D5"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6184 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2557 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0242 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="#7D7D87"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -28,7 +28,7 @@ export class LmOpenAi implements INodeType {
displayName: 'OpenAI Model',
// eslint-disable-next-line n8n-nodes-base/node-class-description-name-miscased
name: 'lmOpenAi',
icon: 'file:openAi.svg',
icon: { light: 'file:openAiLight.svg', dark: 'file:openAiLight.dark.svg' },
group: ['transform'],
version: 1,
description: 'For advanced usage with an AI chain',

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="260" preserveAspectRatio="xMidYMid"><path fill="#7D7D87" d="M239.184 106.203a64.72 64.72 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.72 64.72 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.67 64.67 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.77 64.77 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483m-97.56 136.338a48.4 48.4 0 0 1-31.105-11.255l1.535-.87 51.67-29.825a8.6 8.6 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601M37.158 197.93a48.35 48.35 0 0 1-5.781-32.589l1.534.921 51.722 29.826a8.34 8.34 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803M23.549 85.38a48.5 48.5 0 0 1 25.58-21.333v61.39a8.29 8.29 0 0 0 4.195 7.316l62.874 36.272-21.845 12.636a.82.82 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405zm179.466 41.695-63.08-36.63L161.73 77.86a.82.82 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.54 8.54 0 0 0-4.4-7.213m21.742-32.69-1.535-.922-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.72.72 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391zM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87-51.67 29.825a8.6 8.6 0 0 0-4.246 7.367zm11.868-25.58L128.067 97.3l28.188 16.218v32.434l-28.086 16.218-28.188-16.218z"/></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6184 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2557 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0242 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="#C3C9D5"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6184 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2557 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0242 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="#7D7D87"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -68,6 +68,7 @@ export class MemoryManager implements INodeType {
displayName: 'Chat Memory Manager',
name: 'memoryManager',
icon: 'fa:database',
iconColor: 'black',
group: ['transform'],
version: [1, 1.1],
description: 'Manage chat messages memory and use it in the workflow',

View file

@ -19,6 +19,7 @@ export class ChatTrigger implements INodeType {
displayName: 'Chat Trigger',
name: 'chatTrigger',
icon: 'fa:comments',
iconColor: 'black',
group: ['trigger'],
version: 1,
description: 'Runs the workflow when an n8n generated webchat is submitted',

View file

@ -12,6 +12,7 @@ import type {
INodeType,
ILoadOptionsFunctions,
INodeListSearchResult,
Icon,
} from 'n8n-workflow';
import type { Embeddings } from '@langchain/core/embeddings';
import type { Document } from '@langchain/core/documents';
@ -27,7 +28,7 @@ interface NodeMeta {
name: string;
description: string;
docsUrl: string;
icon: string;
icon: Icon;
credentials?: INodeCredentialDescription[];
}
interface VectorStoreNodeConstructorArgs {

View file

@ -67,7 +67,7 @@ const configureNodeInputs = (resource: string, operation: string, hideTools: str
export const versionDescription: INodeTypeDescription = {
displayName: 'OpenAI',
name: 'openAi',
icon: 'file:openAi.svg',
icon: { light: 'file:openAi.svg', dark: 'file:openAi.dark.svg' },
group: ['transform'],
version: [1, 1.1, 1.2, 1.3],
subtitle: `={{(${prettifyOperation})($parameter.resource, $parameter.operation)}}`,

View 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="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6185 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2556 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0241 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="260" preserveAspectRatio="xMidYMid"><path d="M239.184 106.203a64.72 64.72 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.72 64.72 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.67 64.67 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.77 64.77 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483m-97.56 136.338a48.4 48.4 0 0 1-31.105-11.255l1.535-.87 51.67-29.825a8.6 8.6 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601M37.158 197.93a48.35 48.35 0 0 1-5.781-32.589l1.534.921 51.722 29.826a8.34 8.34 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803M23.549 85.38a48.5 48.5 0 0 1 25.58-21.333v61.39a8.29 8.29 0 0 0 4.195 7.316l62.874 36.272-21.845 12.636a.82.82 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405zm179.466 41.695-63.08-36.63L161.73 77.86a.82.82 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.54 8.54 0 0 0-4.4-7.213m21.742-32.69-1.535-.922-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.72.72 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391zM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87-51.67 29.825a8.6 8.6 0 0 0-4.246 7.367zm11.868-25.58L128.067 97.3l28.188 16.218v32.434l-28.086 16.218-28.188-16.218z"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M36.8671 16.3718C37.7746 13.648 37.4621 10.6642 36.0108 8.18661C33.8282 4.38653 29.4407 2.43149 25.1556 3.35151C23.2493 1.20396 20.5105 -0.0173148 17.6392 0.000185533C13.2591 -0.00981468 9.37273 2.81025 8.0252 6.97783C5.21139 7.5541 2.78258 9.31538 1.3613 11.8117C-0.837493 15.6018 -0.336232 20.3794 2.60133 23.6294C1.69381 26.3532 2.00632 29.3371 3.4576 31.8146C5.64015 35.6147 10.0277 37.5697 14.3128 36.6497C16.2179 38.7973 18.9579 40.0185 21.8292 39.9998C26.2118 40.011 30.0994 37.1885 31.4469 33.0171C34.2608 32.4409 36.6896 30.6796 38.1108 28.1833C40.3071 24.3932 39.8046 19.6194 36.8683 16.3693L36.8671 16.3718ZM21.8317 37.386C20.078 37.3885 18.3792 36.7747 17.0329 35.6509C17.0941 35.6185 17.2004 35.5597 17.2691 35.5172L25.2343 30.9171C25.6418 30.6858 25.8918 30.2521 25.8893 29.7833V18.5543L29.2556 20.4981C29.2919 20.5156 29.3157 20.5506 29.3207 20.5906V29.8896C29.3157 34.0247 25.9668 37.3772 21.8317 37.386ZM5.7264 30.5071C4.84763 28.9896 4.53137 27.2108 4.83263 25.4845C4.89138 25.5195 4.99513 25.5832 5.06888 25.6257L13.0341 30.2258C13.4378 30.4621 13.9378 30.4621 14.3428 30.2258L24.0668 24.6107V28.4983C24.0693 28.5383 24.0505 28.577 24.0193 28.602L15.9679 33.2509C12.3815 35.3159 7.80144 34.0884 5.72765 30.5071H5.7264ZM3.6301 13.1205C4.50512 11.6004 5.8864 10.4379 7.53144 9.83415C7.53144 9.9029 7.52769 10.0241 7.52769 10.1092V19.3106C7.52519 19.7781 7.77519 20.2119 8.18145 20.4431L17.9054 26.057L14.5391 28.0008C14.5053 28.0233 14.4628 28.027 14.4253 28.0108L6.37266 23.3582C2.79383 21.2856 1.56631 16.7068 3.62885 13.1217L3.6301 13.1205ZM31.2882 19.5569L21.5642 13.9417L24.9306 11.9992C24.9643 11.9767 25.0068 11.9729 25.0443 11.9892L33.097 16.638C36.6821 18.7093 37.9108 23.2957 35.8395 26.8808C34.9633 28.3983 33.5832 29.5608 31.9395 30.1658V20.6894C31.9432 20.2219 31.6945 19.7894 31.2894 19.5569H31.2882ZM34.6383 14.5142C34.5795 14.478 34.4758 14.4155 34.402 14.373L26.4368 9.77289C26.0331 9.53664 25.5331 9.53664 25.1281 9.77289L15.4041 15.388V11.5004C15.4016 11.4604 15.4204 11.4217 15.4516 11.3967L23.503 6.75158C27.0894 4.68279 31.6745 5.91406 33.742 9.50164C34.6158 11.0167 34.932 12.7905 34.6358 14.5142H34.6383ZM13.5741 21.4431L10.2065 19.4994C10.1702 19.4819 10.1465 19.4468 10.1415 19.4068V10.1079C10.144 5.96781 13.5028 2.61274 17.6429 2.61524C19.3942 2.61524 21.0892 3.23025 22.4355 4.35028C22.3743 4.38278 22.2693 4.44153 22.1992 4.48403L14.2341 9.08413C13.8266 9.31538 13.5766 9.74789 13.5791 10.2167L13.5741 21.4406V21.4431ZM15.4029 17.5006L19.7342 14.9993L24.0655 17.4993V22.5007L19.7342 25.0007L15.4029 22.5007V17.5006Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -101,11 +101,11 @@ export abstract class DirectoryLoader {
tempNode.description.name = fullNodeName;
this.fixIconPath(tempNode.description, filePath);
this.fixIconPaths(tempNode.description, filePath);
if ('nodeVersions' in tempNode) {
for (const versionNode of Object.values(tempNode.nodeVersions)) {
this.fixIconPath(versionNode.description, filePath);
this.fixIconPaths(versionNode.description, filePath);
}
for (const version of Object.values(tempNode.nodeVersions)) {
@ -169,7 +169,7 @@ export abstract class DirectoryLoader {
// include the credential type in the predefined credentials (HTTP node)
Object.assign(tempCredential, { toJSON });
this.fixIconPath(tempCredential, filePath);
this.fixIconPaths(tempCredential, filePath);
} catch (e) {
if (e instanceof TypeError) {
throw new ApplicationError(
@ -281,14 +281,29 @@ export abstract class DirectoryLoader {
}
}
private fixIconPath(
private getIconPath(icon: string, filePath: string) {
const iconPath = path.join(path.dirname(filePath), icon.replace('file:', ''));
const relativePath = path.relative(this.directory, iconPath);
return `icons/${this.packageName}/${relativePath}`;
}
private fixIconPaths(
obj: INodeTypeDescription | INodeTypeBaseDescription | ICredentialType,
filePath: string,
) {
if (obj.icon?.startsWith('file:')) {
const iconPath = path.join(path.dirname(filePath), obj.icon.substring(5));
const relativePath = path.relative(this.directory, iconPath);
obj.iconUrl = `icons/${this.packageName}/${relativePath}`;
const { icon } = obj;
if (!icon) return;
if (typeof icon === 'string') {
if (icon.startsWith('file:')) {
obj.iconUrl = this.getIconPath(icon, filePath);
delete obj.icon;
}
} else if (icon.light.startsWith('file:') && icon.dark.startsWith('file:')) {
obj.iconUrl = {
light: this.getIconPath(icon.light, filePath),
dark: this.getIconPath(icon.dark, filePath),
};
delete obj.icon;
}
}

View file

@ -83,7 +83,7 @@ const badgeSize = computed((): number => {
return 10;
case 18:
default:
return 8;
return 12;
}
});
@ -142,9 +142,10 @@ const badgeStyleData = computed((): Record<string, string> => {
text-align: center;
}
.nodeIconImage {
width: 100%;
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
}
.badge {

View file

@ -47,7 +47,7 @@
--color-canvas-background-l: 18%;
--color-canvas-dot: var(--prim-gray-670);
--color-canvas-read-only-line: var(--prim-gray-800);
--color-canvas-node-background: var(--prim-gray-40);
--color-canvas-node-background: var(--prim-gray-740);
--color-canvas-node-pinned-border: var(--prim-color-secondary-tint-100);
--color-canvas-selected: var(--prim-gray-0-alpha-025);
--node-type-main-color: var(--prim-gray-420);
@ -74,6 +74,18 @@
--color-sticky-background-7: var(--prim-gray-740);
--color-sticky-border-7: var(--prim-gray-670);
// NodeIcon
--color-node-icon-gray: var(--prim-gray-200);
--color-node-icon-black: var(--prim-gray-70);
--color-node-icon-blue: #766dfb;
--color-node-icon-dark-blue: #6275ad;
--color-node-icon-orange-red: var(--prim-color-primary);
--color-node-icon-red: var(--prim-color-alt-k);
--color-node-icon-light-green: #20b69e;
--color-node-icon-dark-green: #86decc;
--color-node-icon-purple: #9b6dd5;
--color-node-icon-crimson: #d05876;
// Expressions, autocomplete, infobox
--color-valid-resolvable-foreground: var(--prim-color-alt-a-tint-300);
--color-valid-resolvable-background: var(--prim-color-alt-a-alpha-025);
@ -222,6 +234,175 @@
--color-mfa-recovery-code-color: var(--color-text-dark);
--color-mfa-lose-access-text-color: var(--color-danger);
// AI
--node-type-background-l: 20%;
--node-type-supplemental-label-color-h: 235;
--node-type-supplemental-label-color-s: 28%;
--node-type-supplemental-label-color-l: 40%;
--node-type-supplemental-color-h: 235;
--node-type-supplemental-color-s: 13%;
--node-type-supplemental-color-l: 60%;
--node-type-supplemental-label-color: hsl(
var(--node-type-supplemental-label-color-h),
var(--node-type-supplemental-label-color-s),
var(--node-type-supplemental-label-color-l)
);
--node-type-supplemental-icon: var(--color-foreground-dark);
--node-type-supplemental-color: hsl(
var(--node-type-supplemental-color-h),
var(--node-type-supplemental-color-s),
var(--node-type-supplemental-color-l)
);
--node-type-supplemental-background: hsl(
var(--node-type-supplemental-color-h),
var(--node-type-supplemental-color-s),
var(--node-type-background-l)
);
--node-type-supplemental-connector-color: var(--color-foreground-dark);
--node-type-ai_chain-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_chain-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_chain-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_chain-color: hsl(
var(--node-type-ai_chain-color-h),
var(--node-type-ai_chain-color-s),
var(--node-type-ai_chain-color-l)
);
--node-type-chain-background: hsl(
var(--node-type-ai_chain-color-h),
var(--node-type-ai_chain-color-s),
var(--node-type-background-l)
);
--node-type-ai_document-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_document-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_document-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_document-color: hsl(
var(--node-type-ai_document-color-h),
var(--node-type-ai_document-color-s),
var(--node-type-ai_document-color-l)
);
--node-type-ai_document-background: hsl(
var(--node-type-ai_document-color-h),
var(--node-type-ai_document-color-s),
var(--node-type-background-l)
);
--node-type-ai_embedding-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_embedding-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_embedding-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_embedding-color: hsl(
var(--node-type-ai_embedding-color-h),
var(--node-type-ai_embedding-color-s),
var(--node-type-ai_embedding-color-l)
);
--node-type-ai_embedding-background: hsl(
var(--node-type-ai_embedding-color-h),
var(--node-type-ai_embedding-color-s),
var(--node-type-background-l)
);
--node-type-ai_languageModel-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_languageModel-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_languageModel-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_languageModel-color: hsl(
var(--node-type-ai_languageModel-color-h),
var(--node-type-ai_languageModel-color-s),
var(--node-type-ai_languageModel-color-l)
);
--node-type-ai_languageModel-background: hsl(
var(--node-type-ai_languageModel-color-h),
var(--node-type-ai_languageModel-color-s),
var(--node-type-background-l)
);
--node-type-ai_memory-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_memory-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_memory-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_memory-color: hsl(
var(--node-type-ai_memory-color-h),
var(--node-type-ai_memory-color-s),
var(--node-type-ai_memory-color-l)
);
--node-type-ai_memory-background: hsl(
var(--node-type-ai_memory-color-h),
var(--node-type-ai_memory-color-s),
var(--node-type-background-l)
);
--node-type-ai_outputParser-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_outputParser-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_outputParser-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_outputParser-color: hsl(
var(--node-type-ai_outputParser-color-h),
var(--node-type-ai_outputParser-color-s),
var(--node-type-ai_outputParser-color-l)
);
--node-type-ai_outputParser-background: hsl(
var(--node-type-ai_outputParser-color-h),
var(--node-type-ai_outputParser-color-s),
var(--node-type-background-l)
);
--node-type-ai_tool-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_tool-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_tool-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_tool-color: hsl(
var(--node-type-ai_tool-color-h),
var(--node-type-ai_tool-color-s),
var(--node-type-ai_tool-color-l)
);
--node-type-ai_tool-background: hsl(
var(--node-type-ai_tool-color-h),
var(--node-type-ai_tool-color-s),
var(--node-type-background-l)
);
--node-type-ai_retriever-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_retriever-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_retriever-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_retriever-color: hsl(
var(--node-type-ai_retriever-color-h),
var(--node-type-ai_retriever-color-s),
var(--node-type-ai_retriever-color-l)
);
--node-type-ai_retriever-background: hsl(
var(--node-type-ai_retriever-color-h),
var(--node-type-ai_retriever-color-s),
var(--node-type-background-l)
);
--node-type-ai_textSplitter-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_textSplitter-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_textSplitter-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_textSplitter-color: hsl(
var(--node-type-ai_textSplitter-color-h),
var(--node-type-ai_textSplitter-color-s),
var(--node-type-ai_textSplitter-color-l)
);
--node-type-ai_textSplitter-background: hsl(
var(--node-type-ai_textSplitter-color-h),
var(--node-type-ai_textSplitter-color-s),
var(--node-type-background-l)
);
--node-type-ai_vectorRetriever-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_vectorRetriever-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_vectorRetriever-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_vectorRetriever-color: hsl(
var(--node-type-ai_vectorRetriever-color-h),
var(--node-type-ai_vectorRetriever-color-s),
var(--node-type-ai_vectorRetriever-color-l)
);
--node-type-ai_vectorRetriever-background: hsl(
var(--node-type-ai_vectorRetriever-color-h),
var(--node-type-ai_vectorRetriever-color-s),
var(--node-type-background-l)
);
--node-type-ai_vectorStore-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_vectorStore-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_vectorStore-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_vectorStore-color: hsl(
var(--node-type-ai_vectorStore-color-h),
var(--node-type-ai_vectorStore-color-s),
var(--node-type-ai_vectorStore-color-l)
);
--node-type-ai_vectorStore-background: hsl(
var(--node-type-ai_vectorStore-color-h),
var(--node-type-ai_vectorStore-color-s),
var(--node-type-background-l)
);
// Various
--color-info-tint-1: var(--prim-gray-420);
--color-info-tint-2: var(--prim-gray-740);
@ -234,7 +415,7 @@
var(--node-type-supplemental-label-color-s),
var(--node-type-supplemental-label-color-l)
);
--color-configurable-node-name: var(--color-text-lighter);
--color-configurable-node-name: var(--color-text-dark);
--color-secondary-link: var(--prim-color-secondary-tint-200);
--color-secondary-link-hover: var(--prim-color-secondary-tint-100);
}

View file

@ -79,7 +79,7 @@
--color-canvas-background-l: 99%;
--color-canvas-dot: var(--prim-gray-120);
--color-canvas-read-only-line: var(--prim-gray-30);
--color-canvas-node-background: var(--prim-gray-0);
--color-canvas-node-background: var(--color-background-xlight);
--color-canvas-node-pinned-border: var(--color-secondary);
--color-canvas-selected: var(--prim-gray-70);
--node-type-main-color: var(--prim-gray-490);
@ -106,6 +106,23 @@
--color-sticky-background-7: var(--prim-gray-10);
--color-sticky-border-7: var(--prim-gray-120);
// NodeIcon
--color-node-icon-gray: var(--prim-gray-420);
--color-node-icon-black: var(--prim-gray-780);
--color-node-icon-blue: #3a42e9;
--color-node-icon-light-blue: #5fabf7;
--color-node-icon-dark-blue: #353f6e;
--color-node-icon-orange: #ff965a;
--color-node-icon-orange-red: #ff6d5a;
--color-node-icon-pink-red: #ea4b71;
--color-node-icon-red: var(--prim-color-alt-c);
--color-node-icon-light-green: #31c4ab;
--color-node-icon-green: #108e49;
--color-node-icon-dark-green: #157562;
--color-node-icon-azure: #54b8c9;
--color-node-icon-purple: #553399;
--color-node-icon-crimson: #772244;
// Expressions, autocomplete, infobox
--color-valid-resolvable-foreground: var(--prim-color-alt-a);
--color-valid-resolvable-background: var(--prim-color-alt-a-tint-500);
@ -282,6 +299,175 @@
--color-mfa-recovery-code-color: var(--prim-gray-490);
--color-mfa-lose-access-text-color: var(--color-danger);
// AI
--node-type-background-l: 95%;
--node-type-supplemental-label-color-h: 235;
--node-type-supplemental-label-color-s: 28%;
--node-type-supplemental-label-color-l: 40%;
--node-type-supplemental-color-h: 235;
--node-type-supplemental-color-s: 28%;
--node-type-supplemental-color-l: 60%;
--node-type-supplemental-label-color: hsl(
var(--node-type-supplemental-label-color-h),
var(--node-type-supplemental-label-color-s),
var(--node-type-supplemental-label-color-l)
);
--node-type-supplemental-icon: var(--color-foreground-dark);
--node-type-supplemental-color: hsl(
var(--node-type-supplemental-color-h),
var(--node-type-supplemental-color-s),
var(--node-type-supplemental-color-l)
);
--node-type-supplemental-background: hsl(
var(--node-type-supplemental-color-h),
var(--node-type-supplemental-color-s),
var(--node-type-background-l)
);
--node-type-supplemental-connector-color: var(--color-foreground-dark);
--node-type-ai_chain-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_chain-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_chain-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_chain-color: hsl(
var(--node-type-ai_chain-color-h),
var(--node-type-ai_chain-color-s),
var(--node-type-ai_chain-color-l)
);
--node-type-chain-background: hsl(
var(--node-type-ai_chain-color-h),
var(--node-type-ai_chain-color-s),
var(--node-type-background-l)
);
--node-type-ai_document-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_document-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_document-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_document-color: hsl(
var(--node-type-ai_document-color-h),
var(--node-type-ai_document-color-s),
var(--node-type-ai_document-color-l)
);
--node-type-ai_document-background: hsl(
var(--node-type-ai_document-color-h),
var(--node-type-ai_document-color-s),
var(--node-type-background-l)
);
--node-type-ai_embedding-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_embedding-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_embedding-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_embedding-color: hsl(
var(--node-type-ai_embedding-color-h),
var(--node-type-ai_embedding-color-s),
var(--node-type-ai_embedding-color-l)
);
--node-type-ai_embedding-background: hsl(
var(--node-type-ai_embedding-color-h),
var(--node-type-ai_embedding-color-s),
var(--node-type-background-l)
);
--node-type-ai_languageModel-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_languageModel-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_languageModel-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_languageModel-color: hsl(
var(--node-type-ai_languageModel-color-h),
var(--node-type-ai_languageModel-color-s),
var(--node-type-ai_languageModel-color-l)
);
--node-type-ai_languageModel-background: hsl(
var(--node-type-ai_languageModel-color-h),
var(--node-type-ai_languageModel-color-s),
var(--node-type-background-l)
);
--node-type-ai_memory-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_memory-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_memory-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_memory-color: hsl(
var(--node-type-ai_memory-color-h),
var(--node-type-ai_memory-color-s),
var(--node-type-ai_memory-color-l)
);
--node-type-ai_memory-background: hsl(
var(--node-type-ai_memory-color-h),
var(--node-type-ai_memory-color-s),
var(--node-type-background-l)
);
--node-type-ai_outputParser-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_outputParser-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_outputParser-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_outputParser-color: hsl(
var(--node-type-ai_outputParser-color-h),
var(--node-type-ai_outputParser-color-s),
var(--node-type-ai_outputParser-color-l)
);
--node-type-ai_outputParser-background: hsl(
var(--node-type-ai_outputParser-color-h),
var(--node-type-ai_outputParser-color-s),
var(--node-type-background-l)
);
--node-type-ai_tool-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_tool-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_tool-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_tool-color: hsl(
var(--node-type-ai_tool-color-h),
var(--node-type-ai_tool-color-s),
var(--node-type-ai_tool-color-l)
);
--node-type-ai_tool-background: hsl(
var(--node-type-ai_tool-color-h),
var(--node-type-ai_tool-color-s),
var(--node-type-background-l)
);
--node-type-ai_retriever-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_retriever-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_retriever-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_retriever-color: hsl(
var(--node-type-ai_retriever-color-h),
var(--node-type-ai_retriever-color-s),
var(--node-type-ai_retriever-color-l)
);
--node-type-ai_retriever-background: hsl(
var(--node-type-ai_retriever-color-h),
var(--node-type-ai_retriever-color-s),
var(--node-type-background-l)
);
--node-type-ai_textSplitter-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_textSplitter-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_textSplitter-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_textSplitter-color: hsl(
var(--node-type-ai_textSplitter-color-h),
var(--node-type-ai_textSplitter-color-s),
var(--node-type-ai_textSplitter-color-l)
);
--node-type-ai_textSplitter-background: hsl(
var(--node-type-ai_textSplitter-color-h),
var(--node-type-ai_textSplitter-color-s),
var(--node-type-background-l)
);
--node-type-ai_vectorRetriever-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_vectorRetriever-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_vectorRetriever-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_vectorRetriever-color: hsl(
var(--node-type-ai_vectorRetriever-color-h),
var(--node-type-ai_vectorRetriever-color-s),
var(--node-type-ai_vectorRetriever-color-l)
);
--node-type-ai_vectorRetriever-background: hsl(
var(--node-type-ai_vectorRetriever-color-h),
var(--node-type-ai_vectorRetriever-color-s),
var(--node-type-background-l)
);
--node-type-ai_vectorStore-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_vectorStore-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_vectorStore-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_vectorStore-color: hsl(
var(--node-type-ai_vectorStore-color-h),
var(--node-type-ai_vectorStore-color-s),
var(--node-type-ai_vectorStore-color-l)
);
--node-type-ai_vectorStore-background: hsl(
var(--node-type-ai_vectorStore-color-h),
var(--node-type-ai_vectorStore-color-s),
var(--node-type-background-l)
);
// Various
--color-avatar-accent-1: var(--prim-gray-120);
--color-avatar-accent-2: var(--prim-color-alt-e-shade-100);

View file

@ -930,6 +930,7 @@ export type SimplifiedNodeType = Pick<
| 'group'
| 'icon'
| 'iconUrl'
| 'iconColor'
| 'badgeIconUrl'
| 'codex'
| 'defaults'

View file

@ -15,6 +15,8 @@ import { useRootStore } from '@/stores/n8nRoot.store';
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
import type { ICredentialType, INodeTypeDescription } from 'n8n-workflow';
import NodeIcon from '@/components/NodeIcon.vue';
import { getThemedValue } from '@/utils/nodeTypesUtils';
import { useUIStore } from '@/stores/ui.store';
export default defineComponent({
components: {
@ -26,22 +28,28 @@ export default defineComponent({
},
},
computed: {
...mapStores(useCredentialsStore, useNodeTypesStore, useRootStore),
...mapStores(useCredentialsStore, useNodeTypesStore, useRootStore, useUIStore),
credentialWithIcon(): ICredentialType | null {
return this.credentialTypeName ? this.getCredentialWithIcon(this.credentialTypeName) : null;
},
filePath(): string | null {
const iconUrl = this.credentialWithIcon?.iconUrl;
if (!iconUrl) {
const themeIconUrl = getThemedValue(
this.credentialWithIcon?.iconUrl,
this.uiStore.appliedTheme,
);
if (!themeIconUrl) {
return null;
}
return this.rootStore.getBaseUrl + iconUrl;
return this.rootStore.getBaseUrl + themeIconUrl;
},
relevantNode(): INodeTypeDescription | null {
if (this.credentialWithIcon?.icon?.startsWith('node:')) {
const nodeType = this.credentialWithIcon.icon.replace('node:', '');
const icon = this.credentialWithIcon?.icon;
if (typeof icon === 'string' && icon.startsWith('node:')) {
const nodeType = icon.replace('node:', '');
return this.nodeTypesStore.getNodeType(nodeType);
}
if (!this.credentialTypeName) {

View file

@ -121,7 +121,7 @@ const tooltipPositionMapper = {
[FloatingNodePosition.top]: 'bottom',
[FloatingNodePosition.right]: 'left',
[FloatingNodePosition.left]: 'right',
};
} as const;
onMounted(() => {
document.addEventListener('keydown', onKeyDown, true);

View file

@ -254,6 +254,7 @@ export function useActionsGenerator() {
group,
icon,
iconUrl,
iconColor,
badgeIconUrl,
outputs,
codex,
@ -266,6 +267,7 @@ export function useActionsGenerator() {
name,
group,
icon,
iconColor,
iconUrl,
badgeIconUrl,
outputs,

View file

@ -123,13 +123,7 @@ function getAiNodesBySubcategory(nodes: INodeTypeDescription[], subcategory: str
description: node.description,
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
icon: node.icon!,
iconData: node.name.toLowerCase().includes('openai')
? {
type: 'file',
icon: 'openai',
fileBuffer: '/static/open-ai.svg',
}
: undefined,
iconUrl: node.iconUrl,
},
}))
.sort((a, b) => a.properties.displayName.localeCompare(b.properties.displayName));

View file

@ -1,6 +1,6 @@
<template>
<n8n-node-icon
:type="type"
:type="iconType"
:src="iconSource.path || iconSource.fileBuffer"
:name="iconSource.icon"
:color="color"
@ -11,16 +11,17 @@
:show-tooltip="showTooltip"
:tooltip-position="tooltipPosition"
:badge="badge"
@click="() => $emit('click')"
@click="emit('click')"
></n8n-node-icon>
</template>
<script lang="ts">
import type { ActionTypeDescription, IVersionNode, SimplifiedNodeType } from '@/Interface';
<script setup lang="ts">
import type { IVersionNode } from '@/Interface';
import { useRootStore } from '@/stores/n8nRoot.store';
import { useUIStore } from '@/stores/ui.store';
import { getBadgeIconUrl, getNodeIcon, getNodeIconUrl } from '@/utils/nodeTypesUtils';
import type { INodeTypeDescription } from 'n8n-workflow';
import { mapStores } from 'pinia';
import { defineComponent, type PropType } from 'vue';
import { computed } from 'vue';
interface NodeIconSource {
path?: string;
@ -28,112 +29,108 @@ interface NodeIconSource {
icon?: string;
}
export default defineComponent({
name: 'NodeIcon',
props: {
nodeType: {
type: Object as PropType<
| INodeTypeDescription
| IVersionNode
| SimplifiedNodeType
| ActionTypeDescription
| null
| undefined
>,
required: true,
},
size: {
type: Number,
required: false,
},
disabled: {
type: Boolean,
default: false,
},
circle: {
type: Boolean,
default: false,
},
colorDefault: {
type: String,
required: false,
},
showTooltip: {
type: Boolean,
default: false,
},
tooltipPosition: {
type: String,
default: 'top',
},
nodeName: {
type: String,
required: false,
},
},
computed: {
...mapStores(useRootStore),
type(): string {
const nodeType = this.nodeType;
let iconType = 'unknown';
if (nodeType) {
if (nodeType.iconUrl) return 'file';
if ((nodeType as IVersionNode).iconData) {
iconType = (nodeType as IVersionNode).iconData.type;
} else if (nodeType.icon) {
iconType = nodeType.icon.split(':')[0] === 'file' ? 'file' : 'icon';
}
}
return iconType;
},
color(): string {
const nodeType = this.nodeType;
if (nodeType?.defaults?.color) {
return nodeType.defaults.color.toString();
}
if (this.colorDefault) {
return this.colorDefault;
}
return '';
},
iconSource(): NodeIconSource {
const nodeType = this.nodeType;
const baseUrl = this.rootStore.getBaseUrl;
const iconSource = {} as NodeIconSource;
type Props = {
nodeType?: INodeTypeDescription | IVersionNode | null;
size?: number;
disabled?: boolean;
circle?: boolean;
colorDefault?: string;
showTooltip?: boolean;
tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
nodeName?: string;
};
if (nodeType) {
// If node type has icon data, use it
if ((nodeType as IVersionNode).iconData) {
return {
icon: (nodeType as IVersionNode).iconData.icon,
fileBuffer: (nodeType as IVersionNode).iconData.fileBuffer,
};
}
if (nodeType.iconUrl) {
return { path: baseUrl + nodeType.iconUrl };
}
// Otherwise, extract it from icon prop
if (nodeType.icon) {
const [type, path] = nodeType.icon.split(':');
if (type === 'file') {
throw new Error(`Unexpected icon: ${nodeType.icon}`);
} else {
iconSource.icon = path;
}
}
}
return iconSource;
},
badge(): { src: string; type: string } | undefined {
const nodeType = this.nodeType as INodeTypeDescription;
if (nodeType && 'badgeIconUrl' in nodeType && nodeType.badgeIconUrl) {
return { type: 'file', src: this.rootStore.getBaseUrl + nodeType.badgeIconUrl };
}
const props = withDefaults(defineProps<Props>(), {
nodeType: undefined,
size: undefined,
circle: false,
disabled: false,
showTooltip: false,
tooltipPosition: 'top',
colorDefault: '',
nodeName: '',
});
return undefined;
},
},
const emit = defineEmits<{
(event: 'click'): void;
}>();
const rootStore = useRootStore();
const uiStore = useUIStore();
const iconType = computed(() => {
const nodeType = props.nodeType;
if (nodeType) {
if (nodeType.iconUrl) return 'file';
if ('iconData' in nodeType && nodeType.iconData) {
return nodeType.iconData.type;
}
if (nodeType.icon) {
const icon = getNodeIcon(nodeType, uiStore.appliedTheme);
return icon && icon.split(':')[0] === 'file' ? 'file' : 'icon';
}
}
return 'unknown';
});
const color = computed(() => {
const nodeType = props.nodeType;
if (nodeType && 'iconColor' in nodeType && nodeType.iconColor) {
return `var(--color-node-icon-${nodeType.iconColor})`;
}
return nodeType?.defaults?.color?.toString() ?? props.colorDefault ?? '';
});
const iconSource = computed<NodeIconSource>(() => {
const nodeType = props.nodeType;
const baseUrl = rootStore.getBaseUrl;
if (nodeType) {
// If node type has icon data, use it
if ('iconData' in nodeType && nodeType.iconData) {
return {
icon: nodeType.iconData.icon,
fileBuffer: nodeType.iconData.fileBuffer,
};
}
const iconUrl = getNodeIconUrl(nodeType, uiStore.appliedTheme);
if (iconUrl) {
return { path: baseUrl + iconUrl };
}
// Otherwise, extract it from icon prop
if (nodeType.icon) {
const icon = getNodeIcon(nodeType, uiStore.appliedTheme);
console.log(nodeType.icon, icon);
if (icon) {
const [type, path] = icon.split(':');
if (type === 'file') {
throw new Error(`Unexpected icon: ${icon}`);
}
return { icon: path };
}
}
}
return {};
});
const badge = computed(() => {
const nodeType = props.nodeType;
if (nodeType && 'badgeIconUrl' in nodeType && nodeType.badgeIconUrl) {
return {
type: 'file',
src: rootStore.getBaseUrl + getBadgeIconUrl(nodeType, uiStore.appliedTheme),
};
}
return undefined;
});
</script>
<style lang="scss"></style>
<style lang="scss" module></style>

View file

@ -2,175 +2,6 @@
@import 'styles';
:root {
--node-type-background-l: 95%;
--node-type-supplemental-label-color-h: 235;
--node-type-supplemental-label-color-s: 28%;
--node-type-supplemental-label-color-l: 40%;
--node-type-supplemental-label-color: hsl(
var(--node-type-supplemental-label-color-h),
var(--node-type-supplemental-label-color-s),
var(--node-type-supplemental-label-color-l)
);
--node-type-supplemental-color-h: 235;
--node-type-supplemental-color-s: 28%;
--node-type-supplemental-color-l: 60%;
--node-type-supplemental-icon: var(--color-foreground-dark);
--node-type-supplemental-color: hsl(
var(--node-type-supplemental-color-h),
var(--node-type-supplemental-color-s),
var(--node-type-supplemental-color-l)
);
--node-type-supplemental-background: hsl(
var(--node-type-supplemental-color-h),
var(--node-type-supplemental-color-s),
var(--node-type-background-l)
);
--node-type-supplemental-connector-color: var(--color-foreground-dark);
--node-type-ai_chain-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_chain-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_chain-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_chain-color: hsl(
var(--node-type-ai_chain-color-h),
var(--node-type-ai_chain-color-s),
var(--node-type-ai_chain-color-l)
);
--node-type-chain-background: hsl(
var(--node-type-ai_chain-color-h),
var(--node-type-ai_chain-color-s),
var(--node-type-background-l)
);
--node-type-ai_document-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_document-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_document-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_document-color: hsl(
var(--node-type-ai_document-color-h),
var(--node-type-ai_document-color-s),
var(--node-type-ai_document-color-l)
);
--node-type-ai_document-background: hsl(
var(--node-type-ai_document-color-h),
var(--node-type-ai_document-color-s),
var(--node-type-background-l)
);
--node-type-ai_embedding-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_embedding-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_embedding-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_embedding-color: hsl(
var(--node-type-ai_embedding-color-h),
var(--node-type-ai_embedding-color-s),
var(--node-type-ai_embedding-color-l)
);
--node-type-ai_embedding-background: hsl(
var(--node-type-ai_embedding-color-h),
var(--node-type-ai_embedding-color-s),
var(--node-type-background-l)
);
--node-type-ai_languageModel-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_languageModel-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_languageModel-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_languageModel-color: hsl(
var(--node-type-ai_languageModel-color-h),
var(--node-type-ai_languageModel-color-s),
var(--node-type-ai_languageModel-color-l)
);
--node-type-ai_languageModel-background: hsl(
var(--node-type-ai_languageModel-color-h),
var(--node-type-ai_languageModel-color-s),
var(--node-type-background-l)
);
--node-type-ai_memory-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_memory-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_memory-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_memory-color: hsl(
var(--node-type-ai_memory-color-h),
var(--node-type-ai_memory-color-s),
var(--node-type-ai_memory-color-l)
);
--node-type-ai_memory-background: hsl(
var(--node-type-ai_memory-color-h),
var(--node-type-ai_memory-color-s),
var(--node-type-background-l)
);
--node-type-ai_outputParser-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_outputParser-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_outputParser-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_outputParser-color: hsl(
var(--node-type-ai_outputParser-color-h),
var(--node-type-ai_outputParser-color-s),
var(--node-type-ai_outputParser-color-l)
);
--node-type-ai_outputParser-background: hsl(
var(--node-type-ai_outputParser-color-h),
var(--node-type-ai_outputParser-color-s),
var(--node-type-background-l)
);
--node-type-ai_tool-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_tool-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_tool-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_tool-color: hsl(
var(--node-type-ai_tool-color-h),
var(--node-type-ai_tool-color-s),
var(--node-type-ai_tool-color-l)
);
--node-type-ai_tool-background: hsl(
var(--node-type-ai_tool-color-h),
var(--node-type-ai_tool-color-s),
var(--node-type-background-l)
);
--node-type-ai_retriever-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_retriever-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_retriever-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_retriever-color: hsl(
var(--node-type-ai_retriever-color-h),
var(--node-type-ai_retriever-color-s),
var(--node-type-ai_retriever-color-l)
);
--node-type-ai_retriever-background: hsl(
var(--node-type-ai_retriever-color-h),
var(--node-type-ai_retriever-color-s),
var(--node-type-background-l)
);
--node-type-ai_textSplitter-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_textSplitter-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_textSplitter-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_textSplitter-color: hsl(
var(--node-type-ai_textSplitter-color-h),
var(--node-type-ai_textSplitter-color-s),
var(--node-type-ai_textSplitter-color-l)
);
--node-type-ai_textSplitter-background: hsl(
var(--node-type-ai_textSplitter-color-h),
var(--node-type-ai_textSplitter-color-s),
var(--node-type-background-l)
);
--node-type-ai_vectorRetriever-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_vectorRetriever-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_vectorRetriever-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_vectorRetriever-color: hsl(
var(--node-type-ai_vectorRetriever-color-h),
var(--node-type-ai_vectorRetriever-color-s),
var(--node-type-ai_vectorRetriever-color-l)
);
--node-type-ai_vectorRetriever-background: hsl(
var(--node-type-ai_vectorRetriever-color-h),
var(--node-type-ai_vectorRetriever-color-s),
var(--node-type-background-l)
);
--node-type-ai_vectorStore-color-h: var(--node-type-supplemental-color-h);
--node-type-ai_vectorStore-color-s: var(--node-type-supplemental-color-s);
--node-type-ai_vectorStore-color-l: var(--node-type-supplemental-color-l);
--node-type-ai_vectorStore-color: hsl(
var(--node-type-ai_vectorStore-color-h),
var(--node-type-ai_vectorStore-color-s),
var(--node-type-ai_vectorStore-color-l)
);
--node-type-ai_vectorStore-background: hsl(
var(--node-type-ai_vectorStore-color-h),
var(--node-type-ai_vectorStore-color-s),
var(--node-type-background-l)
);
// Using native css variable enables us to use this value in JS
--header-height: 65;
--chat-width: 350;
@ -187,6 +18,7 @@
--chat--header--color: var(--color-text-dark);
--chat--header--border-bottom: var(--border-base);
--chat--close--button--color-hover: var(--color-primary);
// Message styles
--chat--message--padding: var(--spacing-3xs);
--chat--message--font-size: 14px;
@ -196,6 +28,7 @@
--chat--message--user--color: var(--color-text-dark);
--chat--message--user--background: var(--color-success-tint-1);
--chat--message--user--border: 1px solid var(--color-success-light-2);
// Chat input
--chat--input--font-size: var(--font-size-s);
--chat--input--send--button--color: var(--color-success);

View file

@ -1,31 +1,34 @@
import type {
INodeCredentialDescription,
AppliedThemeOption,
INodeUi,
INodeUpdatePropertiesInformation,
ITemplatesNode,
IVersionNode,
NodeAuthenticationOption,
} from '@/Interface';
import {
CORE_NODES_CATEGORY,
MAIN_AUTH_FIELD_NAME,
MAPPING_PARAMS,
NON_ACTIVATABLE_TRIGGER_NODE_TYPES,
TEMPLATES_NODES_FILTER,
} from '@/constants';
import { i18n as locale } from '@/plugins/i18n';
import { useCredentialsStore } from '@/stores/credentials.store';
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
import { useWorkflowsStore } from '@/stores/workflows.store';
import { isResourceLocatorValue } from '@/utils/typeGuards';
import { isJsonKeyObject } from '@/utils/typesUtils';
import type {
IDataObject,
INodeCredentialDescription,
INodeExecutionData,
INodeProperties,
INodeTypeDescription,
NodeParameterValueType,
ResourceMapperField,
Themed,
} from 'n8n-workflow';
import {
MAIN_AUTH_FIELD_NAME,
CORE_NODES_CATEGORY,
NON_ACTIVATABLE_TRIGGER_NODE_TYPES,
TEMPLATES_NODES_FILTER,
MAPPING_PARAMS,
} from '@/constants';
import { useWorkflowsStore } from '@/stores/workflows.store';
import { useNodeTypesStore } from '@/stores/nodeTypes.store';
import type {
INodeUi,
ITemplatesNode,
NodeAuthenticationOption,
INodeUpdatePropertiesInformation,
} from '@/Interface';
import { isResourceLocatorValue } from '@/utils/typeGuards';
import { isJsonKeyObject } from '@/utils/typesUtils';
import { useCredentialsStore } from '@/stores/credentials.store';
import { i18n as locale } from '@/plugins/i18n';
/*
Constants and utility functions mainly used to get information about
@ -431,3 +434,39 @@ export const isMatchingField = (
}
return false;
};
export const getThemedValue = <T extends string>(
value: Themed<T> | undefined,
theme: AppliedThemeOption = 'light',
): T | null => {
if (!value) {
return null;
}
if (typeof value === 'string') {
return value;
}
return value[theme];
};
export const getNodeIcon = (
nodeType: INodeTypeDescription | IVersionNode,
theme: AppliedThemeOption = 'light',
): string | null => {
return getThemedValue(nodeType.icon, theme);
};
export const getNodeIconUrl = (
nodeType: INodeTypeDescription | IVersionNode,
theme: AppliedThemeOption = 'light',
): string | null => {
return getThemedValue(nodeType.iconUrl, theme);
};
export const getBadgeIconUrl = (
nodeType: INodeTypeDescription,
theme: AppliedThemeOption = 'light',
): string | null => {
return getThemedValue(nodeType.badgeIconUrl, theme);
};

View file

@ -3,6 +3,7 @@ import type {
ICredentialTestRequest,
ICredentialType,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class AlienVaultApi implements ICredentialType {
@ -12,7 +13,7 @@ export class AlienVaultApi implements ICredentialType {
documentationUrl = 'alienvault';
icon = 'file:icons/AlienVault.png';
icon: Icon = 'file:icons/AlienVault.png';
httpRequestNode = {
name: 'AlienVault',

View file

@ -14,7 +14,7 @@ export class Auth0ManagementApi implements ICredentialType {
documentationUrl = 'auth0management';
icon = 'file:icons/Auth0.svg';
icon = { light: 'file:icons/Auth0.svg', dark: 'file:icons/Auth0.dark.svg' } as const;
httpRequestNode = {
name: 'Auth0',

View file

@ -156,7 +156,7 @@ export class Aws implements ICredentialType {
documentationUrl = 'aws';
icon = 'file:icons/AWS.svg';
icon = { light: 'file:icons/AWS.svg', dark: 'file:icons/AWS.dark.svg' } as const;
properties: INodeProperties[] = [
{

View file

@ -5,7 +5,7 @@ export class CarbonBlackApi implements ICredentialType {
displayName = 'Carbon Black API';
icon = 'file:icons/vmware.svg';
icon = { light: 'file:icons/vmware.svg', dark: 'file:icons/vmware.dark.svg' } as const;
documentationUrl = 'carbonblack';

View file

@ -7,7 +7,7 @@ export class CiscoMerakiApi implements ICredentialType {
documentationUrl = 'ciscomeraki';
icon = 'file:icons/Cisco.svg';
icon = { light: 'file:icons/Cisco.svg', dark: 'file:icons/Cisco.dark.svg' } as const;
httpRequestNode = {
name: 'Cisco Meraki',

View file

@ -15,7 +15,7 @@ export class CiscoSecureEndpointApi implements ICredentialType {
documentationUrl = 'ciscosecureendpoint';
icon = 'file:icons/Cisco.svg';
icon = { light: 'file:icons/Cisco.svg', dark: 'file:icons/Cisco.dark.svg' } as const;
httpRequestNode = {
name: 'Cisco Secure Endpoint',

View file

@ -14,7 +14,7 @@ export class CiscoUmbrellaApi implements ICredentialType {
documentationUrl = 'ciscoumbrella';
icon = 'file:icons/Cisco.svg';
icon = { light: 'file:icons/Cisco.svg', dark: 'file:icons/Cisco.dark.svg' } as const;
httpRequestNode = {
name: 'Cisco Umbrella',

View file

@ -9,7 +9,7 @@ export class CiscoWebexOAuth2Api implements ICredentialType {
documentationUrl = 'ciscowebex';
icon = 'file:icons/Cisco.svg';
icon = { light: 'file:icons/Cisco.svg', dark: 'file:icons/Cisco.dark.svg' } as const;
properties: INodeProperties[] = [
{

View file

@ -14,7 +14,7 @@ export class CrowdStrikeOAuth2Api implements ICredentialType {
documentationUrl = 'crowdstrike';
icon = 'file:icons/CrowdStrike.svg';
icon = { light: 'file:icons/CrowdStrike.svg', dark: 'file:icons/CrowdStrike.dark.svg' } as const;
httpRequestNode = {
name: 'CrowdStrike',

View file

@ -1,4 +1,4 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class F5BigIpApi implements ICredentialType {
name = 'f5BigIpApi';
@ -7,7 +7,7 @@ export class F5BigIpApi implements ICredentialType {
documentationUrl = 'f5bigip';
icon = 'file:icons/F5.svg';
icon: Icon = 'file:icons/F5.svg';
httpRequestNode = {
name: 'F5 Big-IP',

View file

@ -1,4 +1,4 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class FortiGateApi implements ICredentialType {
name = 'fortiGateApi';
@ -7,7 +7,7 @@ export class FortiGateApi implements ICredentialType {
documentationUrl = 'fortigate';
icon = 'file:icons/Fortinet.svg';
icon: Icon = 'file:icons/Fortinet.svg';
httpRequestNode = {
name: 'Fortinet FortiGate',

View file

@ -3,6 +3,7 @@ import type {
ICredentialType,
IHttpRequestOptions,
INodeProperties,
Icon,
} from 'n8n-workflow';
import moment from 'moment-timezone';
@ -20,7 +21,7 @@ export class GoogleApi implements ICredentialType {
documentationUrl = 'google/service-account';
icon = 'file:icons/Google.svg';
icon: Icon = 'file:icons/Google.svg';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class GoogleOAuth2Api implements ICredentialType {
name = 'googleOAuth2Api';
@ -9,7 +9,7 @@ export class GoogleOAuth2Api implements ICredentialType {
documentationUrl = 'google/oauth-generic';
icon = 'file:icons/Google.svg';
icon: Icon = 'file:icons/Google.svg';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HighLevelOAuth2Api implements ICredentialType {
name = 'highLevelOAuth2Api';
@ -9,7 +9,7 @@ export class HighLevelOAuth2Api implements ICredentialType {
documentationUrl = 'highLevel';
icon = 'file:icons/highLevel.svg';
icon: Icon = 'file:icons/highLevel.svg';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HttpBasicAuth implements ICredentialType {
name = 'httpBasicAuth';
@ -9,7 +9,7 @@ export class HttpBasicAuth implements ICredentialType {
genericAuth = true;
icon = 'node:n8n-nodes-base.httpRequest';
icon: Icon = 'node:n8n-nodes-base.httpRequest';
properties: INodeProperties[] = [
{

View file

@ -1,6 +1,6 @@
/* eslint-disable n8n-nodes-base/cred-class-field-name-unsuffixed */
/* eslint-disable n8n-nodes-base/cred-class-name-unsuffixed */
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HttpCustomAuth implements ICredentialType {
name = 'httpCustomAuth';
@ -11,7 +11,7 @@ export class HttpCustomAuth implements ICredentialType {
genericAuth = true;
icon = 'node:n8n-nodes-base.httpRequest';
icon: Icon = 'node:n8n-nodes-base.httpRequest';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HttpDigestAuth implements ICredentialType {
name = 'httpDigestAuth';
@ -9,7 +9,7 @@ export class HttpDigestAuth implements ICredentialType {
genericAuth = true;
icon = 'node:n8n-nodes-base.httpRequest';
icon: Icon = 'node:n8n-nodes-base.httpRequest';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HttpHeaderAuth implements ICredentialType {
name = 'httpHeaderAuth';
@ -9,7 +9,7 @@ export class HttpHeaderAuth implements ICredentialType {
genericAuth = true;
icon = 'node:n8n-nodes-base.httpRequest';
icon: Icon = 'node:n8n-nodes-base.httpRequest';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HttpQueryAuth implements ICredentialType {
name = 'httpQueryAuth';
@ -9,7 +9,7 @@ export class HttpQueryAuth implements ICredentialType {
genericAuth = true;
icon = 'node:n8n-nodes-base.httpRequest';
icon: Icon = 'node:n8n-nodes-base.httpRequest';
properties: INodeProperties[] = [
{

View file

@ -1,6 +1,6 @@
/* eslint-disable n8n-nodes-base/cred-class-name-unsuffixed */
/* eslint-disable n8n-nodes-base/cred-class-field-name-unsuffixed */
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HttpSslAuth implements ICredentialType {
name = 'httpSslAuth';
@ -9,7 +9,7 @@ export class HttpSslAuth implements ICredentialType {
documentationUrl = 'httpRequest';
icon = 'node:n8n-nodes-base.httpRequest';
icon: Icon = 'node:n8n-nodes-base.httpRequest';
properties: INodeProperties[] = [
{

View file

@ -1,4 +1,4 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class HybridAnalysisApi implements ICredentialType {
name = 'hybridAnalysisApi';
@ -7,7 +7,7 @@ export class HybridAnalysisApi implements ICredentialType {
documentationUrl = 'hybridanalysis';
icon = 'file:icons/Hybrid.png';
icon: Icon = 'file:icons/Hybrid.png';
httpRequestNode = {
name: 'Hybrid Analysis',

View file

@ -7,7 +7,7 @@ export class ImpervaWafApi implements ICredentialType {
documentationUrl = 'impervawaf';
icon = 'file:icons/Imperva.svg';
icon = { light: 'file:icons/Imperva.svg', dark: 'file:icons/Imperva.dark.svg' } as const;
httpRequestNode = {
name: 'Imperva WAF',

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties, INodePropertyOptions } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, INodePropertyOptions, Icon } from 'n8n-workflow';
const algorithms: INodePropertyOptions[] = [
{
@ -64,7 +64,7 @@ export class JwtAuth implements ICredentialType {
documentationUrl = 'jwt';
icon = 'file:icons/jwt.svg';
icon: Icon = 'file:icons/jwt.svg';
properties: INodeProperties[] = [
{

View file

@ -3,6 +3,7 @@ import type {
ICredentialTestRequest,
ICredentialType,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class KibanaApi implements ICredentialType {
@ -12,7 +13,7 @@ export class KibanaApi implements ICredentialType {
documentationUrl = 'kibana';
icon = 'file:icons/Kibana.svg';
icon: Icon = 'file:icons/Kibana.svg';
httpRequestNode = {
name: 'Kibana',

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class MicrosoftEntraOAuth2Api implements ICredentialType {
name = 'microsoftEntraOAuth2Api';
@ -7,7 +7,7 @@ export class MicrosoftEntraOAuth2Api implements ICredentialType {
extends = ['microsoftOAuth2Api'];
icon = 'file:icons/Azure.svg';
icon: Icon = 'file:icons/Azure.svg';
documentationUrl = 'microsoftentra';

View file

@ -1,11 +1,11 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class MicrosoftOAuth2Api implements ICredentialType {
name = 'microsoftOAuth2Api';
extends = ['oAuth2Api'];
icon = 'file:icons/Microsoft.svg';
icon: Icon = 'file:icons/Microsoft.svg';
displayName = 'Microsoft OAuth2 API';

View file

@ -3,6 +3,7 @@ import type {
ICredentialTestRequest,
ICredentialType,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class MistApi implements ICredentialType {
@ -10,7 +11,7 @@ export class MistApi implements ICredentialType {
displayName = 'Mist API';
icon = 'file:icons/Mist.svg';
icon: Icon = 'file:icons/Mist.svg';
documentationUrl = 'mist';

View file

@ -12,7 +12,7 @@ export class OktaApi implements ICredentialType {
documentationUrl = 'okta';
icon = 'file:icons/Okta.svg';
icon = { light: 'file:icons/Okta.svg', dark: 'file:icons/Okta.dark.svg' } as const;
httpRequestNode = {
name: 'Okta',

View file

@ -1,4 +1,4 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class OpenCTIApi implements ICredentialType {
name = 'openCtiApi';
@ -7,7 +7,7 @@ export class OpenCTIApi implements ICredentialType {
documentationUrl = 'opencti';
icon = 'file:icons/OpenCTI.png';
icon: Icon = 'file:icons/OpenCTI.png';
httpRequestNode = {
name: 'OpenCTI',

View file

@ -5,7 +5,7 @@ export class QRadarApi implements ICredentialType {
displayName = 'QRadar API';
icon = 'file:icons/IBM.svg';
icon = { light: 'file:icons/IBM.svg', dark: 'file:icons/IBM.dark.svg' } as const;
documentationUrl = 'qradar';

View file

@ -5,7 +5,7 @@ export class QualysApi implements ICredentialType {
displayName = 'Qualys API';
icon = 'file:icons/Qualys.svg';
icon = 'file:icons/Qualys.svg' as const;
documentationUrl = 'qualys';

View file

@ -7,7 +7,10 @@ export class RecordedFutureApi implements ICredentialType {
documentationUrl = 'recordedfuture';
icon = 'file:icons/RecordedFuture.svg';
icon = {
light: 'file:icons/RecordedFuture.svg',
dark: 'file:icons/RecordedFuture.dark.svg',
} as const;
httpRequestNode = {
name: 'Recorded Future',

View file

@ -1,11 +1,11 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class SekoiaApi implements ICredentialType {
name = 'sekoiaApi';
displayName = 'Sekoia API';
icon = 'file:icons/Sekoia.svg';
icon: Icon = 'file:icons/Sekoia.svg';
documentationUrl = 'sekoia';

View file

@ -3,6 +3,7 @@ import type {
ICredentialTestRequest,
ICredentialType,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class ShufflerApi implements ICredentialType {
@ -10,7 +11,7 @@ export class ShufflerApi implements ICredentialType {
displayName = 'Shuffler API';
icon = 'file:icons/Shuffler.svg';
icon: Icon = 'file:icons/Shuffler.svg';
documentationUrl = 'shuffler';

View file

@ -1,4 +1,4 @@
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
import type { IAuthenticateGeneric, ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class TrellixEpoApi implements ICredentialType {
name = 'trellixEpoApi';
@ -7,7 +7,7 @@ export class TrellixEpoApi implements ICredentialType {
documentationUrl = 'trellixepo';
icon = 'file:icons/Trellix.svg';
icon: Icon = 'file:icons/Trellix.svg';
httpRequestNode = {
name: 'Trellix (McAfee) ePolicy Orchestrator',

View file

@ -1,11 +1,11 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
export class TwakeServerApi implements ICredentialType {
name = 'twakeServerApi';
displayName = 'Twake Server API';
icon = 'file:icons/Twake.png';
icon: Icon = 'file:icons/Twake.png';
documentationUrl = 'twake';

View file

@ -3,6 +3,7 @@ import type {
ICredentialTestRequest,
ICredentialType,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class VirusTotalApi implements ICredentialType {
@ -12,7 +13,7 @@ export class VirusTotalApi implements ICredentialType {
documentationUrl = 'virustotal';
icon = 'file:icons/VirusTotal.svg';
icon: Icon = 'file:icons/VirusTotal.svg';
httpRequestNode = {
name: 'VirusTotal',

View file

@ -1,4 +1,4 @@
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
import type { ICredentialType, INodeProperties, Icon } from 'n8n-workflow';
//https://developers.google.com/youtube/v3/guides/auth/client-side-web-apps#identify-access-scopes
const scopes = [
@ -12,7 +12,7 @@ const scopes = [
export class YouTubeOAuth2Api implements ICredentialType {
name = 'youTubeOAuth2Api';
icon = 'node:n8n-nodes-base.youTube';
icon: Icon = 'node:n8n-nodes-base.youTube';
extends = ['googleOAuth2Api'];

View file

@ -6,6 +6,7 @@ import type {
ICredentialType,
IHttpRequestHelper,
INodeProperties,
Icon,
} from 'n8n-workflow';
export class ZscalerZiaApi implements ICredentialType {
@ -15,7 +16,7 @@ export class ZscalerZiaApi implements ICredentialType {
documentationUrl = 'zscalerzia';
icon = 'file:icons/Zscaler.svg';
icon: Icon = 'file:icons/Zscaler.svg';
httpRequestNode = {
name: 'Zscaler ZIA',

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 5.8 KiB

View 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="M32.9826 0H19.9921L24.007 12.5112H36.9975L26.4874 19.9721L30.5034 32.5542C37.2686 27.6261 39.479 20.1675 36.9987 12.5112L32.9826 0ZM2.98669 12.5112H15.9772L19.9921 0H7.00274L2.98669 12.5112C0.505157 20.1675 2.71678 27.6261 9.48195 32.5542L13.4968 19.9721L2.98669 12.5112ZM9.48195 32.5542L19.9921 40L30.5022 32.5542L19.9921 24.9852L9.48195 32.5542Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 476 B

View file

@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><path d="M29.307 9.932 26.161 0H5.796L2.692 9.932c-1.802 5.75.042 12.271 5.089 16.021L16.01 32l8.208-6.068c5.005-3.75 6.911-10.25 5.089-16.021l-8.214 6.104 3.12 9.938-8.208-6.13-8.208 6.104 3.141-9.911-8.25-6.063 10.177-.063 3.146-9.891 3.141 9.87z"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M32.9826 0H19.9921L24.007 12.5112H36.9975L26.4874 19.9721L30.5034 32.5542C37.2686 27.6261 39.479 20.1675 36.9987 12.5112L32.9826 0ZM2.98669 12.5112H15.9772L19.9921 0H7.00274L2.98669 12.5112C0.505157 20.1675 2.71678 27.6261 9.48195 32.5542L13.4968 19.9721L2.98669 12.5112ZM9.48195 32.5542L19.9921 40L30.5022 32.5542L19.9921 24.9852L9.48195 32.5542Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 320 B

After

Width:  |  Height:  |  Size: 476 B

View file

@ -0,0 +1,9 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.7187 23.1043C19.6665 23.09 18.863 22.8828 18.0091 22.8828C16.3924 22.8828 15.4191 23.7558 15.4191 25.0558C15.4191 26.2065 16.2334 26.7804 17.2106 27.0891C17.3189 27.1248 17.4785 27.1748 17.5848 27.21C18.0198 27.3469 18.3671 27.5502 18.3671 27.9024C18.3671 28.2963 17.9658 28.5513 17.0934 28.5513C16.3267 28.5513 15.5917 28.3321 15.4369 28.293V29.8924C15.5232 29.9108 16.3967 30.0823 17.3298 30.0823C18.6721 30.0823 20.2074 29.4958 20.2074 27.7498C20.2074 26.903 19.6889 26.1234 18.5506 25.7615L18.0667 25.6074C17.778 25.5163 17.2626 25.3687 17.2626 24.9456C17.2626 24.6113 17.6445 24.376 18.3476 24.376C18.9543 24.376 19.6926 24.5798 19.7187 24.588V23.1043ZM34.5411 26.4826C34.5411 27.4939 33.7665 28.3121 32.7271 28.3121C31.6865 28.3121 30.9139 27.4939 30.9139 26.4826C30.9139 25.4734 31.6865 24.6548 32.7271 24.6548C33.7665 24.6548 34.5411 25.4734 34.5411 26.4826ZM32.7271 22.885C30.5893 22.885 29.0561 24.4974 29.0561 26.4826C29.0561 28.471 30.5893 30.0823 32.7271 30.0823C34.8647 30.0823 36.4 28.471 36.4 26.4826C36.4 24.4974 34.8647 22.885 32.7271 22.885ZM13.0671 29.9586H11.313V23.0082H13.0671" fill="white"/>
<path d="M8.90163 23.1343C8.73681 23.0854 8.12756 22.8853 7.30237 22.8853C5.16793 22.8853 3.60107 24.4071 3.60107 26.4828C3.60107 28.7223 5.3307 30.0825 7.30237 30.0825C8.0857 30.0825 8.68367 29.8969 8.90163 29.8351V27.9693C8.82626 28.0112 8.25293 28.3382 7.42811 28.3382C6.25959 28.3382 5.50589 27.5158 5.50589 26.4828C5.50589 25.4184 6.29218 24.629 7.42811 24.629C8.267 24.629 8.83107 24.9632 8.90163 25.0001" fill="white"/>
<path d="M27.2092 23.1343C27.0444 23.0854 26.4352 22.8853 25.61 22.8853C23.4755 22.8853 21.9087 24.4071 21.9087 26.4828C21.9087 28.7223 23.6383 30.0825 25.61 30.0825C26.3933 30.0825 26.9913 29.8969 27.2092 29.8351V27.9693C27.1339 28.0112 26.5605 28.3382 25.7357 28.3382C24.5672 28.3382 23.8135 27.5158 23.8135 26.4828C23.8135 25.4184 24.5998 24.629 25.7357 24.629C26.5746 24.629 27.1387 24.9632 27.2092 25.0001" fill="white"/>
<path d="M11.3076 9.86759C11.3076 9.38852 10.9163 9 10.4367 9C9.95722 9 9.56593 9.38852 9.56593 9.86759V19.0972C9.56595 19.2115 9.58849 19.3247 9.63227 19.4303C9.67604 19.5359 9.74019 19.6319 9.82105 19.7127C9.90191 19.7935 9.99789 19.8576 10.1035 19.9013C10.2091 19.945 10.3224 19.9675 10.4367 19.9674C10.551 19.9675 10.6642 19.945 10.7699 19.9013C10.8755 19.8576 10.9715 19.7936 11.0524 19.7127C11.1333 19.6319 11.1974 19.536 11.2412 19.4304C11.285 19.3248 11.3076 19.2116 11.3076 19.0972V9.86759ZM6.52444 13.1439C6.52444 12.665 6.13333 12.2759 5.6537 12.2759C5.17407 12.2759 4.78296 12.665 4.78296 13.1439V17.3633C4.78299 17.4776 4.80553 17.5908 4.8493 17.6964C4.89308 17.802 4.95723 17.898 5.03808 17.9788C5.11894 18.0596 5.21493 18.1237 5.32056 18.1674C5.42619 18.2111 5.53939 18.2336 5.6537 18.2335C5.76802 18.2336 5.88122 18.2111 5.98685 18.1674C6.09248 18.1237 6.18846 18.0596 6.26932 17.9788C6.35018 17.898 6.41433 17.802 6.4581 17.6964C6.50188 17.5908 6.52442 17.4776 6.52444 17.3633V13.1439ZM1.74148 15.5387C1.74148 15.0596 1.35037 14.6713 0.870741 14.6713C0.391667 14.6713 0 15.0596 0 15.5387V17.3633C0.00469893 17.5912 0.0985018 17.8081 0.261286 17.9675C0.42407 18.127 0.642867 18.2163 0.870741 18.2163C1.09861 18.2163 1.31741 18.127 1.4802 17.9675C1.64298 17.8081 1.73678 17.5912 1.74148 17.3633" fill="white"/>
<path d="M9.56594 9.86759C9.56594 9.38852 9.95724 9 10.4369 9C10.9163 9 11.3076 9.38852 11.3076 9.86759V19.0972C11.3076 19.2115 11.285 19.3247 11.2413 19.4303C11.1975 19.5359 11.1333 19.6319 11.0525 19.7127C10.9716 19.7935 10.8756 19.8576 10.77 19.9013C10.6644 19.945 10.5512 19.9675 10.4369 19.9674C10.3225 19.9675 10.2093 19.945 10.1037 19.9013C9.99801 19.8576 9.90201 19.7936 9.82113 19.7127C9.74025 19.6319 9.67609 19.536 9.6323 19.4304C9.58852 19.3248 9.56597 19.2116 9.56594 19.0972V9.86759ZM14.3491 13.1439C14.3491 12.665 14.7402 12.2759 15.2198 12.2759C15.6995 12.2759 16.0906 12.665 16.0906 13.1439V17.3633C16.0905 17.4776 16.068 17.5908 16.0242 17.6964C15.9805 17.802 15.9163 17.898 15.8355 17.9788C15.7546 18.0596 15.6586 18.1237 15.553 18.1674C15.4474 18.2111 15.3341 18.2336 15.2198 18.2335C15.1055 18.2336 14.9923 18.2111 14.8867 18.1674C14.7811 18.1237 14.6851 18.0596 14.6042 17.9788C14.5234 17.898 14.4592 17.802 14.4154 17.6964C14.3717 17.5908 14.3491 17.4776 14.3491 17.3633V13.1439ZM19.1321 15.5387C19.1321 15.0596 19.5232 14.6713 20.0028 14.6713C20.4819 14.6713 20.8735 15.0596 20.8735 15.5387V17.3633C20.8688 17.5912 20.775 17.8081 20.6122 17.9675C20.4495 18.127 20.2307 18.2163 20.0028 18.2163C19.7749 18.2163 19.5561 18.127 19.3933 17.9675C19.2306 17.8081 19.1368 17.5912 19.1321 17.3633" fill="white"/>
<path d="M28.6924 9.86759C28.6924 9.38852 29.0837 9 29.5633 9C30.0428 9 30.4341 9.38852 30.4341 9.86759V19.0972C30.4341 19.2115 30.4115 19.3247 30.3677 19.4303C30.324 19.5359 30.2598 19.6319 30.179 19.7127C30.0981 19.7935 30.0021 19.8576 29.8965 19.9013C29.7909 19.945 29.6776 19.9675 29.5633 19.9674C29.449 19.9675 29.3358 19.945 29.2301 19.9013C29.1245 19.8576 29.0285 19.7936 28.9476 19.7127C28.8667 19.6319 28.8026 19.536 28.7588 19.4304C28.715 19.3248 28.6924 19.2116 28.6924 19.0972V9.86759ZM33.4756 13.1439C33.4756 12.665 33.8667 12.2759 34.3463 12.2759C34.8259 12.2759 35.217 12.665 35.217 13.1439V17.3633C35.217 17.4776 35.1945 17.5908 35.1507 17.6964C35.1069 17.802 35.0428 17.898 34.9619 17.9788C34.8811 18.0596 34.7851 18.1237 34.6794 18.1674C34.5738 18.2111 34.4606 18.2336 34.3463 18.2335C34.232 18.2336 34.1188 18.2111 34.0131 18.1674C33.9075 18.1237 33.8115 18.0596 33.7307 17.9788C33.6498 17.898 33.5857 17.802 33.5419 17.6964C33.4981 17.5908 33.4756 17.4776 33.4756 17.3633V13.1439ZM38.2585 15.5387C38.2585 15.0596 38.6496 14.6713 39.1293 14.6713C39.6083 14.6713 40 15.0596 40 15.5387V17.3633C39.9953 17.5912 39.9015 17.8081 39.7387 17.9675C39.5759 18.127 39.3571 18.2163 39.1293 18.2163C38.9014 18.2163 38.6826 18.127 38.5198 17.9675C38.357 17.8081 38.2632 17.5912 38.2585 17.3633" fill="white"/>
<path d="M30.4341 9.86759C30.4341 9.38852 30.0428 9 29.5631 9C29.0837 9 28.6924 9.38852 28.6924 9.86759V19.0972C28.6924 19.2115 28.715 19.3247 28.7587 19.4303C28.8025 19.5359 28.8667 19.6319 28.9475 19.7127C29.0284 19.7935 29.1244 19.8576 29.23 19.9013C29.3356 19.945 29.4488 19.9675 29.5631 19.9674C29.6775 19.9675 29.7907 19.945 29.8963 19.9013C30.002 19.8576 30.098 19.7936 30.1789 19.7127C30.2597 19.6319 30.3239 19.536 30.3677 19.4304C30.4115 19.3248 30.434 19.2116 30.4341 19.0972V9.86759ZM25.6509 13.1439C25.6509 12.665 25.2598 12.2759 24.7802 12.2759C24.3005 12.2759 23.9094 12.665 23.9094 13.1439V17.3633C23.9095 17.4776 23.932 17.5908 23.9758 17.6964C24.0195 17.802 24.0837 17.898 24.1645 17.9788C24.2454 18.0596 24.3414 18.1237 24.447 18.1674C24.5526 18.2111 24.6659 18.2336 24.7802 18.2335C24.8945 18.2336 25.0077 18.2111 25.1133 18.1674C25.2189 18.1237 25.3149 18.0596 25.3958 17.9788C25.4766 17.898 25.5408 17.802 25.5846 17.6964C25.6283 17.5908 25.6509 17.4776 25.6509 17.3633V13.1439ZM20.8679 15.5387C20.8679 15.0596 20.4768 14.6713 19.9972 14.6713C19.5181 14.6713 19.1265 15.0596 19.1265 15.5387V17.3633C19.1312 17.5912 19.225 17.8081 19.3878 17.9675C19.5505 18.127 19.7693 18.2163 19.9972 18.2163C20.2251 18.2163 20.4439 18.127 20.6067 17.9675C20.7694 17.8081 20.8632 17.5912 20.8679 17.3633" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -1 +1,9 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="216" height="114" fill="#049fd9"><path d="M106.48 76.238c-.282-.077-4.621-1.196-9.232-1.196-8.73 0-13.986 4.714-13.986 11.734 0 6.214 4.397 9.313 9.674 10.98.585.193 1.447.463 2.021.653 2.349.739 4.224 1.837 4.224 3.739 0 2.127-2.167 3.504-6.878 3.504-4.14 0-8.109-1.184-8.945-1.395v8.637c.466.099 5.183 1.025 10.222 1.025 7.248 0 15.539-3.167 15.539-12.595 0-4.573-2.8-8.783-8.947-10.737l-2.613-.832c-1.559-.492-4.342-1.289-4.342-3.574 0-1.805 2.062-3.076 5.859-3.076 3.276 0 7.263 1.101 7.404 1.145zm80.041 18.243c0 5.461-4.183 9.879-9.796 9.879-5.619 0-9.791-4.418-9.791-9.879 0-5.45 4.172-9.87 9.791-9.87 5.613 0 9.796 4.42 9.796 9.87m-9.796-19.427c-11.544 0-19.823 8.707-19.823 19.427 0 10.737 8.279 19.438 19.823 19.438 11.543 0 19.834-8.701 19.834-19.438 0-10.72-8.291-19.427-19.834-19.427M70.561 113.251h-9.472V75.719h9.472"/><path id="a" d="M48.07 76.399c-.89-.264-4.18-1.345-8.636-1.345-11.526 0-19.987 8.218-19.987 19.427 0 12.093 9.34 19.438 19.987 19.438 4.23 0 7.459-1.002 8.636-1.336v-10.075c-.407.226-3.503 1.992-7.957 1.992-6.31 0-10.38-4.441-10.38-10.019 0-5.748 4.246-10.011 10.38-10.011 4.53 0 7.576 1.805 7.957 2.004"/><use xlink:href="#a" transform="translate(98.86)"/><g id="c"><path id="b" d="M61.061 4.759c0-2.587-2.113-4.685-4.703-4.685-2.589 0-4.702 2.098-4.702 4.685v49.84a4.7 4.7 0 0 0 4.702 4.699 4.7 4.7 0 0 0 4.703-4.699zM35.232 22.451c0-2.586-2.112-4.687-4.702-4.687s-4.702 2.101-4.702 4.687v22.785a4.7 4.7 0 0 0 4.702 4.699 4.7 4.7 0 0 0 4.702-4.699zM9.404 35.383c0-2.587-2.112-4.684-4.702-4.684C2.115 30.699 0 32.796 0 35.383v9.853a4.703 4.703 0 0 0 9.404 0"/><use xlink:href="#b" transform="matrix(-1 0 0 1 112.717 0)"/></g><use xlink:href="#c" transform="matrix(-1 0 0 1 216 0)"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.7187 23.1043C19.6665 23.09 18.863 22.8828 18.0091 22.8828C16.3924 22.8828 15.4191 23.7558 15.4191 25.0558C15.4191 26.2065 16.2334 26.7804 17.2106 27.0891C17.3189 27.1248 17.4785 27.1748 17.5848 27.21C18.0198 27.3469 18.3671 27.5502 18.3671 27.9024C18.3671 28.2963 17.9658 28.5513 17.0934 28.5513C16.3267 28.5513 15.5917 28.3321 15.4369 28.293V29.8924C15.5232 29.9108 16.3967 30.0823 17.3298 30.0823C18.6721 30.0823 20.2074 29.4958 20.2074 27.7498C20.2074 26.903 19.6889 26.1234 18.5506 25.7615L18.0667 25.6074C17.778 25.5163 17.2626 25.3687 17.2626 24.9456C17.2626 24.6113 17.6445 24.376 18.3476 24.376C18.9543 24.376 19.6926 24.5798 19.7187 24.588V23.1043ZM34.5411 26.4826C34.5411 27.4939 33.7665 28.3121 32.7271 28.3121C31.6865 28.3121 30.9139 27.4939 30.9139 26.4826C30.9139 25.4734 31.6865 24.6548 32.7271 24.6548C33.7665 24.6548 34.5411 25.4734 34.5411 26.4826ZM32.7271 22.885C30.5893 22.885 29.0561 24.4974 29.0561 26.4826C29.0561 28.471 30.5893 30.0823 32.7271 30.0823C34.8647 30.0823 36.4 28.471 36.4 26.4826C36.4 24.4974 34.8647 22.885 32.7271 22.885ZM13.0671 29.9586H11.313V23.0082H13.0671" fill="#049FD9"/>
<path d="M8.90163 23.1343C8.73681 23.0854 8.12756 22.8853 7.30237 22.8853C5.16793 22.8853 3.60107 24.4071 3.60107 26.4828C3.60107 28.7223 5.3307 30.0825 7.30237 30.0825C8.0857 30.0825 8.68367 29.8969 8.90163 29.8351V27.9693C8.82626 28.0112 8.25293 28.3382 7.42811 28.3382C6.25959 28.3382 5.50589 27.5158 5.50589 26.4828C5.50589 25.4184 6.29218 24.629 7.42811 24.629C8.267 24.629 8.83107 24.9632 8.90163 25.0001" fill="#049FD9"/>
<path d="M27.2092 23.1343C27.0444 23.0854 26.4352 22.8853 25.61 22.8853C23.4755 22.8853 21.9087 24.4071 21.9087 26.4828C21.9087 28.7223 23.6383 30.0825 25.61 30.0825C26.3933 30.0825 26.9913 29.8969 27.2092 29.8351V27.9693C27.1339 28.0112 26.5605 28.3382 25.7357 28.3382C24.5672 28.3382 23.8135 27.5158 23.8135 26.4828C23.8135 25.4184 24.5998 24.629 25.7357 24.629C26.5746 24.629 27.1387 24.9632 27.2092 25.0001" fill="#049FD9"/>
<path d="M11.3076 9.86759C11.3076 9.38852 10.9163 9 10.4367 9C9.95722 9 9.56593 9.38852 9.56593 9.86759V19.0972C9.56595 19.2115 9.58849 19.3247 9.63227 19.4303C9.67604 19.5359 9.74019 19.6319 9.82105 19.7127C9.90191 19.7935 9.99789 19.8576 10.1035 19.9013C10.2091 19.945 10.3224 19.9675 10.4367 19.9674C10.551 19.9675 10.6642 19.945 10.7699 19.9013C10.8755 19.8576 10.9715 19.7936 11.0524 19.7127C11.1333 19.6319 11.1974 19.536 11.2412 19.4304C11.285 19.3248 11.3076 19.2116 11.3076 19.0972V9.86759ZM6.52444 13.1439C6.52444 12.665 6.13333 12.2759 5.6537 12.2759C5.17407 12.2759 4.78296 12.665 4.78296 13.1439V17.3633C4.78299 17.4776 4.80553 17.5908 4.8493 17.6964C4.89308 17.802 4.95723 17.898 5.03808 17.9788C5.11894 18.0596 5.21493 18.1237 5.32056 18.1674C5.42619 18.2111 5.53939 18.2336 5.6537 18.2335C5.76802 18.2336 5.88122 18.2111 5.98685 18.1674C6.09248 18.1237 6.18846 18.0596 6.26932 17.9788C6.35018 17.898 6.41433 17.802 6.4581 17.6964C6.50188 17.5908 6.52442 17.4776 6.52444 17.3633V13.1439ZM1.74148 15.5387C1.74148 15.0596 1.35037 14.6713 0.870741 14.6713C0.391667 14.6713 0 15.0596 0 15.5387V17.3633C0.00469893 17.5912 0.0985018 17.8081 0.261286 17.9675C0.42407 18.127 0.642867 18.2163 0.870741 18.2163C1.09861 18.2163 1.31741 18.127 1.4802 17.9675C1.64298 17.8081 1.73678 17.5912 1.74148 17.3633" fill="#049FD9"/>
<path d="M9.56594 9.86759C9.56594 9.38852 9.95724 9 10.4369 9C10.9163 9 11.3076 9.38852 11.3076 9.86759V19.0972C11.3076 19.2115 11.285 19.3247 11.2413 19.4303C11.1975 19.5359 11.1333 19.6319 11.0525 19.7127C10.9716 19.7935 10.8756 19.8576 10.77 19.9013C10.6644 19.945 10.5512 19.9675 10.4369 19.9674C10.3225 19.9675 10.2093 19.945 10.1037 19.9013C9.99801 19.8576 9.90201 19.7936 9.82113 19.7127C9.74025 19.6319 9.67609 19.536 9.6323 19.4304C9.58852 19.3248 9.56597 19.2116 9.56594 19.0972V9.86759ZM14.3491 13.1439C14.3491 12.665 14.7402 12.2759 15.2198 12.2759C15.6995 12.2759 16.0906 12.665 16.0906 13.1439V17.3633C16.0905 17.4776 16.068 17.5908 16.0242 17.6964C15.9805 17.802 15.9163 17.898 15.8355 17.9788C15.7546 18.0596 15.6586 18.1237 15.553 18.1674C15.4474 18.2111 15.3341 18.2336 15.2198 18.2335C15.1055 18.2336 14.9923 18.2111 14.8867 18.1674C14.7811 18.1237 14.6851 18.0596 14.6042 17.9788C14.5234 17.898 14.4592 17.802 14.4154 17.6964C14.3717 17.5908 14.3491 17.4776 14.3491 17.3633V13.1439ZM19.1321 15.5387C19.1321 15.0596 19.5232 14.6713 20.0028 14.6713C20.4819 14.6713 20.8735 15.0596 20.8735 15.5387V17.3633C20.8688 17.5912 20.775 17.8081 20.6122 17.9675C20.4495 18.127 20.2307 18.2163 20.0028 18.2163C19.7749 18.2163 19.5561 18.127 19.3933 17.9675C19.2306 17.8081 19.1368 17.5912 19.1321 17.3633" fill="#049FD9"/>
<path d="M28.6924 9.86759C28.6924 9.38852 29.0837 9 29.5633 9C30.0428 9 30.4341 9.38852 30.4341 9.86759V19.0972C30.4341 19.2115 30.4115 19.3247 30.3677 19.4303C30.324 19.5359 30.2598 19.6319 30.179 19.7127C30.0981 19.7935 30.0021 19.8576 29.8965 19.9013C29.7909 19.945 29.6776 19.9675 29.5633 19.9674C29.449 19.9675 29.3358 19.945 29.2301 19.9013C29.1245 19.8576 29.0285 19.7936 28.9476 19.7127C28.8667 19.6319 28.8026 19.536 28.7588 19.4304C28.715 19.3248 28.6924 19.2116 28.6924 19.0972V9.86759ZM33.4756 13.1439C33.4756 12.665 33.8667 12.2759 34.3463 12.2759C34.8259 12.2759 35.217 12.665 35.217 13.1439V17.3633C35.217 17.4776 35.1945 17.5908 35.1507 17.6964C35.1069 17.802 35.0428 17.898 34.9619 17.9788C34.8811 18.0596 34.7851 18.1237 34.6794 18.1674C34.5738 18.2111 34.4606 18.2336 34.3463 18.2335C34.232 18.2336 34.1188 18.2111 34.0131 18.1674C33.9075 18.1237 33.8115 18.0596 33.7307 17.9788C33.6498 17.898 33.5857 17.802 33.5419 17.6964C33.4981 17.5908 33.4756 17.4776 33.4756 17.3633V13.1439ZM38.2585 15.5387C38.2585 15.0596 38.6496 14.6713 39.1293 14.6713C39.6083 14.6713 40 15.0596 40 15.5387V17.3633C39.9953 17.5912 39.9015 17.8081 39.7387 17.9675C39.5759 18.127 39.3571 18.2163 39.1293 18.2163C38.9014 18.2163 38.6826 18.127 38.5198 17.9675C38.357 17.8081 38.2632 17.5912 38.2585 17.3633" fill="#049FD9"/>
<path d="M30.4341 9.86759C30.4341 9.38852 30.0428 9 29.5631 9C29.0837 9 28.6924 9.38852 28.6924 9.86759V19.0972C28.6924 19.2115 28.715 19.3247 28.7587 19.4303C28.8025 19.5359 28.8667 19.6319 28.9475 19.7127C29.0284 19.7935 29.1244 19.8576 29.23 19.9013C29.3356 19.945 29.4488 19.9675 29.5631 19.9674C29.6775 19.9675 29.7907 19.945 29.8963 19.9013C30.002 19.8576 30.098 19.7936 30.1789 19.7127C30.2597 19.6319 30.3239 19.536 30.3677 19.4304C30.4115 19.3248 30.434 19.2116 30.4341 19.0972V9.86759ZM25.6509 13.1439C25.6509 12.665 25.2598 12.2759 24.7802 12.2759C24.3005 12.2759 23.9094 12.665 23.9094 13.1439V17.3633C23.9095 17.4776 23.932 17.5908 23.9758 17.6964C24.0195 17.802 24.0837 17.898 24.1645 17.9788C24.2454 18.0596 24.3414 18.1237 24.447 18.1674C24.5526 18.2111 24.6659 18.2336 24.7802 18.2335C24.8945 18.2336 25.0077 18.2111 25.1133 18.1674C25.2189 18.1237 25.3149 18.0596 25.3958 17.9788C25.4766 17.898 25.5408 17.802 25.5846 17.6964C25.6283 17.5908 25.6509 17.4776 25.6509 17.3633V13.1439ZM20.8679 15.5387C20.8679 15.0596 20.4768 14.6713 19.9972 14.6713C19.5181 14.6713 19.1265 15.0596 19.1265 15.5387V17.3633C19.1312 17.5912 19.225 17.8081 19.3878 17.9675C19.5505 18.127 19.7693 18.2163 19.9972 18.2163C20.2251 18.2163 20.4439 18.127 20.6067 17.9675C20.7694 17.8081 20.8632 17.5912 20.8679 17.3633" fill="#049FD9"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -0,0 +1,7 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M38.0275 29.1986C37.1647 29.1138 35.6363 28.8994 33.7238 29.8643C31.8114 30.8293 31.0608 30.8692 30.1208 30.7694C30.3976 31.2756 30.9561 31.9663 32.714 32.091C34.4718 32.2156 35.3121 32.268 34.3871 34.4572C34.4095 33.7965 34.2524 32.5173 32.5095 32.7417C30.7641 32.9662 30.3577 34.537 32.2278 35.3199C31.6194 35.4421 30.3303 35.5169 29.4102 33.1058C28.7719 33.3826 27.787 33.9386 26.0017 32.5622C26.4173 32.7118 26.881 32.7916 27.393 32.8016C25.8097 32.0461 24.2962 30.6398 23.3287 29.3108C24.0967 29.8843 24.9445 30.4528 25.8022 30.56C24.7874 29.3258 22.4461 26.8523 19.5786 24.314C21.4213 25.5183 23.6454 27.4183 27.2858 26.9919C30.9262 26.563 33.3722 25.7302 38.0275 29.1986Z" fill="white"/>
<path d="M22.4458 28.3408C20.1643 27.3509 19.6756 27.1539 16.7408 26.4084C13.8061 25.6629 10.9187 24.1095 8.98877 21.6884C10.3502 22.6857 13.1279 24.6904 15.9828 24.4735C15.549 23.8377 14.7486 23.344 13.7936 22.8453C14.8733 23.1046 18.1371 23.9399 22.4458 28.3408Z" fill="white"/>
<path d="M9.38276 13.7443C1.83765 9.02924 0.339106 5.39632 0 4C4.74 9.18383 8.34051 11.2135 10.7915 12.8342C15.8283 16.0457 16.8905 18.205 17.4789 19.8931C15.0628 16.4821 11.8637 15.4373 9.38276 13.7443Z" fill="white"/>
<path d="M10.3203 17.482C3.41598 13.8316 1.81271 10.9093 1.49854 9.57782C4.95442 13.2631 8.79679 15.203 11.0484 16.4622C15.9255 19.0778 17.1697 20.9129 17.7881 22.3417C15.4642 19.5216 12.2327 18.5342 10.3203 17.482Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.6662 22.2095C32.0254 23.7329 32.7634 23.9025 33.0626 24.0172C34.5811 24.5982 38.598 25.3437 38.3462 27.0417C38.815 27.5105 40.5504 29.3781 39.8248 30.6746C39.2014 29.6573 36.3365 27.0168 32.8706 26.4732C29.4048 25.9297 26.2456 27.1016 23.635 25.3686C21.4183 23.7728 21.0618 23.1694 18.8301 19.5141C17.8278 17.8734 17.6333 16.3798 14.2298 13.6022C10.8262 10.8245 7.64214 9.34338 6.30566 5.20679C9.23045 8.80231 13.013 12.2358 22.5204 14.9561C34.429 18.2773 33.5289 20.105 32.6662 22.2095ZM37.9747 27.4232C37.9547 26.765 38.0445 26.3835 36.2417 26.1092C36.885 26.4267 37.4627 26.8647 37.9747 27.4232Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View 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="M0 26.9287H7.77732V28.042H0V26.9287ZM0 24.7932H7.77732V25.9104H0V24.7932ZM2.21872 22.6616H5.55468V23.7789H2.21872V22.6616ZM2.21872 20.5301H5.55468V21.6474H2.21872V20.5301ZM2.21872 18.3986H5.55468V19.5158H2.21872V18.3986ZM2.21872 16.2631H5.55468V17.3804H2.21872V16.2631ZM0 14.1315H7.77732V15.2488H0V14.1315ZM0 12H7.77732V13.1173H0V12ZM8.88668 25.9104H20.8478C21.0516 25.5627 21.2013 25.186 21.2916 24.7932H8.88668V25.9104ZM19.9168 20.5301H11.1094V21.6474H20.8479C20.5943 21.2195 20.2813 20.8431 19.9168 20.5301ZM11.1094 18.3986V19.5158H19.9168C20.2892 19.2028 20.6022 18.8264 20.8479 18.3986H11.1094ZM20.8479 14.1315H8.88668V15.2488H21.2916C21.1886 14.8526 21.038 14.4762 20.8479 14.1315ZM17.1712 12H8.88668V13.1173H20.0277C19.2501 12.3986 18.23 11.9996 17.1712 12ZM11.1094 16.2631H14.4414V17.3804H11.1094V16.2631ZM17.7773 17.3804H21.2638C21.3629 17.0238 21.4144 16.6474 21.4144 16.2631H17.7773V17.3804ZM11.1094 22.6616H14.4414V23.7789H11.1094V22.6616ZM17.7773 22.6616V23.7789H21.4144C21.4144 23.3946 21.3629 23.0182 21.2638 22.6616H17.7773ZM8.88668 28.0341L17.1712 28.046C18.2805 28.046 19.2829 27.6181 20.0317 26.9287H8.88668V28.0341ZM22.2227 26.9287H27.7773V28.042H22.2227V26.9287ZM22.2227 24.7932H27.7773V25.9104H22.2227V24.7932ZM24.4414 22.6616H27.7773V23.7789H24.4414V22.6616ZM24.4414 20.5301H27.7773V21.6474H24.4414V20.5301ZM29.3225 14.1315H22.2227V15.2488H29.7068L29.3225 14.1315ZM28.5856 12H22.2227V13.1173H28.9699L28.5856 12ZM34.4414 26.9287H40V28.042H34.4414V26.9287ZM34.4414 24.7932H40V25.9104H34.4414V24.7932ZM34.4414 22.6616H37.7773V23.7789H34.4414V22.6616ZM34.4414 20.5301H37.7773V21.6474H34.4414V20.5301ZM34.4414 19.5158H37.7773V18.3986H31.4224L31.1094 19.3019L30.7964 18.3986H24.4414V19.5158H27.7773V18.4897L28.13 19.5158H34.0888L34.4414 18.4897V19.5158ZM37.7773 16.2631H32.1593L31.775 17.3804H37.7773V16.2631ZM33.6371 12L33.2528 13.1173H40V12H33.6371ZM31.1094 28.0341L31.4936 26.9287H30.725L31.1094 28.0341ZM30.3724 25.9104H31.8463L32.2425 24.7932H29.9802L30.3724 25.9104ZM29.6236 23.7789H32.5951L32.9873 22.6616H29.2314L29.6236 23.7789ZM28.8788 21.6474H33.3439L33.7242 20.5301H28.4944L28.8788 21.6474ZM24.4414 17.3804H30.4437L30.0594 16.2631H24.4414V17.3804ZM32.5158 15.2488H40V14.1315H32.8962L32.5158 15.2488Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="1000" height="401.149"><path fill="#1F70C1" d="M0 373.217h194.433v27.833H0zm0-53.387h194.433v27.931H0zm55.468-53.289h83.399v27.932H55.468zm0-53.288h83.399v27.932H55.468zm0-53.289h83.399v27.932H55.468zm0-53.387h83.399v27.932H55.468zM0 53.288h194.433V81.22H0zM0 0h194.433v27.932H0zm222.167 347.761h299.029a99.2 99.2 0 0 0 11.094-27.932H222.167zM497.92 213.253H277.734v27.932h243.463c-6.34-10.698-14.165-20.107-23.277-27.932m-220.186-53.289v27.932H497.92c9.311-7.825 17.135-17.235 23.277-27.932zM521.197 53.288h-299.03V81.22H532.29c-2.575-9.905-6.339-19.314-11.093-27.932M429.279 0H222.167v27.932h278.526A105.15 105.15 0 0 0 429.279 0M277.734 106.577h83.3v27.932h-83.3zm166.699 27.932h87.163c2.476-8.914 3.764-18.324 3.764-27.932h-90.927zM277.734 266.541h83.3v27.932h-83.3zm166.699 0v27.932h90.927c0-9.608-1.288-19.017-3.764-27.932zM222.167 400.852l207.112.297c27.734 0 52.793-10.697 71.513-27.932H222.167zm333.4-27.635h138.866v27.833H555.567zm0-53.387h138.866v27.931H555.567zm55.467-53.289h83.399v27.932h-83.399zm0-53.288h83.399v27.932h-83.399zM733.063 53.288H555.567V81.22H742.67zM714.639 0H555.567v27.932h168.68zm146.395 373.217H1000v27.833H861.034zm0-53.387H1000v27.931H861.034zm0-53.289h83.399v27.932h-83.399zm0-53.288h83.399v27.932h-83.399zm0-25.357h83.399v-27.932H785.559l-7.825 22.584-7.825-22.584H611.034v27.932h83.399v-25.654l8.816 25.654h148.97l8.815-25.654zm83.399-81.319H803.982l-9.608 27.932h150.059zM840.927 0l-9.608 27.932H1000V0zm-63.193 400.852 9.607-27.635h-19.215zm-18.423-53.091h36.846l9.905-27.931h-56.557zm-18.721-53.288h74.287l9.806-27.932h-93.899zm-18.621-53.288h111.628l9.509-27.932H712.361zM611.034 134.509h150.059l-9.607-27.932H611.034zM812.896 81.22H1000V53.288H822.405z"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0 26.9287H7.77732V28.042H0V26.9287ZM0 24.7932H7.77732V25.9104H0V24.7932ZM2.21872 22.6616H5.55468V23.7789H2.21872V22.6616ZM2.21872 20.5301H5.55468V21.6474H2.21872V20.5301ZM2.21872 18.3986H5.55468V19.5158H2.21872V18.3986ZM2.21872 16.2631H5.55468V17.3804H2.21872V16.2631ZM0 14.1315H7.77732V15.2488H0V14.1315ZM0 12H7.77732V13.1173H0V12ZM8.88668 25.9104H20.8478C21.0516 25.5627 21.2013 25.186 21.2916 24.7932H8.88668V25.9104ZM19.9168 20.5301H11.1094V21.6474H20.8479C20.5943 21.2195 20.2813 20.8431 19.9168 20.5301ZM11.1094 18.3986V19.5158H19.9168C20.2892 19.2028 20.6022 18.8264 20.8479 18.3986H11.1094ZM20.8479 14.1315H8.88668V15.2488H21.2916C21.1886 14.8526 21.038 14.4762 20.8479 14.1315ZM17.1712 12H8.88668V13.1173H20.0277C19.2501 12.3986 18.23 11.9996 17.1712 12ZM11.1094 16.2631H14.4414V17.3804H11.1094V16.2631ZM17.7773 17.3804H21.2638C21.3629 17.0238 21.4144 16.6474 21.4144 16.2631H17.7773V17.3804ZM11.1094 22.6616H14.4414V23.7789H11.1094V22.6616ZM17.7773 22.6616V23.7789H21.4144C21.4144 23.3946 21.3629 23.0182 21.2638 22.6616H17.7773ZM8.88668 28.0341L17.1712 28.046C18.2805 28.046 19.2829 27.6181 20.0317 26.9287H8.88668V28.0341ZM22.2227 26.9287H27.7773V28.042H22.2227V26.9287ZM22.2227 24.7932H27.7773V25.9104H22.2227V24.7932ZM24.4414 22.6616H27.7773V23.7789H24.4414V22.6616ZM24.4414 20.5301H27.7773V21.6474H24.4414V20.5301ZM29.3225 14.1315H22.2227V15.2488H29.7068L29.3225 14.1315ZM28.5856 12H22.2227V13.1173H28.9699L28.5856 12ZM34.4414 26.9287H40V28.042H34.4414V26.9287ZM34.4414 24.7932H40V25.9104H34.4414V24.7932ZM34.4414 22.6616H37.7773V23.7789H34.4414V22.6616ZM34.4414 20.5301H37.7773V21.6474H34.4414V20.5301ZM34.4414 19.5158H37.7773V18.3986H31.4224L31.1094 19.3019L30.7964 18.3986H24.4414V19.5158H27.7773V18.4897L28.13 19.5158H34.0888L34.4414 18.4897V19.5158ZM37.7773 16.2631H32.1593L31.775 17.3804H37.7773V16.2631ZM33.6371 12L33.2528 13.1173H40V12H33.6371ZM31.1094 28.0341L31.4936 26.9287H30.725L31.1094 28.0341ZM30.3724 25.9104H31.8463L32.2425 24.7932H29.9802L30.3724 25.9104ZM29.6236 23.7789H32.5951L32.9873 22.6616H29.2314L29.6236 23.7789ZM28.8788 21.6474H33.3439L33.7242 20.5301H28.4944L28.8788 21.6474ZM24.4414 17.3804H30.4437L30.0594 16.2631H24.4414V17.3804ZM32.5158 15.2488H40V14.1315H32.8962L32.5158 15.2488Z" fill="#1F70C1"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -0,0 +1,4 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M33.038 13.2277C37.3418 13.2277 40 16.2656 40 21.0758V34.8732H34.1772V22.3416C34.1772 20.0631 33.1646 18.5441 31.1392 18.5441C29.6203 18.5441 28.2279 19.5568 27.8481 21.3289V34.9998H21.8987V22.4682C21.8987 20.1897 20.8861 18.6707 18.8608 18.6707C17.3418 18.6707 15.9494 19.6834 15.5696 21.4555V35.1264H9.74684V13.6074H15.5696V15.3796C16.5823 14.1137 18.6076 13.1011 20.8861 13.1011C23.4177 13.1011 25.443 14.2403 26.5823 15.7593C27.9747 14.3669 30 13.2277 33.038 13.2277ZM5.82279 34.8732H0V13.6074H5.82279V34.8732Z" fill="#235AE6"/>
<path d="M5.82279 5H0V10.8228H5.82279V5Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 702 B

View file

@ -1 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="500" height="500"><path d="M26.463.803c3.4 0 5.5 2.4 5.5 6.2v10.9h-4.6v-9.9c0-1.8-.8-3-2.4-3-1.2 0-2.3.8-2.6 2.2v10.8h-4.7v-9.9c0-1.8-.8-3-2.4-3-1.2 0-2.3.8-2.6 2.2v10.8h-4.6v-17h4.6v1.4c.8-1 2.4-1.8 4.2-1.8 2 0 3.6.9 4.5 2.1 1.1-1.1 2.7-2 5.1-2m-21.5 17.1h-4.6v-16.8h4.6Z" style="fill:#235ae6;fill-opacity:1" transform="translate(14.32 159.549)scale(14.58168)"/><path d="M4.963-5.697h-4.6v4.6h4.6Z" style="fill:#000;fill-opacity:1" transform="translate(14.32 159.549)scale(14.58168)"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M33.038 13.2277C37.3418 13.2277 40 16.2656 40 21.0758V34.8732H34.1772V22.3416C34.1772 20.0631 33.1646 18.5441 31.1392 18.5441C29.6203 18.5441 28.2279 19.5568 27.8481 21.3289V34.9998H21.8987V22.4682C21.8987 20.1897 20.8861 18.6707 18.8608 18.6707C17.3418 18.6707 15.9494 19.6834 15.5696 21.4555V35.1264H9.74684V13.6074H15.5696V15.3796C16.5823 14.1137 18.6076 13.1011 20.8861 13.1011C23.4177 13.1011 25.443 14.2403 26.5823 15.7593C27.9747 14.3669 30 13.2277 33.038 13.2277ZM5.82279 34.8732H0V13.6074H5.82279V34.8732Z" fill="#235AE6"/>
<path d="M5.82279 5H0V10.8228H5.82279V5Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 560 B

After

Width:  |  Height:  |  Size: 702 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -0,0 +1,3 @@
<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.0452 1.521C18.7498 1.52067 17.6893 2.75623 17.6995 3.85792C17.7315 7.30832 17.6995 9.65178 17.7312 12.4996C17.7437 13.601 18.7812 14.8365 20.0766 14.8365C21.3721 14.8365 22.4218 13.6013 22.4224 12.4996C22.4247 9.0129 22.3723 7.0707 22.391 3.85792C22.3975 2.75623 21.3407 1.52067 20.0452 1.521ZM11.5263 6.40497C10.2308 6.40497 9.17003 7.6402 9.1805 8.74189C9.21258 12.1926 9.1805 29.2911 9.21225 32.1389C9.22469 33.2406 10.2622 34.4759 11.5577 34.4762C12.8531 34.4762 13.9028 33.2406 13.9034 32.1393C13.9057 28.6525 13.8534 11.9547 13.872 8.74189C13.8786 7.6402 12.8217 6.40497 11.5263 6.40497ZM28.5639 6.40497C27.2684 6.40497 26.2076 7.64053 26.2181 8.74189C26.2502 12.1926 26.2181 29.2911 26.2499 32.1389C26.2623 33.2406 27.2998 34.4759 28.5953 34.4762C29.8907 34.4762 30.9404 33.2406 30.941 32.1393C30.943 28.6525 30.891 11.9547 30.9096 8.74189C30.9162 7.64053 29.8593 6.40497 28.5639 6.40497ZM3.02333 17.4661C2.23444 17.4662 1.47792 17.7797 0.920116 18.3376C0.362317 18.8955 0.0489149 19.652 0.0488281 20.4409C0.0490017 21.2297 0.362442 21.9862 0.920232 22.544C1.47802 23.1018 2.2345 23.4152 3.02333 23.4154C3.81217 23.4152 4.56864 23.1018 5.12643 22.544C5.68422 21.9862 5.99766 21.2297 5.99783 20.4409C5.99775 19.652 5.68435 18.8955 5.12655 18.3376C4.56875 17.7797 3.81222 17.4662 3.02333 17.4661ZM20.0609 17.4661C19.272 17.4662 18.5155 17.7797 17.9577 18.3376C17.3999 18.8955 17.0865 19.652 17.0864 20.4409C17.0866 21.2297 17.4 21.9862 17.9578 22.544C18.5156 23.1018 19.2721 23.4152 20.0609 23.4154C20.8498 23.4152 21.6062 23.1018 22.164 22.544C22.7218 21.9862 23.0353 21.2297 23.0354 20.4409C23.0354 19.652 22.722 18.8955 22.1642 18.3376C21.6064 17.7797 20.8498 17.4662 20.0609 17.4661ZM37.074 17.4661C36.2851 17.4662 35.5286 17.7797 34.9708 18.3376C34.413 18.8955 34.0996 19.652 34.0995 20.4409C34.0997 21.2298 34.4132 21.9863 34.971 22.5441C35.5289 23.1019 36.2854 23.4153 37.0743 23.4154C37.8632 23.4152 38.6196 23.1018 39.1774 22.544C39.7352 21.9862 40.0487 21.2297 40.0488 20.4409C40.0487 19.652 39.7353 18.8955 39.1775 18.3376C38.6197 17.7797 37.8629 17.4662 37.074 17.4661ZM20.0456 26.0449C18.7501 26.0449 17.6896 27.2805 17.6998 28.3822C17.7319 31.8329 17.6998 34.1761 17.7315 37.0239C17.744 38.1253 18.7815 39.3608 20.077 39.3608C21.3724 39.3608 22.4221 38.1256 22.4227 37.0239C22.425 33.5375 22.3727 31.5953 22.3913 28.3822C22.3979 27.2805 21.341 26.0449 20.0456 26.0449Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="500" height="500" viewBox="0 0 132.292 132.292"><path d="M66.135 8.34c-3.958-.001-7.198 3.774-7.167 7.14.098 10.542 0 17.702.097 26.403.038 3.365 3.208 7.14 7.166 7.14s7.165-3.774 7.167-7.14c.007-10.653-.153-16.587-.096-26.403.02-3.366-3.209-7.141-7.167-7.14M40.107 23.262c-3.958 0-7.199 3.774-7.167 7.14.098 10.543 0 62.784.097 71.485.038 3.366 3.208 7.14 7.166 7.141 3.958 0 7.165-3.775 7.167-7.14.007-10.653-.153-61.67-.096-71.486.02-3.366-3.209-7.14-7.167-7.14m52.055 0c-3.958 0-7.199 3.775-7.167 7.14.098 10.543 0 62.784.097 71.485.038 3.366 3.208 7.14 7.166 7.141 3.958 0 7.165-3.775 7.167-7.14.006-10.653-.153-61.67-.096-71.486.02-3.365-3.208-7.14-7.166-7.14zM14.128 57.057a9.09 9.09 0 0 0-9.088 9.089 9.09 9.09 0 0 0 9.088 9.088 9.09 9.09 0 0 0 9.088-9.088 9.09 9.09 0 0 0-9.088-9.089m52.055 0a9.09 9.09 0 0 0-9.088 9.089 9.09 9.09 0 0 0 9.088 9.088 9.09 9.09 0 0 0 9.088-9.088 9.09 9.09 0 0 0-9.088-9.089m51.98 0a9.09 9.09 0 0 0-9.088 9.089 9.09 9.09 0 0 0 9.089 9.088 9.09 9.09 0 0 0 9.088-9.088 9.09 9.09 0 0 0-9.088-9.089M66.136 83.268c-3.958 0-7.198 3.775-7.167 7.141.098 10.543 0 17.702.097 26.403.038 3.365 3.208 7.14 7.166 7.14s7.165-3.774 7.167-7.14c.007-10.652-.153-16.586-.096-26.403.02-3.366-3.209-7.14-7.167-7.14" style="fill:#000;fill-opacity:1;stroke-width:.556055"/></svg>
<svg width="41" height="40" viewBox="0 0 41 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20.0452 1.521C18.7498 1.52067 17.6893 2.75623 17.6995 3.85792C17.7315 7.30832 17.6995 9.65178 17.7312 12.4996C17.7437 13.601 18.7812 14.8365 20.0766 14.8365C21.3721 14.8365 22.4218 13.6013 22.4224 12.4996C22.4247 9.0129 22.3723 7.0707 22.391 3.85792C22.3975 2.75623 21.3407 1.52067 20.0452 1.521ZM11.5263 6.40497C10.2308 6.40497 9.17003 7.6402 9.1805 8.74189C9.21258 12.1926 9.1805 29.2911 9.21225 32.1389C9.22469 33.2406 10.2622 34.4759 11.5577 34.4762C12.8531 34.4762 13.9028 33.2406 13.9034 32.1393C13.9057 28.6525 13.8534 11.9547 13.872 8.74189C13.8786 7.6402 12.8217 6.40497 11.5263 6.40497ZM28.5639 6.40497C27.2684 6.40497 26.2076 7.64053 26.2181 8.74189C26.2502 12.1926 26.2181 29.2911 26.2499 32.1389C26.2623 33.2406 27.2998 34.4759 28.5953 34.4762C29.8907 34.4762 30.9404 33.2406 30.941 32.1393C30.943 28.6525 30.891 11.9547 30.9096 8.74189C30.9162 7.64053 29.8593 6.40497 28.5639 6.40497ZM3.02333 17.4661C2.23444 17.4662 1.47792 17.7797 0.920116 18.3376C0.362317 18.8955 0.0489149 19.652 0.0488281 20.4409C0.0490017 21.2297 0.362442 21.9862 0.920232 22.544C1.47802 23.1018 2.2345 23.4152 3.02333 23.4154C3.81217 23.4152 4.56864 23.1018 5.12643 22.544C5.68422 21.9862 5.99766 21.2297 5.99783 20.4409C5.99775 19.652 5.68435 18.8955 5.12655 18.3376C4.56875 17.7797 3.81222 17.4662 3.02333 17.4661ZM20.0609 17.4661C19.272 17.4662 18.5155 17.7797 17.9577 18.3376C17.3999 18.8955 17.0865 19.652 17.0864 20.4409C17.0866 21.2297 17.4 21.9862 17.9578 22.544C18.5156 23.1018 19.2721 23.4152 20.0609 23.4154C20.8498 23.4152 21.6062 23.1018 22.164 22.544C22.7218 21.9862 23.0353 21.2297 23.0354 20.4409C23.0354 19.652 22.722 18.8955 22.1642 18.3376C21.6064 17.7797 20.8498 17.4662 20.0609 17.4661ZM37.074 17.4661C36.2851 17.4662 35.5286 17.7797 34.9708 18.3376C34.413 18.8955 34.0996 19.652 34.0995 20.4409C34.0997 21.2298 34.4132 21.9863 34.971 22.5441C35.5289 23.1019 36.2854 23.4153 37.0743 23.4154C37.8632 23.4152 38.6196 23.1018 39.1774 22.544C39.7352 21.9862 40.0487 21.2297 40.0488 20.4409C40.0487 19.652 39.7353 18.8955 39.1775 18.3376C38.6197 17.7797 37.8629 17.4662 37.074 17.4661ZM20.0456 26.0449C18.7501 26.0449 17.6896 27.2805 17.6998 28.3822C17.7319 31.8329 17.6998 34.1761 17.7315 37.0239C17.744 38.1253 18.7815 39.3608 20.077 39.3608C21.3724 39.3608 22.4221 38.1256 22.4227 37.0239C22.425 33.5375 22.3727 31.5953 22.3913 28.3822C22.3979 27.2805 21.341 26.0449 20.0456 26.0449Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" fill="none"><path fill="#0a083b" fill-rule="evenodd" d="M250.055 25A225 225 0 0 0 29.317 293.862a225 225 0 0 0 176.767 176.81 225 225 0 0 0 230.993-95.663A225 225 0 0 0 475 250 225.223 225.223 0 0 0 250.055 25m0 408.67a183.723 183.723 0 0 1-129.894-313.658 183.72 183.72 0 0 1 200.24-39.791A183.72 183.72 0 0 1 433.78 250a183.89 183.89 0 0 1-183.725 183.835zm-11.38-268.74a100 100 0 0 1 126.267 12.437 100.004 100.004 0 0 1 12.436 126.268 100.01 100.01 0 0 1-102.656 42.522 100 100 0 0 1-78.569-78.57 100 100 0 0 1 5.69-57.778 100 100 0 0 1 36.832-44.879m22.977 131.906a58.64 58.64 0 0 0 32.58 9.884 58.695 58.695 0 0 0 58.641-58.642 58.641 58.641 0 1 0-91.222 48.759M128.847 167.308h44.23V330.77h-44.23z" clip-rule="evenodd" style="stroke-width:1.125"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.0049 6.00064e-07C16.0491 -0.000968209 12.1818 1.1712 8.8922 3.36824C5.60258 5.56528 3.03835 8.68851 1.52385 12.3429C0.00935188 15.9974 -0.387456 20.0189 0.383696 23.8988C1.15485 27.7787 3.05928 31.3429 5.85614 34.1405C8.65299 36.9379 12.2167 38.8433 16.0964 39.6154C19.9762 40.3875 23.9978 39.9917 27.6527 38.478C31.3074 36.9645 34.4313 34.401 36.6291 31.112C38.827 27.8228 40 23.9559 40 20C39.9948 14.6981 37.8867 9.61479 34.1382 5.86533C30.3896 2.11587 25.3068 0.0064844 20.0049 6.00064e-07ZM20.0049 36.3262C16.7747 36.3262 13.6171 35.3683 10.9313 33.5736C8.24557 31.779 6.15239 29.2281 4.91648 26.2437C3.68055 23.2593 3.35739 19.9753 3.98793 16.8073C4.61846 13.6392 6.17438 10.7293 8.45882 8.44552C10.7433 6.16176 13.6537 4.60677 16.822 3.97718C19.9902 3.34759 23.2738 3.67169 26.258 4.90851C29.2419 6.14533 31.7923 8.2393 33.5862 10.9256C35.3801 13.6119 36.3371 16.7698 36.336 20C36.3348 24.3319 34.6141 28.4859 31.552 31.5499C28.4899 34.6138 24.3368 36.3371 20.0049 36.341V36.3262ZM23.9317 10.9402C22.1736 10.9402 20.4551 11.4615 18.9933 12.4382C17.5315 13.4149 16.3922 14.8032 15.7194 16.4274C15.0466 18.0517 14.8706 19.839 15.2136 21.5632C15.5565 23.2875 16.4031 24.8712 17.6463 26.1144C18.8895 27.3576 20.4732 28.2042 22.1976 28.5472C23.9218 28.8902 25.7091 28.7141 27.3333 28.0413C28.9576 27.3685 30.3458 26.2293 31.3225 24.7675C32.2993 23.3056 32.8205 21.5871 32.8205 19.829C32.8205 17.4716 31.8841 15.2106 30.217 13.5437C28.5501 11.8767 26.2891 10.9402 23.9317 10.9402ZM23.9317 25.0417C22.9008 25.0417 21.8929 24.736 21.0358 24.1631C20.1786 23.5905 19.5104 22.7763 19.1158 21.8239C18.7214 20.8713 18.6182 19.8233 18.8193 18.8121C19.0204 17.8009 19.5168 16.8722 20.2458 16.1432C20.9748 15.4142 21.9035 14.9177 22.9147 14.7166C23.9259 14.5155 24.9739 14.6187 25.9265 15.0132C26.8789 15.4078 27.6931 16.0758 28.2657 16.9332C28.8386 17.7903 29.1443 18.7981 29.1443 19.829C29.143 21.2111 28.5934 22.5363 27.6161 23.5135C26.6389 24.4908 25.3137 25.0403 23.9317 25.0417ZM9.23078 12.6496H13.1624V27.1795H9.23078V12.6496Z" fill="#5D4FF2"/>
</svg>

Before

Width:  |  Height:  |  Size: 825 B

After

Width:  |  Height:  |  Size: 2.1 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 793 B

View 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="M40 20.4739V16.8078C40 13.7055 36.8977 12.0143 34.3603 12.0143C32.5945 12.1526 30.917 12.8431 29.5655 13.988C28.9833 13.3743 28.284 12.8834 27.5091 12.5442C26.7341 12.205 25.8991 12.0244 25.0532 12.0131C23.27 12.074 21.5683 12.7751 20.2597 13.988C19.7826 13.3243 19.1432 12.7941 18.4026 12.4484C17.662 12.1026 16.845 11.9527 16.0299 12.0131C15.1881 11.9478 14.3454 12.1282 13.6042 12.5325C12.8629 12.9367 12.2549 13.5474 11.8538 14.2904L8.13402 22.73L4.00172 13.263C3.781 12.7581 3.36964 12.361 2.85732 12.1583C2.345 11.9555 1.77329 11.9635 1.26685 12.1805C1.01025 12.2902 0.778249 12.4503 0.58457 12.6512C0.390891 12.8521 0.239465 13.0898 0.139247 13.3503C0.0390284 13.6107 -0.0079476 13.8886 0.00109657 14.1676C0.0101407 14.4465 0.0750215 14.7207 0.191902 14.9742L5.31291 26.1136C5.31291 26.1136 6.15912 28.0885 7.85029 28.0885C8.36958 28.1653 8.8997 28.0688 9.35861 27.8139C9.81752 27.559 10.1796 27.16 10.3889 26.6786C10.7789 26.0911 13.74 19.8664 15.5237 16.0916C15.5929 15.946 15.7095 15.8284 15.8544 15.7579C15.9994 15.6874 16.164 15.6684 16.3212 15.7038C16.4784 15.7393 16.6189 15.8272 16.7195 15.9531C16.8201 16.079 16.8749 16.2354 16.8749 16.3966V25.7549C16.8673 26.3372 17.0802 26.9008 17.4708 27.3327C17.8614 27.7646 18.4009 28.0328 18.981 28.0835C19.2892 28.1041 19.5984 28.0611 19.8893 27.9573C20.1803 27.8534 20.4468 27.6909 20.6724 27.4799C20.898 27.2688 21.0778 27.0137 21.2008 26.7303C21.3237 26.4469 21.3871 26.1413 21.3871 25.8324V18.0765C21.4014 17.4503 21.6602 16.8546 22.1082 16.4168C22.5561 15.979 23.1576 15.7339 23.7839 15.7339C24.4102 15.7339 25.0117 15.979 25.4596 16.4168C25.9076 16.8546 26.1664 17.4503 26.1807 18.0765V25.8324C26.1807 26.4308 26.4184 27.0046 26.8415 27.4277C27.2646 27.8508 27.8384 28.0885 28.4368 28.0885C29.0352 28.0885 29.609 27.8508 30.0321 27.4277C30.4552 27.0046 30.6929 26.4308 30.6929 25.8324V18.0765C30.6929 17.4407 30.9455 16.8309 31.3951 16.3813C31.8447 15.9317 32.4545 15.6791 33.0903 15.6791C33.7262 15.6791 34.3359 15.9317 34.7855 16.3813C35.2351 16.8309 35.4877 17.4407 35.4877 18.0765V25.8324C35.4877 26.4308 35.7254 27.0046 36.1485 27.4277C36.5716 27.8508 37.1455 28.0885 37.7439 28.0885C38.3422 28.0885 38.9161 27.8508 39.3392 27.4277C39.7623 27.0046 40 26.4308 40 25.8324V20.4739Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="800" viewBox="0 0 32 32"><path d="M32 16.77v-2.933c0-2.482-2.482-3.835-4.512-3.835a6.75 6.75 0 0 0-3.836 1.579 5.07 5.07 0 0 0-3.61-1.58 5.94 5.94 0 0 0-3.835 1.58 3.82 3.82 0 0 0-3.384-1.58 3.49 3.49 0 0 0-3.341 1.822l-2.976 6.752L3.2 11.001a1.67 1.67 0 0 0-2.188-.866 1.67 1.67 0 0 0-.86 2.235l4.097 8.912s.677 1.58 2.03 1.58a1.91 1.91 0 0 0 2.031-1.128c.312-.47 2.681-5.45 4.108-8.47a.568.568 0 0 1 1.081.244v7.487a1.846 1.846 0 0 0 1.685 1.863 1.805 1.805 0 0 0 1.925-1.801v-6.205a1.918 1.918 0 0 1 3.835 0v6.205a1.805 1.805 0 0 0 3.61 0v-6.205a1.918 1.918 0 0 1 3.836 0v6.205a1.805 1.805 0 0 0 3.61 0Z"/><path d="M0 0h32v32H0z" data-name="&lt;Transparent Rectangle&gt;" style="fill:none"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M40 20.4739V16.8078C40 13.7055 36.8977 12.0143 34.3603 12.0143C32.5945 12.1526 30.917 12.8431 29.5655 13.988C28.9833 13.3743 28.284 12.8834 27.5091 12.5442C26.7341 12.205 25.8991 12.0244 25.0532 12.0131C23.27 12.074 21.5683 12.7751 20.2597 13.988C19.7826 13.3243 19.1432 12.7941 18.4026 12.4484C17.662 12.1026 16.845 11.9527 16.0299 12.0131C15.1881 11.9478 14.3454 12.1282 13.6042 12.5325C12.8629 12.9367 12.2549 13.5474 11.8538 14.2904L8.13402 22.73L4.00172 13.263C3.781 12.7581 3.36964 12.361 2.85732 12.1583C2.345 11.9555 1.77329 11.9635 1.26685 12.1805C1.01025 12.2902 0.778249 12.4503 0.58457 12.6512C0.390891 12.8521 0.239465 13.0898 0.139247 13.3503C0.0390284 13.6107 -0.0079476 13.8886 0.00109657 14.1676C0.0101407 14.4465 0.0750215 14.7207 0.191902 14.9742L5.31291 26.1136C5.31291 26.1136 6.15912 28.0885 7.85029 28.0885C8.36958 28.1653 8.8997 28.0688 9.35861 27.8139C9.81752 27.559 10.1796 27.16 10.3889 26.6786C10.7789 26.0911 13.74 19.8664 15.5237 16.0916C15.5929 15.946 15.7095 15.8284 15.8544 15.7579C15.9994 15.6874 16.164 15.6684 16.3212 15.7038C16.4784 15.7393 16.6189 15.8272 16.7195 15.9531C16.8201 16.079 16.8749 16.2354 16.8749 16.3966V25.7549C16.8673 26.3372 17.0802 26.9008 17.4708 27.3327C17.8614 27.7646 18.4009 28.0328 18.981 28.0835C19.2892 28.1041 19.5984 28.0611 19.8893 27.9573C20.1803 27.8534 20.4468 27.6909 20.6724 27.4799C20.898 27.2688 21.0778 27.0137 21.2008 26.7303C21.3237 26.4469 21.3871 26.1413 21.3871 25.8324V18.0765C21.4014 17.4503 21.6602 16.8546 22.1082 16.4168C22.5561 15.979 23.1576 15.7339 23.7839 15.7339C24.4102 15.7339 25.0117 15.979 25.4596 16.4168C25.9076 16.8546 26.1664 17.4503 26.1807 18.0765V25.8324C26.1807 26.4308 26.4184 27.0046 26.8415 27.4277C27.2646 27.8508 27.8384 28.0885 28.4368 28.0885C29.0352 28.0885 29.609 27.8508 30.0321 27.4277C30.4552 27.0046 30.6929 26.4308 30.6929 25.8324V18.0765C30.6929 17.4407 30.9455 16.8309 31.3951 16.3813C31.8447 15.9317 32.4545 15.6791 33.0903 15.6791C33.7262 15.6791 34.3359 15.9317 34.7855 16.3813C35.2351 16.8309 35.4877 17.4407 35.4877 18.0765V25.8324C35.4877 26.4308 35.7254 27.0046 36.1485 27.4277C36.5716 27.8508 37.1455 28.0885 37.7439 28.0885C38.3422 28.0885 38.9161 27.8508 39.3392 27.4277C39.7623 27.0046 40 26.4308 40 25.8324V20.4739Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 760 B

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -82,7 +82,7 @@ export class ActiveCampaign implements INodeType {
displayName: 'ActiveCampaign',
name: 'activeCampaign',
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
icon: 'file:activeCampaign.png',
icon: { light: 'file:activeCampaign.svg', dark: 'file:activeCampaign.dark.svg' },
group: ['transform'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',

View file

@ -0,0 +1,4 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.45172 33.7906L28.3389 19.9196L7.45172 5.96777C6.56472 5.40313 6 4.35496 6 3.22569V0L31.3229 16.4516C32.5325 17.258 33.1777 18.5485 33.1777 19.9196C33.1777 21.2903 32.4517 22.5809 31.3229 23.3872L6 40V36.5323C6 35.4839 6.48422 34.4357 7.45172 33.7906Z" fill="white"/>
<path d="M19.4679 21.0485C18.3391 21.7741 16.8871 21.7741 15.7583 21.0485L12.8549 19.1936L6 14.5967V11.9354C6 10.8873 7.20961 10.3226 8.01612 10.8873L21.242 19.8388L19.4679 21.0485Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 580 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 B

View file

@ -0,0 +1,4 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.45172 33.7906L28.3389 19.9196L7.45172 5.96777C6.56472 5.40313 6 4.35496 6 3.22569V0L31.3229 16.4516C32.5325 17.258 33.1777 18.5485 33.1777 19.9196C33.1777 21.2903 32.4517 22.5809 31.3229 23.3872L6 40V36.5323C6 35.4839 6.48422 34.4357 7.45172 33.7906Z" fill="#004CFF"/>
<path d="M19.4679 21.0485C18.3391 21.7741 16.8871 21.7741 15.7583 21.0485L12.8549 19.1936L6 14.5967V11.9354C6 10.8873 7.20961 10.3226 8.01612 10.8873L21.242 19.8388L19.4679 21.0485Z" fill="#004CFF"/>
</svg>

After

Width:  |  Height:  |  Size: 584 B

View file

@ -27,7 +27,7 @@ export class Affinity implements INodeType {
displayName: 'Affinity',
name: 'affinity',
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
icon: 'file:affinity.png',
icon: { light: 'file:affinity.svg', dark: 'file:affinity.dark.svg' },
group: ['output'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',

View file

@ -0,0 +1,8 @@
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0_1002_8324" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="40" height="40">
<path d="M32.4632 23.7334L34.3904 25.6595C35.5228 26.8199 36.152 28.3799 36.1418 30.0012C36.1315 31.6225 35.4825 33.1744 34.3356 34.3204C33.1887 35.4664 31.6362 36.1141 30.0149 36.1231C28.3936 36.132 26.8341 35.5015 25.6746 34.3682L23.7308 32.4226C23.8337 32.0677 23.8864 31.7001 23.8875 31.3306C23.8873 31.005 23.8452 30.6807 23.7621 30.3658L30.3478 23.7813C31.043 23.9627 31.7751 23.9461 32.4614 23.7334M5.70165 34.296C4.55763 33.1545 3.90875 31.6086 3.89524 29.9925C3.88174 28.3765 4.5047 26.82 5.62949 25.6595L7.63246 23.6689C8.30009 23.9123 9.02155 23.9686 9.71884 23.8316L16.2128 30.322C16.124 30.6499 16.0791 30.988 16.0791 31.3277C16.0785 31.712 16.1347 32.0943 16.246 32.4622L14.3435 34.3658C13.1809 35.4886 11.6239 36.1101 10.0077 36.0965C8.3915 36.0828 6.84523 35.4353 5.70165 34.2931M20.8783 12.1628L27.5853 18.8656C27.3587 19.6074 27.3587 20.4 27.5853 21.1418V21.1377L21.1161 27.6009C20.3906 27.3803 19.6165 27.3758 18.8884 27.5879L12.6292 21.3341C12.944 20.4731 12.944 19.5284 12.6292 18.6674L19.1321 12.1734C19.7073 12.3038 20.3048 12.3002 20.8783 12.1628ZM16.2826 9.60611V9.60256V9.60848V9.60611ZM23.6971 9.56056C23.8241 9.17437 23.889 8.77043 23.8893 8.36387C23.8882 8.07789 23.856 7.79287 23.7935 7.51381L25.6705 5.63743C26.8335 4.52383 28.3862 3.90983 29.9963 3.92691C31.6064 3.94399 33.1458 4.59079 34.2849 5.72882C35.424 6.86685 36.0723 8.40564 36.0909 10.0157C36.1095 11.6258 35.497 13.1792 34.3845 14.3432L32.459 16.2699C32.0911 16.159 31.7088 16.1027 31.3244 16.1031C31.0019 16.1025 30.6807 16.1433 30.3685 16.2243L23.6971 9.56056ZM5.62949 14.3414C4.50287 13.1801 3.87837 11.6222 3.89091 10.0042C3.90346 8.38625 4.55204 6.83818 5.69654 5.69447C6.84103 4.55075 8.38954 3.90322 10.0075 3.89177C11.6255 3.88033 13.183 4.50588 14.3435 5.63329L16.1856 7.47655C16.0168 8.18138 16.0505 8.91955 16.2826 9.60611L9.72062 16.1723C9.0221 16.0358 8.29948 16.095 7.63246 16.3432L5.62949 14.3414ZM9.98859 2.34538e-06C8.01364 -0.0013512 6.08268 0.583186 4.44006 1.67964C2.79744 2.7761 1.51699 4.33519 0.760763 6.15962C0.00453271 7.98404 -0.193492 9.9918 0.191747 11.9288C0.576986 13.8658 1.52817 15.645 2.92494 17.0412L5.13022 19.2483C5.03143 19.7437 5.03143 20.2537 5.13022 20.7491L2.92257 22.9555C1.05059 24.8291 -0.000455671 27.3695 0.000653692 30.018C0.00176306 32.6665 1.05494 35.2061 2.92849 37.0781C4.80204 38.9501 7.3425 40.0011 9.99099 40C12.6395 39.9989 15.1791 38.9457 17.051 37.0722L19.0138 35.1082C19.6625 35.2804 20.345 35.2804 20.9937 35.1082L22.9689 37.0828C24.3351 38.4256 26.0587 39.3472 27.9342 39.7377C29.8096 40.1283 31.7578 39.9713 33.5465 39.2855C35.3352 38.5997 36.889 37.414 38.0227 35.8697C39.1563 34.3255 39.822 32.4878 39.9403 30.5758V29.3484C39.7956 26.9469 38.7846 24.6794 37.095 22.9668L35.1027 20.9638C35.1813 20.6508 35.221 20.3294 35.221 20.0067C35.221 19.6802 35.1789 19.3551 35.0956 19.0395L37.0944 17.0424C38.7765 15.3375 39.7863 13.0824 39.9379 10.6922V9.39552C39.813 7.48725 39.1429 5.65496 38.0072 4.11633C36.8716 2.5777 35.3181 1.3974 33.5314 0.715656C31.7447 0.033914 29.7999 -0.120614 27.9279 0.270429C26.056 0.661473 24.3356 1.58165 22.9712 2.92165L21.225 4.66671C20.4336 4.39806 19.5765 4.39287 18.7819 4.65192L17.0528 2.9252C15.1791 1.052 12.6381 -0.000209017 9.98859 2.34538e-06Z" fill="white"/>
</mask>
<g mask="url(#mask0_1002_8324)">
<rect x="-0.479492" y="-0.450134" width="40.8575" height="40.8575" fill="white"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 29 KiB

View file

@ -19,7 +19,7 @@ export class Amqp implements INodeType {
displayName: 'AMQP Sender',
name: 'amqp',
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
icon: 'file:amqp.png',
icon: 'file:amqp.svg',
group: ['transform'],
version: 1,
description: 'Sends a raw-message via AMQP 1.0, executed once per item',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 550 B

Some files were not shown because too many files have changed in this diff Show more