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
294 changed files with 1421 additions and 519 deletions

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,6 @@
<svg width="40" height="41" viewBox="0 0 40 41" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M36.4722 30.9096C38.2943 27.927 39.3443 24.4213 39.3443 20.6703C39.3443 9.80671 30.5367 1 19.6721 1C8.80751 1 0 9.80671 0 20.6703C0 31.534 8.80751 40.3407 19.6721 40.3407C23.9509 40.3407 27.9106 38.9748 31.1389 36.6552L40 40.0128L36.4722 30.9096Z" fill="#FEBD00"/>
<path d="M33.214 28.9076C34.6756 26.5081 35.5179 23.6879 35.5179 20.6704C35.5179 11.9309 28.4526 4.84619 19.737 4.84619C11.0214 4.84619 3.95605 11.9309 3.95605 20.6704C3.95605 29.4098 11.0214 36.4945 19.737 36.4945C23.1694 36.4945 26.3459 35.3957 28.9356 33.5297L36.044 36.2308L33.214 28.9076Z" fill="#FFCD3A"/>
<path d="M29.1409 26.3907C30.1521 24.7244 30.7348 22.7659 30.7348 20.6704C30.7348 14.6013 25.8471 9.6814 19.8178 9.6814C13.7886 9.6814 8.90088 14.6013 8.90088 20.6704C8.90088 26.7395 13.7886 31.6594 19.8178 31.6594C22.1923 31.6594 24.3897 30.8963 26.1813 29.6005L31.0987 31.4763L29.1409 26.3907Z" fill="#FFD96B"/>
<path d="M25.5211 24.1025C26.1318 23.1027 26.4837 21.9276 26.4837 20.6703C26.4837 17.0289 23.5317 14.0769 19.8903 14.0769C16.2488 14.0769 13.2969 17.0289 13.2969 20.6703C13.2969 24.3117 16.2488 27.2637 19.8903 27.2637C21.3244 27.2637 22.6515 26.8059 23.7335 26.0284L26.7035 27.1538L25.5211 24.1025Z" fill="#FFF4D3"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB