Kaynağa Gözat

Updates pin icons

main
Eric Amodio 6 yıl önce
ebeveyn
işleme
17b13ef4b7
14 değiştirilmiş dosya ile 66 ekleme ve 18 silme
  1. +0
    -0
      images/dark/icon-pin-filled.svg
  2. +4
    -0
      images/dark/icon-pin-small.svg
  3. +4
    -0
      images/dark/icon-pin-tilted-filled.svg
  4. +10
    -0
      images/dark/icon-pin-tilted.svg
  5. +8
    -2
      images/dark/icon-pin.svg
  6. +0
    -0
      images/light/icon-pin-filled.svg
  7. +4
    -0
      images/light/icon-pin-small.svg
  8. +4
    -0
      images/light/icon-pin-tilted-filled.svg
  9. +10
    -0
      images/light/icon-pin-tilted.svg
  10. +8
    -2
      images/light/icon-pin.svg
  11. +4
    -4
      package.json
  12. +2
    -2
      src/views/nodes/compareResultsNode.ts

images/dark/icon-pinned.svg → images/dark/icon-pin-filled.svg Dosyayı Görüntüle


+ 4
- 0
images/dark/icon-pin-small.svg Dosyayı Görüntüle

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 22">
<path fill="#c5c5c5" stroke="#c5c5c5" stroke-width="0.25" d="M 5.601 6.599 L 6.001 7.002 L 6.751 7.251 L 6.001 10.998 L 4.101 12.9 C 3.881 13.12 4.031 13.5 4.361 13.5 L 7.501 13.5 L 8 18 L 8.501 13.5 L 11.641 13.5 C 11.911 13.505 12.088 13.215 11.959 12.976 C 11.941 12.949 11.923 12.923 11.9 12.9 L 10.001 10.998 L 9.251 7.251 L 10.001 7.002 L 10.399 6.599 C 10.62 6.379 10.471 6 10.141 6 L 5.863 6 C 5.589 5.994 5.413 6.287 5.545 6.524 C 5.56 6.551 5.579 6.579 5.601 6.599 Z"/>
</svg>

+ 4
- 0
images/dark/icon-pin-tilted-filled.svg Dosyayı Görüntüle

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 22">
<path fill="#c5c5c5" d="m10,4.34653l0,0.8l0.5,1l-4.5,3l-3.8,0c-0.44,0 -0.67,0.53 -0.34,0.86l3.14,3.14l-4,5l5,-4l3.14,3.14a0.5,0.5 0 0 0 0.86,-0.34l0,-3.8l3,-4.5l1,0.5l0.8,0c0.44,0 0.67,-0.53 0.34,-0.86l-4.28,-4.28a0.5,0.5 0 0 0 -0.86,0.34z"/>
</svg>

+ 10
- 0
images/dark/icon-pin-tilted.svg Dosyayı Görüntüle

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 22">
<defs>
<path id="a" d="m10,4.34653l0,0.8l0.5,1l-4.5,3l-3.8,0c-0.44,0 -0.67,0.53 -0.34,0.86l3.14,3.14l-4,5l5,-4l3.14,3.14a0.5,0.5 0 0 0 0.86,-0.34l0,-3.8l3,-4.5l1,0.5l0.8,0c0.44,0 0.67,-0.53 0.34,-0.86l-4.28,-4.28a0.5,0.5 0 0 0 -0.86,0.34z"/>
<clipPath id="b">
<use xlink:href="#a"/>
</clipPath>
</defs>
<use fill="none" stroke="#c5c5c5" stroke-width="2.5" clip-path="url(#b)" xlink:href="#a"/>
</svg>

+ 8
- 2
images/dark/icon-pin.svg Dosyayı Görüntüle

@ -1,4 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 22">
<path fill="#c5c5c5" d="m10,4.34653l0,0.8l0.5,1l-4.5,3l-3.8,0c-0.44,0 -0.67,0.53 -0.34,0.86l3.14,3.14l-4,5l5,-4l3.14,3.14a0.5,0.5 0 0 0 0.86,-0.34l0,-3.8l3,-4.5l1,0.5l0.8,0c0.44,0 0.67,-0.53 0.34,-0.86l-4.28,-4.28a0.5,0.5 0 0 0 -0.86,0.34z"/>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 22">
<defs>
<path id="a" d="M4.75 4.99l.57.56 1.06.35-1.06 5.3-2.69 2.7a.5.5 0 0 0 .37.84h4.44l.7 6.37.71-6.37h4.45a.5.5 0 0 0 .36-.85l-2.68-2.68-1.06-5.3 1.06-.36.56-.56a.5.5 0 0 0-.37-.85H5.12a.5.5 0 0 0-.37.85z"/>
<clipPath id="b">
<use xlink:href="#a"/>
</clipPath>
</defs>
<use fill="none" stroke="#c5c5c5" stroke-width="2.5" clip-path="url(#b)" xlink:href="#a"/>
</svg>

images/light/icon-pinned.svg → images/light/icon-pin-filled.svg Dosyayı Görüntüle


+ 4
- 0
images/light/icon-pin-small.svg Dosyayı Görüntüle

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 22">
<path fill="#424242" stroke="#424242" stroke-width="0.25" d="M 5.601 6.599 L 6.001 7.002 L 6.751 7.251 L 6.001 10.998 L 4.101 12.9 C 3.881 13.12 4.031 13.5 4.361 13.5 L 7.501 13.5 L 8 18 L 8.501 13.5 L 11.641 13.5 C 11.911 13.505 12.088 13.215 11.959 12.976 C 11.941 12.949 11.923 12.923 11.9 12.9 L 10.001 10.998 L 9.251 7.251 L 10.001 7.002 L 10.399 6.599 C 10.62 6.379 10.471 6 10.141 6 L 5.863 6 C 5.589 5.994 5.413 6.287 5.545 6.524 C 5.56 6.551 5.579 6.579 5.601 6.599 Z"/>
</svg>

+ 4
- 0
images/light/icon-pin-tilted-filled.svg Dosyayı Görüntüle

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 22">
<path fill="#424242" d="m10,4.34653l0,0.8l0.5,1l-4.5,3l-3.8,0c-0.44,0 -0.67,0.53 -0.34,0.86l3.14,3.14l-4,5l5,-4l3.14,3.14a0.5,0.5 0 0 0 0.86,-0.34l0,-3.8l3,-4.5l1,0.5l0.8,0c0.44,0 0.67,-0.53 0.34,-0.86l-4.28,-4.28a0.5,0.5 0 0 0 -0.86,0.34z"/>
</svg>

+ 10
- 0
images/light/icon-pin-tilted.svg Dosyayı Görüntüle

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 22">
<defs>
<path id="a" d="m10,4.34653l0,0.8l0.5,1l-4.5,3l-3.8,0c-0.44,0 -0.67,0.53 -0.34,0.86l3.14,3.14l-4,5l5,-4l3.14,3.14a0.5,0.5 0 0 0 0.86,-0.34l0,-3.8l3,-4.5l1,0.5l0.8,0c0.44,0 0.67,-0.53 0.34,-0.86l-4.28,-4.28a0.5,0.5 0 0 0 -0.86,0.34z"/>
<clipPath id="b">
<use xlink:href="#a"/>
</clipPath>
</defs>
<use fill="none" stroke="#424242" stroke-width="2.5" clip-path="url(#b)" xlink:href="#a"/>
</svg>

+ 8
- 2
images/light/icon-pin.svg Dosyayı Görüntüle

@ -1,4 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 22">
<path fill="#424242" d="m10,4.34653l0,0.8l0.5,1l-4.5,3l-3.8,0c-0.44,0 -0.67,0.53 -0.34,0.86l3.14,3.14l-4,5l5,-4l3.14,3.14a0.5,0.5 0 0 0 0.86,-0.34l0,-3.8l3,-4.5l1,0.5l0.8,0c0.44,0 0.67,-0.53 0.34,-0.86l-4.28,-4.28a0.5,0.5 0 0 0 -0.86,0.34z"/>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 16 22">
<defs>
<path id="a" d="M4.75 4.99l.57.56 1.06.35-1.06 5.3-2.69 2.7a.5.5 0 0 0 .37.84h4.44l.7 6.37.71-6.37h4.45a.5.5 0 0 0 .36-.85l-2.68-2.68-1.06-5.3 1.06-.36.56-.56a.5.5 0 0 0-.37-.85H5.12a.5.5 0 0 0-.37.85z"/>
<clipPath id="b">
<use xlink:href="#a"/>
</clipPath>
</defs>
<use fill="none" stroke="#424242" stroke-width="2.5" clip-path="url(#b)" xlink:href="#a"/>
</svg>

+ 4
- 4
package.json Dosyayı Görüntüle

@ -2707,8 +2707,8 @@
"title": "Pin Comparison",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-pin.svg",
"light": "images/light/icon-pin.svg"
"dark": "images/dark/icon-pin-tilted.svg",
"light": "images/light/icon-pin-tilted.svg"
}
},
{
@ -2716,8 +2716,8 @@
"title": "Unpin Comparison",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-pinned.svg",
"light": "images/light/icon-pinned.svg"
"dark": "images/dark/icon-pin-filled.svg",
"light": "images/light/icon-pin-filled.svg"
}
},
{

+ 2
- 2
src/views/nodes/compareResultsNode.ts Dosyayı Görüntüle

@ -60,8 +60,8 @@ export class CompareResultsNode extends ViewNode {
item.description = description;
if (this._pinned) {
item.iconPath = {
dark: Container.context.asAbsolutePath(`images/dark/icon-pinned.svg`),
light: Container.context.asAbsolutePath(`images/light/icon-pinned.svg`)
dark: Container.context.asAbsolutePath(`images/dark/icon-pin-small.svg`),
light: Container.context.asAbsolutePath(`images/light/icon-pin-small.svg`)
};
}

Yükleniyor…
İptal
Kaydet