Replace PNG icons with SVG and optimize (#1890)

* 🎨 Replace PNG icons with SVG icons

*  Fix size of bitbucket icon

*  Optimize svgs

Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
Iván Ovejero
2021-06-12 21:00:37 +02:00
committed by GitHub
parent 4c7d3a918b
commit 77483f991d
97 changed files with 70 additions and 61 deletions

View File

@@ -43,7 +43,7 @@ export class Segment implements INodeType {
description: INodeTypeDescription = {
displayName: 'Segment',
name: 'segment',
icon: 'file:segment.png',
icon: 'file:segment.svg',
group: ['output'],
version: 1,
subtitle: '={{$parameter["operation"] + ":" + $parameter["resource"]}}',

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 B

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 65 61" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#a" x=".5" y=".5"/><symbol id="a" overflow="visible"><g stroke="none" fill-rule="nonzero"><path d="M39.875 40.567H3.073C1.383 40.567 0 39.184 0 37.493s1.383-3.073 3.073-3.073h36.802c1.69 0 3.073 1.383 3.073 3.073s-1.383 3.073-3.073 3.073z" fill="#99cfac"/><path d="M32.038 59.39c-2.996 0-5.993-.461-8.836-1.306-1.613-.538-2.535-2.228-1.998-3.842s2.228-2.535 3.842-1.998a23.73 23.73 0 006.992 1.076c10.449 0 19.515-6.684 22.511-16.672.461-1.614 2.228-2.535 3.842-2.074s2.535 2.228 2.074 3.842C56.547 50.939 45.176 59.39 32.038 59.39z" fill="#49b881"/><path d="M60.927 24.971H24.125c-1.69 0-3.073-1.383-3.073-3.073s1.383-3.073 3.073-3.073h36.802c1.69 0 3.073 1.383 3.073 3.073s-1.383 3.073-3.073 3.073z" fill="#99cfac"/><path d="M6.531 24.97c-.307 0-.615-.077-.922-.154-1.613-.461-2.535-2.228-2.074-3.841C7.453 8.451 18.824 0 32.039 0c2.996 0 5.993.461 8.835 1.306 1.613.538 2.535 2.228 1.998 3.842s-2.228 2.535-3.842 1.998a23.73 23.73 0 00-6.992-1.076c-10.449 0-19.515 6.684-22.511 16.672-.461 1.383-1.69 2.228-2.996 2.228z" fill="#49b881"/><g fill="#99cfac"><use xlink:href="#C"/><use xlink:href="#C" x="-36.495" y="39.03"/></g></g></symbol><defs><path id="C" d="M47.174 10.218c0-1.703 1.371-3.073 3.073-3.073s3.073 1.371 3.073 3.073-1.371 3.073-3.073 3.073-3.073-1.371-3.073-3.073z"/></defs></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB