Add svg logos to Facebook nodes (#1713)

This commit is contained in:
Ricardo Espinoza 2021-04-30 15:22:46 -04:00 committed by GitHub
parent 901551ae99
commit 144bf3ea00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 2 deletions

View file

@ -20,7 +20,7 @@ export class FacebookGraphApi implements INodeType {
description: INodeTypeDescription = {
displayName: 'Facebook Graph API',
name: 'facebookGraphApi',
icon: 'file:facebook.png',
icon: 'file:facebook.svg',
group: ['transform'],
version: 1,
description: 'Interacts with Facebook using the Graph API',

View file

@ -29,7 +29,7 @@ export class FacebookTrigger implements INodeType {
description: INodeTypeDescription = {
displayName: 'Facebook Trigger',
name: 'facebookTrigger',
icon: 'file:facebook.png',
icon: 'file:facebook.svg',
group: ['trigger'],
version: 1,
subtitle: '={{$parameter["appId"] +"/"+ $parameter["object"]}}',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 24.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 60 60" style="enable-background:new 0 0 60 60;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1877F2;}
.st1{fill:#FFFFFF;}
</style>
<g>
<path class="st0" d="M59.5,30C59.5,13.71,46.29,0.5,30,0.5S0.5,13.71,0.5,30c0,14.72,10.79,26.93,24.89,29.14V38.53H17.9V30h7.49
v-6.5c0-7.39,4.4-11.48,11.14-11.48c3.23,0,6.6,0.58,6.6,0.58v7.26h-3.72c-3.66,0-4.81,2.27-4.81,4.61V30h8.18l-1.31,8.53h-6.87
v20.61C48.71,56.93,59.5,44.72,59.5,30z"/>
<path class="st1" d="M41.48,38.53L42.79,30h-8.18v-5.53c0-2.33,1.14-4.61,4.81-4.61h3.72V12.6c0,0-3.38-0.58-6.6-0.58
c-6.74,0-11.14,4.08-11.14,11.48V30H17.9v8.53h7.49v20.61c1.5,0.24,3.04,0.36,4.61,0.36s3.11-0.12,4.61-0.36V38.53H41.48z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 972 B