Add Visual Studio Code logo (923 bytes) (#595)

The reference logo is an official SVG, taken from
https://code.visualstudio.com/brand

The tiny SVG is a simplified & minified version of it.
Mostly, there is less shadows / blur / etc. (less SVG <filter>),
so as to make the tiny SVG fit into 1 KiB.

The Android Vector Drawable is a converted version of the tiny SVG, via
Android Studio. Because Vector Drawable doesn’t have equivalents to most
SVG <filter>, it ends up “flatter” than the SVG. However, the logo is
still easily identifiable.
This commit is contained in:
Paul Capron
2021-10-07 12:49:45 +02:00
committed by GitHub
parent 1beb3cbf86
commit 4b7befcf65
5 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg"
aria-label="Visual Studio Code" role="img"
viewBox="0 0 512 512"><rect
width="512" height="512"
rx="15%"
fill="#fff"/><filter id="a"><feFlood flood-opacity="0" result="b"/><feColorMatrix in="SourceAlpha" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"/><feGaussianBlur stdDeviation="4"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .25 0"/><feBlend in2="b" result="c"/><feBlend in="SourceGraphic" in2="c"/></filter><path fill="#27b" d="m423 114-75-37a23 23 0 0 0-26 5L77 306a15 15 0 0 0 0 22l20 18a15 15 0 0 0 20 1l295-224c10-7 24-1 24 12v-1c0-9-5-17-13-20"/><path fill="#08c" d="m423 399-75 36a23 23 0 0 1-26-5L77 207a15 15 0 0 1 0-22l20-19a15 15 0 0 1 20-1l295 224c10 8 24 1 24-12v1c0 9-5 17-13 21" filter="url(#a)"/><path fill="#19f" d="M348 435a23 23 0 0 1-26-5c9 9 23 3 23-9V92c0-12-14-19-23-10a23 23 0 0 1 27-4l75 36c7 3 12 11 12 20v244c0 9-5 17-12 21"/></svg>

After

Width:  |  Height:  |  Size: 923 B