瀏覽代碼

Removes unused icons

main
Eric Amodio 4 年之前
父節點
當前提交
e2ad251c6a
共有 17 個檔案被更改,包括 2 行新增62 行删除
  1. +0
    -3
      images/dark/icon-compare-threedot.svg
  2. +0
    -3
      images/dark/icon-compare-twodot.svg
  3. +0
    -4
      images/dark/icon-eye-selected.svg
  4. +0
    -3
      images/dark/icon-eye.svg
  5. +0
    -4
      images/dark/icon-open.svg
  6. +0
    -4
      images/dark/icon-tag.svg
  7. +0
    -4
      images/dark/icon-window-disabled.svg
  8. +0
    -3
      images/dark/icon-window.svg
  9. +0
    -3
      images/light/icon-compare-threedot.svg
  10. +0
    -3
      images/light/icon-compare-twodot.svg
  11. +0
    -4
      images/light/icon-eye-selected.svg
  12. +0
    -3
      images/light/icon-eye.svg
  13. +0
    -4
      images/light/icon-open.svg
  14. +0
    -4
      images/light/icon-tag.svg
  15. +0
    -4
      images/light/icon-window-disabled.svg
  16. +0
    -3
      images/light/icon-window.svg
  17. +2
    -6
      src/views/nodes/branchesNode.ts

+ 0
- 3
images/dark/icon-compare-threedot.svg 查看文件

@ -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="M4 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM9 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM14 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
</svg>

+ 0
- 3
images/dark/icon-compare-twodot.svg 查看文件

@ -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="M6 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM12 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
</svg>

+ 0
- 4
images/dark/icon-eye-selected.svg 查看文件

@ -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="#fff" fill-opacity=".1" stroke="#C5C5C5" stroke-width=".5" d="M.25.25h15.5v15.5H.25z"/>
<path stroke="#C5C5C5" d="M8 3.5a6.453 6.453 0 0 0-6.482 6h.001c.257-3.345 3.073-6 6.481-6zm0 0a6.453 6.453 0 0 1 6.482 6h-.001c-.258-3.345-3.073-6-6.481-6zm0 4c-1.424 0-2.5 1.076-2.5 2.5M8 7.5c1.424 0 2.5 1.076 2.5 2.5M8 7.5c1.376 0 2.5 1.124 2.5 2.5M8 7.5A2.506 2.506 0 0 0 5.5 10m0 0c0 1.424 1.076 2.5 2.5 2.5M5.5 10c0 1.376 1.124 2.5 2.5 2.5m2.5-2.5c0 1.424-1.076 2.5-2.5 2.5m2.5-2.5c0 1.376-1.124 2.5-2.5 2.5"/>
</svg>

+ 0
- 3
images/dark/icon-eye.svg 查看文件

@ -1,3 +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="M8 3.5a6.453 6.453 0 0 0-6.482 6h.001c.257-3.345 3.073-6 6.481-6zm0 0a6.453 6.453 0 0 1 6.482 6h-.001c-.258-3.345-3.073-6-6.481-6zm0 4c-1.424 0-2.5 1.076-2.5 2.5M8 7.5c1.424 0 2.5 1.076 2.5 2.5M8 7.5c1.376 0 2.5 1.124 2.5 2.5M8 7.5A2.506 2.506 0 0 0 5.5 10m0 0c0 1.424 1.076 2.5 2.5 2.5M5.5 10c0 1.376 1.124 2.5 2.5 2.5m2.5-2.5c0 1.424-1.076 2.5-2.5 2.5m2.5-2.5c0 1.376-1.124 2.5-2.5 2.5"/>
</svg>

+ 0
- 4
images/dark/icon-open.svg 查看文件

@ -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" stroke-linejoin="bevel" d="M2 8.5h5.5m0 0V14m0-5.5l-5.75 5.75"/>
<path fill="#C5C5C5" fill-rule="evenodd" d="M2.5 2l-.5.5V6h1V3h10v10h-3v1h3.5l.5-.5v-11l-.5-.5h-11z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/dark/icon-tag.svg 查看文件

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" fill="none" viewBox="0 0 16 17">
<path fill="#C5C5C5" fill-rule="evenodd" d="M1.133 9.66l6-6.5L7.5 3h5l.5.5v5l-.133.34-6 6.5-.72.014-5-5-.014-.693zm1.06.326l4.293 4.292L12 8.305V4H7.719L2.193 9.986z" clip-rule="evenodd"/>
<path fill="#C5C5C5" fill-rule="evenodd" d="M15 9a3 3 0 0 1-5.22 2.017l-.77.64a4 4 0 1 0 .407-5.713l.879.587A3 3 0 0 1 15 9z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/dark/icon-window-disabled.svg 查看文件

@ -1,4 +0,0 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#C5C5C5" d="M1 4.661v8.878l.5.461h9.825l-1.02-.923H2V6h.48L1 4.661zm13 5.984V6H8.865L7.76 5H14V3H5.548L4.443 2H14.5l.5.462v9.087l-1-.904z"/>
<path stroke="#C5C5C5" d="M.685 1.379l14.65 13.25"/>
</svg>

+ 0
- 3
images/dark/icon-window.svg 查看文件

@ -1,3 +0,0 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#C5C5C5" d="M1.5 2h13l.5.462v11.077l-.5.461h-13l-.5-.461V5.23L2 6v7.077h12V6H2l-1-.77V2.463L1.5 2zM2 5h12V3H2v2z"/>
</svg>

+ 0
- 3
images/light/icon-compare-threedot.svg 查看文件

@ -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="M4 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM9 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM14 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
</svg>

+ 0
- 3
images/light/icon-compare-twodot.svg 查看文件

@ -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="M6 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0zM12 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
</svg>

+ 0
- 4
images/light/icon-eye-selected.svg 查看文件

@ -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="#000" fill-opacity=".1" stroke="#424242" stroke-width=".5" d="M.25.25h15.5v15.5H.25z"/>
<path stroke="#424242" d="M8 3.5a6.453 6.453 0 0 0-6.482 6h.001c.257-3.345 3.073-6 6.481-6zm0 0a6.453 6.453 0 0 1 6.482 6h-.001c-.258-3.345-3.073-6-6.481-6zm0 4c-1.424 0-2.5 1.076-2.5 2.5M8 7.5c1.424 0 2.5 1.076 2.5 2.5M8 7.5c1.376 0 2.5 1.124 2.5 2.5M8 7.5A2.506 2.506 0 0 0 5.5 10m0 0c0 1.424 1.076 2.5 2.5 2.5M5.5 10c0 1.376 1.124 2.5 2.5 2.5m2.5-2.5c0 1.424-1.076 2.5-2.5 2.5m2.5-2.5c0 1.376-1.124 2.5-2.5 2.5"/>
</svg>

+ 0
- 3
images/light/icon-eye.svg 查看文件

@ -1,3 +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="M8 3.5a6.453 6.453 0 0 0-6.482 6h.001c.257-3.345 3.073-6 6.481-6zm0 0a6.453 6.453 0 0 1 6.482 6h-.001c-.258-3.345-3.073-6-6.481-6zm0 4c-1.424 0-2.5 1.076-2.5 2.5M8 7.5c1.424 0 2.5 1.076 2.5 2.5M8 7.5c1.376 0 2.5 1.124 2.5 2.5M8 7.5A2.506 2.506 0 0 0 5.5 10m0 0c0 1.424 1.076 2.5 2.5 2.5M5.5 10c0 1.376 1.124 2.5 2.5 2.5m2.5-2.5c0 1.424-1.076 2.5-2.5 2.5m2.5-2.5c0 1.376-1.124 2.5-2.5 2.5"/>
</svg>

+ 0
- 4
images/light/icon-open.svg 查看文件

@ -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" stroke-linejoin="bevel" d="M2 8.5h5.5m0 0V14m0-5.5l-5.75 5.75"/>
<path fill="#424242" fill-rule="evenodd" d="M2.5 2l-.5.5V6h1V3h10v10h-3v1h3.5l.5-.5v-11l-.5-.5h-11z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/light/icon-tag.svg 查看文件

@ -1,4 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="17" fill="none" viewBox="0 0 16 17">
<path fill="#424242" fill-rule="evenodd" d="M1.133 9.66l6-6.5L7.5 3h5l.5.5v5l-.133.34-6 6.5-.72.014-5-5-.014-.693zm1.06.326l4.293 4.292L12 8.305V4H7.719L2.193 9.986z" clip-rule="evenodd"/>
<path fill="#424242" fill-rule="evenodd" d="M15 9a3 3 0 0 1-5.22 2.017l-.77.64a4 4 0 1 0 .407-5.713l.879.587A3 3 0 0 1 15 9z" clip-rule="evenodd"/>
</svg>

+ 0
- 4
images/light/icon-window-disabled.svg 查看文件

@ -1,4 +0,0 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#424242" d="M1 4.661v8.878l.5.461h9.825l-1.02-.923H2V6h.48L1 4.661zm13 5.984V6H8.865L7.76 5H14V3H5.548L4.443 2H14.5l.5.462v9.087l-1-.904z"/>
<path stroke="#424242" d="M.685 1.379l14.65 13.25"/>
</svg>

+ 0
- 3
images/light/icon-window.svg 查看文件

@ -1,3 +0,0 @@
<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill="#424242" d="M1.5 2h13l.5.462v11.077l-.5.461h-13l-.5-.461V5.23L2 6v7.077h12V6H2l-1-.77V2.463L1.5 2zM2 5h12V3H2v2z"/>
</svg>

+ 2
- 6
src/views/nodes/branchesNode.ts 查看文件

@ -1,11 +1,10 @@
'use strict';
import { TreeItem, TreeItemCollapsibleState } from 'vscode';
import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from 'vscode';
import { BranchesView } from '../branchesView';
import { BranchNode } from './branchNode';
import { BranchOrTagFolderNode } from './branchOrTagFolderNode';
import { MessageNode } from './common';
import { ViewBranchesLayout } from '../../configuration';
import { Container } from '../../container';
import { Repository } from '../../git/git';
import { GitUri } from '../../git/gitUri';
import { RepositoriesView } from '../repositoriesView';
@ -84,10 +83,7 @@ export class BranchesNode extends ViewNode {
if (await this.repo.hasRemotes()) {
item.contextValue += '+remotes';
}
item.iconPath = {
dark: Container.context.asAbsolutePath('images/dark/icon-branch.svg'),
light: Container.context.asAbsolutePath('images/light/icon-branch.svg'),
};
item.iconPath = new ThemeIcon('git-branch');
item.id = this.id;
return item;

Loading…
取消
儲存