Parcourir la source

Adds view icons

main
Eric Amodio il y a 4 ans
Parent
révision
4d53258df9
5 fichiers modifiés avec 73 ajouts et 26 suppressions
  1. +3
    -0
      images/views/compare.svg
  2. +4
    -0
      images/views/history.svg
  3. +5
    -0
      images/views/repositories.svg
  4. +5
    -0
      images/views/search.svg
  5. +56
    -26
      package.json

+ 3
- 0
images/views/compare.svg Voir le fichier

@ -0,0 +1,3 @@
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#fff" fill-rule="evenodd" d="M15.067 2.067L12.76 4.344h4.793a2.709 2.709 0 011.904.784 2.68 2.68 0 01.791 1.9l-.75-.002h.75v9.586a3.503 3.503 0 012.74 3.411c0 1.937-1.58 3.498-3.518 3.498-1.938 0-3.519-1.56-3.519-3.498a3.503 3.503 0 012.797-3.424V7.026a1.167 1.167 0 00-.348-.834 1.195 1.195 0 00-.847-.348h-4.845l2.28 2.339-1.074 1.047-3.52-3.61.01-1.057L14.013 1l1.054 1.067zm2.385 17.956c0-1.098.898-1.997 2.019-1.997 1.12 0 2.019.9 2.019 1.997a2.008 2.008 0 01-2.02 1.998c-1.12 0-2.018-.9-2.018-1.998zM2.5 5.007c0-1.098.898-1.998 2.019-1.998 1.12 0 2.019.9 2.019 1.998a2.008 2.008 0 01-2.02 1.998c-1.12 0-2.018-.9-2.018-1.998zM4.519 1.51C2.58 1.51 1 3.07 1 5.007c0 1.68 1.19 3.077 2.769 3.418v9.54c0 .712.285 1.395.791 1.897s1.191.783 1.904.783h4.8l-2.308 2.277 1.054 1.068 3.608-3.561.01-1.057-3.52-3.612-1.074 1.047 2.28 2.338h-4.85c-.319 0-.623-.126-.847-.348a1.173 1.173 0 01-.348-.832v-9.54a3.503 3.503 0 002.769-3.418c0-1.937-1.581-3.498-3.52-3.498z"/>
</svg>

+ 4
- 0
images/views/history.svg Voir le fichier

@ -0,0 +1,4 @@
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#fff" fill-rule="evenodd" d="M1.946 7.531A11.002 11.002 0 0112 1c6.075 0 11 4.925 11 11s-4.925 11-11 11c-4.904 0-9.058-3.209-10.478-7.641l1.748-.555A9.167 9.167 0 104.506 6.72l-2.56.812z"/>
<path fill="#fff" fill-rule="evenodd" d="M2.833 6.5V1H1v6.417l.917.916h6.416V6.5h-5.5zM12 12h5.5v-1.833h-6.417l-.916.916V17.5H12V12z"/>
</svg>

+ 5
- 0
images/views/repositories.svg Voir le fichier

@ -0,0 +1,5 @@
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#fff" fill-rule="evenodd" d="M20.865 9.005a6.97 6.97 0 00-1.115-.545v-.955h1.252V5.999H19.75v-1.5h2.002l.75.75v5.123c-.44-.5-.951-.936-1.517-1.293v-.074h-.12zm-7.23 0a6.97 6.97 0 011.115-.545v-.955h-3.5l-.53.22L9.434 9.01H3.016V4.5H9.45l1.28 1.28.53.219h3.49v-1.5h-3.18l-1.279-1.28L9.761 3H2.266l-.75.75v5.995L1.5 9.76v10.492l.75.75h11.398a7.035 7.035 0 01-1.758-1.5H3v-8.26h.016v-.732h6.728l.53-.22 1.287-1.286h2.074zm7.217 11.998h.883l.75-.75v-.606a7.033 7.033 0 01-1.633 1.356z"/>
<path stroke="#fff" stroke-width="1.5" stroke-linejoin="bevel" d="M17.25 10.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9z"/>
<path stroke="#fff" stroke-width="1.5" d="M17.25 19.5V24M17.25 1v10"/>
</svg>

+ 5
- 0
images/views/search.svg Voir le fichier

@ -0,0 +1,5 @@
<svg width="24" height="24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#fff" fill-rule="evenodd" d="M19.75 7.526a6.7 6.7 0 01.272 1.044c.578.25 1.116.575 1.6.963a8.213 8.213 0 00-1.872-5.02v3.013zm-5-4.386V1.614A8.25 8.25 0 007.199 15.22L1.5 20.758l1.125.992 5.666-5.502a8.23 8.23 0 002.445 1.321 6.956 6.956 0 01-.446-1.813A6.75 6.75 0 0114.75 3.14z"/>
<path stroke="#fff" stroke-width="1.5" stroke-linejoin="bevel" d="M17.25 10.5a4.5 4.5 0 110 9 4.5 4.5 0 010-9z"/>
<path stroke="#fff" stroke-width="1.5" d="M17.25 19.5V24M17.25 0v11"/>
</svg>

+ 56
- 26
package.json Voir le fichier

@ -5820,81 +5820,111 @@
{
"id": "gitlens.views.repositories:gitlens",
"name": "Repositories",
"when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens"
"when": "config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/repositories.svg"
},
{
"id": "gitlens.views.fileHistory:gitlens",
"name": "File History",
"when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens"
"when": "config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/history.svg"
},
{
"id": "gitlens.views.lineHistory:gitlens",
"name": "Line History",
"when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens"
"when": "config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/history.svg"
},
{
"id": "gitlens.views.compare:gitlens",
"name": "Compare",
"when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens"
"name": "Compare Commits",
"when": "config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/compare.svg"
},
{
"id": "gitlens.views.search:gitlens",
"name": "Search Commits",
"when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens"
"when": "config.gitlens.views.search.enabled && config.gitlens.views.search.location == gitlens",
"contextualTitle": "GitLens",
"icon": "images/views/search.svg"
}
],
"explorer": [
{
"id": "gitlens.views.repositories:explorer",
"name": "GitLens: Repositories",
"when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer"
"name": "Repositories",
"when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == explorer",
"contextualTitle": "GitLens",
"icon": "images/views/repositories.svg"
},
{
"id": "gitlens.views.fileHistory:explorer",
"name": "GitLens: File History",
"when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer"
"name": "File History",
"when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == explorer",
"contextualTitle": "GitLens",
"icon": "images/views/history.svg"
},
{
"id": "gitlens.views.lineHistory:explorer",
"name": "GitLens: Line History",
"when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer"
"name": "Line History",
"when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == explorer",
"contextualTitle": "GitLens",
"icon": "images/views/history.svg"
},
{
"id": "gitlens.views.compare:explorer",
"name": "GitLens: Compare",
"when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer"
"name": "Compare Commits",
"when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == explorer",
"contextualTitle": "GitLens",
"icon": "images/views/compare.svg"
},
{
"id": "gitlens.views.search:explorer",
"name": "GitLens: Search Commits",
"when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer"
"name": "Search Commits",
"when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == explorer",
"contextualTitle": "GitLens",
"icon": "images/views/search.svg"
}
],
"scm": [
{
"id": "gitlens.views.repositories:scm",
"name": "GitLens: Repositories",
"when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm"
"name": "Repositories",
"when": "gitlens:enabled && config.gitlens.views.repositories.enabled && config.gitlens.views.repositories.location == scm",
"contextualTitle": "GitLens",
"icon": "images/views/repositories.svg"
},
{
"id": "gitlens.views.fileHistory:scm",
"name": "GitLens: File History",
"when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm"
"name": "File History",
"when": "gitlens:enabled && config.gitlens.views.fileHistory.enabled && config.gitlens.views.fileHistory.location == scm",
"contextualTitle": "GitLens",
"icon": "images/views/history.svg"
},
{
"id": "gitlens.views.lineHistory:scm",
"name": "GitLens: Line History",
"when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm"
"name": "Line History",
"when": "gitlens:enabled && config.gitlens.views.lineHistory.enabled && config.gitlens.views.lineHistory.location == scm",
"contextualTitle": "GitLens",
"icon": "images/views/history.svg"
},
{
"id": "gitlens.views.compare:scm",
"name": "GitLens: Compare",
"when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm"
"name": "Compare Commits",
"when": "gitlens:enabled && config.gitlens.views.compare.enabled && config.gitlens.views.compare.location == scm",
"contextualTitle": "GitLens",
"icon": "images/views/compare.svg"
},
{
"id": "gitlens.views.search:scm",
"name": "GitLens: Search Commits",
"when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm"
"name": "Search Commits",
"when": "gitlens:enabled && config.gitlens.views.search.enabled && config.gitlens.views.search.location == scm",
"contextualTitle": "GitLens",
"icon": "images/views/search.svg"
}
]
}

Chargement…
Annuler
Enregistrer