Browse Source

Changes more icons to codicons

main
Eric Amodio 3 years ago
parent
commit
35251d63ce
18 changed files with 28 additions and 135 deletions
  1. +0
    -4
      images/dark/icon-compare-ref-remote.svg
  2. +1
    -1
      images/dark/icon-compare-ref-working.svg
  3. +0
    -5
      images/dark/icon-copy-link.svg
  4. +0
    -4
      images/dark/icon-copy-message.svg
  5. +0
    -4
      images/dark/icon-copy.svg
  6. +0
    -4
      images/dark/icon-person-add.svg
  7. +0
    -3
      images/dark/icon-remote.svg
  8. +0
    -3
      images/dark/icon-swap.svg
  9. +0
    -5
      images/light/icon-compare-ref-remote.svg
  10. +1
    -1
      images/light/icon-compare-ref-working.svg
  11. +0
    -5
      images/light/icon-copy-link.svg
  12. +0
    -4
      images/light/icon-copy-message.svg
  13. +0
    -4
      images/light/icon-copy.svg
  14. +0
    -4
      images/light/icon-person-add.svg
  15. +0
    -3
      images/light/icon-remote.svg
  16. +0
    -3
      images/light/icon-swap.svg
  17. +19
    -74
      package.json
  18. +7
    -4
      src/views/nodes/remoteNode.ts

+ 0
- 4
images/dark/icon-compare-ref-remote.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" fill-rule="evenodd" d="M9.572 3l1.313-1.306-.706-.708-2.172 2.16-.006.703 2.119 2.19.718-.696L9.538 4h2.053a.26.26 0 01.121.032.443.443 0 01.14.12.722.722 0 01.116.223c.03.09.045.188.045.29v5.382a2.5 2.5 0 101 .006V4.666h-.5.5c0-.205-.032-.409-.095-.602a1.72 1.72 0 00-.283-.533 1.44 1.44 0 00-.46-.385A1.259 1.259 0 0011.592 3H9.572zM11 12.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-8-1.47V5h1v6.03c0 .29.092.55.234.728.14.175.3.242.437.242h2.831l-1.32-1.365.718-.696 2.12 2.191-.007.702-2.172 2.16-.706-.709L7.426 13H4.671c-.485 0-.919-.242-1.219-.619A2.176 2.176 0 013 11.031z"/>
<path fill="#C5C5C5" stroke="#C5C5C5" stroke-width=".4" d="M5.5 2.5c0-.22-.398-1.5-1.969-1.5-1.058 0-1.968.96-1.968 2C.696 3 .25 3.76.25 4.5c0 .765.438 1.5 1.556 1.478v-.622C.854 5.35.819 4.64.819 4.5c0-.085.021-.85.744-.85h.568V3c0-.695.683-1.35 1.4-1.35 1.116 0 1.37.775 1.4.9v.6H5.5c.355 0 1.181.11 1.181 1.1 0 1.045-.984 1.1-1.181 1.1l-.437.006V6H5.5c.91 0 1.75-.58 1.75-1.75 0-1.22-.84-1.75-1.75-1.75z"/>
</svg>

+ 1
- 1
images/dark/icon-compare-ref-working.svg View File

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" fill-rule="evenodd" d="M9.885 1.694L8.572 3h2.774a1.677 1.677 0 011.544 1.027c.084.203.127.42.127.639h-.5.5v5.387a2.501 2.501 0 11-1-.006V4.665a.66.66 0 00-.413-.614.676.676 0 00-.258-.051H8.539l1.3 1.343-.72.696-2.118-2.19.006-.702L9.18.986l.706.708zM11 12.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-5-9a2.5 2.5 0 01-2 2.45v5.357a.671.671 0 00.671.671h2.81l-1.3-1.343.72-.696 2.118 2.191-.006.702-2.172 2.16-.706-.709 1.313-1.305H4.671A1.671 1.671 0 013 11.307V5.95A2.5 2.5 0 116 3.5z"/>
<path fill="#C5C5C5" fill-rule="evenodd" d="M9.885 1.694L8.572 3h2.774a1.671 1.671 0 011.671 1.672h-.5.5v6.368h-.07a2.5 2.5 0 11-.895 0h-.035V4.672A.67.67 0 0011.346 4H8.539l1.3 1.343-.72.696-2.118-2.19.006-.702L9.18.986l.706.708zM11 13.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-5-10a2.5 2.5 0 01-2 2.45v6.357a.671.671 0 00.671.671h2.81l-1.3-1.343.72-.696 2.118 2.191-.006.702-2.172 2.16-.706-.709 1.313-1.305H4.671A1.67 1.67 0 013 12.307V5.95A2.5 2.5 0 116 3.5z" />
</svg>

+ 0
- 5
images/dark/icon-copy-link.svg View File

@ -1,5 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" fill-rule="evenodd" d="M4.91 1L4 2v2H1.91L1 5v9l1 1h8l.522-.522c-.324.014-.665.022-1.022.022-1.75 0-3.096-.181-4.117-.5H2V5h5.5l1.505 1.505a23.982 23.982 0 0 1 1.405.013L8.006 4.25 7.364 4H5V2h5.5L13 4.5v2.334c.367.085.7.184 1 .298V4.429l-.266-.607-2.727-2.571L10.364 1H4.909z" clip-rule="evenodd"/>
<path fill="#C5C5C5" d="M8.5 8H7c-1.657 0-3 1.12-3 2.5S5.343 13 7 13h1.5v-1H7c-1.283 0-2-.835-2-1.5S5.717 9 7 9h1.5V8zM10.5 13H12c1.657 0 3-1.12 3-2.5S13.657 8 12 8h-1.5v1H12c1.283 0 2 .835 2 1.5s-.717 1.5-2 1.5h-1.5v1z"/>
<path stroke="#C5C5C5" d="M7 10.5h5"/>
</svg>

+ 0
- 4
images/dark/icon-copy-message.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" fill-rule="evenodd" d="M4.91 1L4 2v2H1.91L1 5v9l1 1h4.377c.2-.316.4-.656.581-1H2V5h5.5l1.309 1.309c.36-.106.737-.186 1.127-.239l-1.93-1.819L7.364 4H5V2h5.5L13 4.5v1.756c.35.092.684.208 1 .345V4.429l-.266-.607-2.727-2.571L10.364 1H4.909z" clip-rule="evenodd"/>
<path fill="#C5C5C5" fill-rule="evenodd" d="M14 10.333c0 1.126-1.165 2.334-3 2.334s-3-1.208-3-2.334C8 9.208 9.165 8 11 8s3 1.208 3 2.333zm1 0c0 1.841-1.79 3.334-4 3.334-.072 0-.143-.002-.213-.005-.068.058-.136.12-.205.184-.165.152-.34.313-.554.45-.397.252-.786.496-1.055.655a3.962 3.962 0 0 1-.316.174.54.54 0 0 1-.067.025.312.312 0 0 1-.06.012.254.254 0 0 1-.237-.397.42.42 0 0 1 .056-.067c.133-.133.386-.45.58-.78.098-.165.174-.322.215-.454a.697.697 0 0 0 .03-.14l-.016-.031C7.876 12.737 7 11.62 7 10.333 7 8.493 8.79 7 11 7s4 1.492 4 3.333z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/dark/icon-copy.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" fill-rule="evenodd" d="M4.91 1L4 2v3h1V2h5.5L13 4.5V11h-3v1h3l1-1V4.429l-.266-.607-2.727-2.571L10.364 1H4.909z" clip-rule="evenodd"/>
<path fill="#C5C5C5" fill-rule="evenodd" d="M1 5l.91-1h5.454l.642.251 2.728 2.571.266.607V14l-1 1H2l-1-1V5zm1 0v9h8V7.5L7.5 5H2z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/dark/icon-person-add.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path stroke="#C5C5C5" d="M11.5 5v7M8 8.5h7"/>
<path fill="#C5C5C5" fill-rule="evenodd" d="M5 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm-4 7V7h4v3l-1 1v3H3v-3l-1-1zm4 1v3l-1 1H3l-1-1v-3l-1-1V7l1-1h4l1 1v3l-1 1z" clip-rule="evenodd"/>
</svg>

+ 0
- 3
images/dark/icon-remote.svg View File

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" d="M12 6c0-.44-.41-3-4-3-2.42 0-4 1.92-4 4-1.98 0-3 1.52-3 3 0 1.53 1 3 3 3v-1c-1.62 0-2-1.72-2-2 0-.17.35-2 2-2h1V7c0-1.39 1.36-3 3-3 2.55 0 2.93 1.75 3 2v1h1c.81 0 2 .52 2 2.5 0 2.09-2.55 2.5-3 2.5H4v1h7c2.08 0 4-1.16 4-3.5 0-2.44-.92-3.5-3-3.5z"/>
</svg>

+ 0
- 3
images/dark/icon-swap.svg View File

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#C5C5C5" fill-rule="evenodd" d="M4.193 7L1 10.193v.707l3.193 3.193.707-.707-2.34-2.34H10v-1H2.56L4.9 7.607 4.193 7zM11.807 2L15 5.193V5.9l-3.193 3.193-.707-.707 2.34-2.34H6v-1h7.44L11.1 2.607 11.807 2z" clip-rule="evenodd"/>
</svg>

+ 0
- 5
images/light/icon-compare-ref-remote.svg View File

@ -1,5 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" fill-rule="evenodd" d="M9.572 3l1.313-1.306-.706-.708-2.172 2.16-.006.703 2.119 2.19.718-.696L9.538 4h2.053a.26.26 0 01.121.032.443.443 0 01.14.12.722.722 0 01.116.223c.03.09.045.188.045.29v5.382a2.5 2.5 0 101 .006V4.666h-.5.5c0-.205-.032-.409-.095-.602a1.72 1.72 0 00-.283-.533 1.44 1.44 0 00-.46-.385A1.259 1.259 0 0011.592 3H9.572zM11 12.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-8-1.47V5h1v6.03c0 .29.092.55.234.728.14.175.3.242.437.242h2.831l-1.32-1.365.718-.696 2.12 2.191-.007.702-2.172 2.16-.706-.709L7.426 13H4.671c-.485 0-.919-.242-1.219-.619A2.176 2.176 0 013 11.031z"/>
<path fill="#424242" stroke="#424242" stroke-width=".4" d="M5.5 2.5c0-.22-.398-1.5-1.969-1.5-1.058 0-1.968.96-1.968 2C.696 3 .25 3.76.25 4.5c0 .765.438 1.5 1.556 1.478v-.622C.854 5.35.819 4.64.819 4.5c0-.085.021-.85.744-.85h.568V3c0-.695.683-1.35 1.4-1.35 1.116 0 1.37.775 1.4.9v.6H5.5c.355 0 1.181.11 1.181 1.1 0 1.045-.984 1.1-1.181 1.1l-.437.006V6H5.5c.91 0 1.75-.58 1.75-1.75 0-1.22-.84-1.75-1.75-1.75z"/>
</svg>

+ 1
- 1
images/light/icon-compare-ref-working.svg View File

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" fill-rule="evenodd" d="M9.885 1.694L8.572 3h2.774a1.677 1.677 0 011.544 1.027c.084.203.127.42.127.639h-.5.5v5.387a2.501 2.501 0 11-1-.006V4.665a.66.66 0 00-.413-.614.676.676 0 00-.258-.051H8.539l1.3 1.343-.72.696-2.118-2.19.006-.702L9.18.986l.706.708zM11 12.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-5-9a2.5 2.5 0 01-2 2.45v5.357a.671.671 0 00.671.671h2.81l-1.3-1.343.72-.696 2.118 2.191-.006.702-2.172 2.16-.706-.709 1.313-1.305H4.671A1.671 1.671 0 013 11.307V5.95A2.5 2.5 0 116 3.5z"/>
<path fill="#424242" fill-rule="evenodd" d="M9.885 1.694L8.572 3h2.774a1.671 1.671 0 011.671 1.672h-.5.5v6.368h-.07a2.5 2.5 0 11-.895 0h-.035V4.672A.67.67 0 0011.346 4H8.539l1.3 1.343-.72.696-2.118-2.19.006-.702L9.18.986l.706.708zM11 13.5a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zm-5-10a2.5 2.5 0 01-2 2.45v6.357a.671.671 0 00.671.671h2.81l-1.3-1.343.72-.696 2.118 2.191-.006.702-2.172 2.16-.706-.709 1.313-1.305H4.671A1.67 1.67 0 013 12.307V5.95A2.5 2.5 0 116 3.5z" />
</svg>

+ 0
- 5
images/light/icon-copy-link.svg View File

@ -1,5 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" fill-rule="evenodd" d="M4.91 1L4 2v2H1.91L1 5v9l1 1h8l.522-.522c-.324.014-.665.022-1.022.022-1.75 0-3.096-.181-4.117-.5H2V5h5.5l1.505 1.505a23.982 23.982 0 0 1 1.405.013L8.006 4.25 7.364 4H5V2h5.5L13 4.5v2.334c.367.085.7.184 1 .298V4.429l-.266-.607-2.727-2.571L10.364 1H4.909z" clip-rule="evenodd"/>
<path fill="#424242" d="M8.5 8H7c-1.657 0-3 1.12-3 2.5S5.343 13 7 13h1.5v-1H7c-1.283 0-2-.835-2-1.5S5.717 9 7 9h1.5V8zM10.5 13H12c1.657 0 3-1.12 3-2.5S13.657 8 12 8h-1.5v1H12c1.283 0 2 .835 2 1.5s-.717 1.5-2 1.5h-1.5v1z"/>
<path stroke="#424242" d="M7 10.5h5"/>
</svg>

+ 0
- 4
images/light/icon-copy-message.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" fill-rule="evenodd" d="M4.91 1L4 2v2H1.91L1 5v9l1 1h4.377c.2-.316.4-.656.581-1H2V5h5.5l1.309 1.309c.36-.106.737-.186 1.127-.239l-1.93-1.819L7.364 4H5V2h5.5L13 4.5v1.756c.35.092.684.208 1 .345V4.429l-.266-.607-2.727-2.571L10.364 1H4.909z" clip-rule="evenodd"/>
<path fill="#424242" fill-rule="evenodd" d="M14 10.333c0 1.126-1.165 2.334-3 2.334s-3-1.208-3-2.334C8 9.208 9.165 8 11 8s3 1.208 3 2.333zm1 0c0 1.841-1.79 3.334-4 3.334-.072 0-.143-.002-.213-.005-.068.058-.136.12-.205.184-.165.152-.34.313-.554.45-.397.252-.786.496-1.055.655a3.962 3.962 0 0 1-.316.174.54.54 0 0 1-.067.025.312.312 0 0 1-.06.012.254.254 0 0 1-.237-.397.42.42 0 0 1 .056-.067c.133-.133.386-.45.58-.78.098-.165.174-.322.215-.454a.697.697 0 0 0 .03-.14l-.016-.031C7.876 12.737 7 11.62 7 10.333 7 8.493 8.79 7 11 7s4 1.492 4 3.333z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/light/icon-copy.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" fill-rule="evenodd" d="M4.91 1L4 2v3h1V2h5.5L13 4.5V11h-3v1h3l1-1V4.429l-.266-.607-2.727-2.571L10.364 1H4.909z" clip-rule="evenodd"/>
<path fill="#424242" fill-rule="evenodd" d="M1 5l.91-1h5.454l.642.251 2.728 2.571.266.607V14l-1 1H2l-1-1V5zm1 0v9h8V7.5L7.5 5H2z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/light/icon-person-add.svg View File

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path stroke="#424242" d="M11.5 5v7M8 8.5h7"/>
<path fill="#424242" fill-rule="evenodd" d="M5 3a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0zm-4 7V7h4v3l-1 1v3H3v-3l-1-1zm4 1v3l-1 1H3l-1-1v-3l-1-1V7l1-1h4l1 1v3l-1 1z" clip-rule="evenodd"/>
</svg>

+ 0
- 3
images/light/icon-remote.svg View File

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" d="M12 6c0-.44-.41-3-4-3-2.42 0-4 1.92-4 4-1.98 0-3 1.52-3 3 0 1.53 1 3 3 3v-1c-1.62 0-2-1.72-2-2 0-.17.35-2 2-2h1V7c0-1.39 1.36-3 3-3 2.55 0 2.93 1.75 3 2v1h1c.81 0 2 .52 2 2.5 0 2.09-2.55 2.5-3 2.5H4v1h7c2.08 0 4-1.16 4-3.5 0-2.44-.92-3.5-3-3.5z"/>
</svg>

+ 0
- 3
images/light/icon-swap.svg View File

@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
<path fill="#424242" fill-rule="evenodd" d="M4.193 7L1 10.193v.707l3.193 3.193.707-.707-2.34-2.34H10v-1H2.56L4.9 7.607 4.193 7zM11.807 2L15 5.193V5.9l-3.193 3.193-.707-.707 2.34-2.34H6v-1h7.44L11.1 2.607 11.807 2z" clip-rule="evenodd"/>
</svg>

+ 19
- 74
package.json View File

