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

@@ -17,7 +17,7 @@ export class CitrixAdc implements INodeType {
description: INodeTypeDescription = {
displayName: 'Citrix ADC',
name: 'citrixAdc',
icon: 'file:citrix.svg',
icon: { light: 'file:citrix.svg', dark: 'file:citrix.dark.svg' },
group: ['output'],
version: 1,
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',

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="M19.5206 27.2873L9.29324 39.2473C8.88891 39.7695 8.36894 40 7.79043 40C6.7505 40 6 39.1905 6 38.2663C6 37.8616 6.11527 37.3983 6.51997 36.9373L17.2095 24.8608L6.92467 13.0739C6.51996 12.6105 6.28943 12.2059 6.28943 11.686C6.28943 10.7615 7.03994 9.95234 8.13841 9.95234C8.71474 9.95234 9.11944 10.185 9.58268 10.7051L19.5206 22.3755L29.4585 10.7051C29.9221 10.185 30.3268 9.95234 30.9031 9.95234C32.0016 9.95234 32.7521 10.7615 32.7521 11.686C32.7521 12.2059 32.5216 12.6105 32.1169 13.0739L21.8321 24.8608L32.5216 36.9373C32.9263 37.3983 33.0415 37.8616 33.0415 38.2663C33.0415 39.1905 32.291 40 31.2511 40C30.6722 40 30.1526 39.7694 29.7479 39.2473L19.5206 27.2873ZM22.472 2.95109C22.472 4.58094 21.1507 5.90231 19.5206 5.90231C17.8909 5.90231 16.5695 4.58094 16.5695 2.95109C16.5695 1.32137 17.8909 -3.9211e-07 19.5206 -3.9211e-07C21.1507 -3.9211e-07 22.472 1.32137 22.472 2.95109Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1013 B

View File

@@ -1 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="147" height="147"><path d="M2904.09 362.301 2622.82 33.379c-11.12-14.36-25.42-20.7-41.33-20.7-28.6 0-49.24 22.262-49.24 47.68 0 11.13 3.17 23.871 14.3 36.551l293.98 332.125-282.85 324.16c-11.13 12.743-17.47 23.871-17.47 38.168 0 25.426 20.64 47.68 50.85 47.68 15.85 0 26.98-6.398 39.72-20.703l273.31-320.957L3177.4 818.34c12.75 14.305 23.88 20.703 39.73 20.703 30.21 0 50.85-22.254 50.85-47.68 0-14.297-6.34-25.425-17.47-38.168l-282.85-324.16L3261.64 96.91c11.13-12.68 14.3-25.422 14.3-36.55 0-25.419-20.64-47.68-49.24-47.68-15.92 0-30.21 6.34-41.34 20.699zm81.17 669.289c0-44.824-36.34-81.164-81.17-81.164-44.82 0-81.16 36.34-81.16 81.164 0 44.82 36.34 81.16 81.16 81.16 44.83 0 81.17-36.34 81.17-81.16" style="fill:#100f0d;fill-opacity:1;fill-rule:nonzero;stroke:none" transform="matrix(.13333 0 0 -.13333 -313.519 148.367)"/></svg>
<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.5206 27.2873L9.29324 39.2473C8.88891 39.7695 8.36894 40 7.79043 40C6.7505 40 6 39.1905 6 38.2663C6 37.8616 6.11527 37.3983 6.51997 36.9373L17.2095 24.8608L6.92467 13.0739C6.51996 12.6105 6.28943 12.2059 6.28943 11.686C6.28943 10.7615 7.03994 9.95234 8.13841 9.95234C8.71474 9.95234 9.11944 10.185 9.58268 10.7051L19.5206 22.3755L29.4585 10.7051C29.9221 10.185 30.3268 9.95234 30.9031 9.95234C32.0016 9.95234 32.7521 10.7615 32.7521 11.686C32.7521 12.2059 32.5216 12.6105 32.1169 13.0739L21.8321 24.8608L32.5216 36.9373C32.9263 37.3983 33.0415 37.8616 33.0415 38.2663C33.0415 39.1905 32.291 40 31.2511 40C30.6722 40 30.1526 39.7694 29.7479 39.2473L19.5206 27.2873ZM22.472 2.95109C22.472 4.58094 21.1507 5.90231 19.5206 5.90231C17.8909 5.90231 16.5695 4.58094 16.5695 2.95109C16.5695 1.32137 17.8909 -3.9211e-07 19.5206 -3.9211e-07C21.1507 -3.9211e-07 22.472 1.32137 22.472 2.95109Z" fill="#100F0D"/>
</svg>

Before

Width:  |  Height:  |  Size: 902 B

After

Width:  |  Height:  |  Size: 1015 B