@ -3572,10 +3572,7 @@
"command": "gitlens.addAuthors",
"title": "Add Co-authors",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-person-add.svg",
"light": "images/light/icon-person-add.svg"
}
"icon": "$(person-add)"
},
{
"command": "gitlens.connectRemoteProvider",
@ -3596,28 +3593,19 @@
"command": "gitlens.copyCurrentBranch",
"title": "Copy Current Branch Name",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy.svg",
"light": "images/light/icon-copy.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.copyMessageToClipboard",
"title": "Copy Message",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-message.svg",
"light": "images/light/icon-copy-message.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.copyShaToClipboard",
"title": "Copy SHA",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy.svg",
"light": "images/light/icon-copy.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.closeUnchangedFiles",
@ -3639,10 +3627,7 @@
"command": "gitlens.copyRemoteBranchesUrl",
"title": "Copy Remote Branches Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openBranchOnRemote",
@ -3654,10 +3639,7 @@
"command": "gitlens.copyRemoteBranchUrl",
"title": "Copy Remote Branch Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openCommitOnRemote",
@ -3669,10 +3651,7 @@
"command": "gitlens.copyRemoteCommitUrl",
"title": "Copy Remote Commit Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openComparisonOnRemote",
@ -3684,10 +3663,7 @@
"command": "gitlens.copyRemoteComparisonUrl",
"title": "Copy Remote Comparison Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openFileFromRemote",
@ -3704,19 +3680,13 @@
"command": "gitlens.copyRemoteFileUrlToClipboard",
"title": "Copy Remote File Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.copyRemoteFileUrlWithoutRange",
"title": "Copy Remote File Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openFileOnRemoteFrom",
@ -3728,10 +3698,7 @@
"command": "gitlens.copyRemoteFileUrlFrom",
"title": "Copy Remote File Url From...",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openBlamePriorToChange",
@ -3767,10 +3734,7 @@
"command": "gitlens.copyRemotePullRequestUrl",
"title": "Copy Pull Request Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openAssociatedPullRequestOnRemote",
@ -3788,10 +3752,7 @@
"command": "gitlens.copyRemoteRepositoryUrl",
"title": "Copy Remote Repository Url",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy-link.svg",
"light": "images/light/icon-copy-link.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.openRevisionFile",
@ -4035,10 +3996,7 @@
"command": "gitlens.views.copy",
"title": "Copy",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-copy.svg",
"light": "images/light/icon-copy.svg"
}
"icon": "$(copy)"
},
{
"command": "gitlens.views.pruneRemote",
@ -4219,11 +4177,7 @@
{
"command": "gitlens.views.compareWithUpstream",
"title": "Compare with Upstream",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-compare-ref-remote.svg",
"light": "images/light/icon-compare-ref-remote.svg"
}
"category": "GitLens"
},
{
"command": "gitlens.views.compareWithSelected",
@ -4258,19 +4212,13 @@
"command": "gitlens.views.addAuthors",
"title": "Add Co-authors",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-person-add.svg",
"light": "images/light/icon-person-add.svg"
}
"icon": "$(person-add)"
},
{
"command": "gitlens.views.addAuthor",
"title": "Add as Co-author",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-person-add.svg",
"light": "images/light/icon-person-add.svg"
}
"icon": "$(person-add)"
},
{
"command": "gitlens.views.cherryPick",
@ -4549,7 +4497,7 @@
"command": "gitlens.views.commits.setMyCommitsOnlyOff",
"title": "Toggle Filter: Only My Commits",
"category": "GitLens",
"icon": "$(filter)"
"icon": "$(filter-filled)"
},
{
"command": "gitlens.views.commits.setShowAvatarsOn",
@ -5068,10 +5016,7 @@
"command": "gitlens.views.searchAndCompare.swapComparison",
"title": "Swap Comparison",
"category": "GitLens",
"icon": {
"dark": "images/dark/icon-swap.svg",
"light": "images/light/icon-swap.svg"
}
"icon": "$(arrow-swap)"
},
{
"command": "gitlens.views.searchAndCompare.setFilesFilterOnLeft",

+ 7
- 4
src/views/nodes/remoteNode.ts View File

@ -113,10 +113,13 @@ export class RemoteNode extends ViewNode {
const { provider } = this.remote;
item.description = `${arrows}${GlyphChars.Space} ${provider.name} ${GlyphChars.Space}${GlyphChars.Dot}${GlyphChars.Space} ${provider.displayPath}`;
item.iconPath = {
dark: Container.context.asAbsolutePath(`images/dark/icon-${provider.icon}.svg`),
light: Container.context.asAbsolutePath(`images/light/icon-${provider.icon}.svg`),
};
item.iconPath =
provider.icon === 'remote'
? new ThemeIcon('cloud')
: {
dark: Container.context.asAbsolutePath(`images/dark/icon-${provider.icon}.svg`),
light: Container.context.asAbsolutePath(`images/light/icon-${provider.icon}.svg`),
};
if (provider.hasApi()) {
const connected = provider.maybeConnected ?? (await provider.isConnected());

Loading…
Cancel
Save