diff --git a/images/blame-dark.png b/images/blame-dark.png deleted file mode 100644 index a76cb1e..0000000 Binary files a/images/blame-dark.png and /dev/null differ diff --git a/images/blame-dark.svg b/images/blame-dark.svg new file mode 100644 index 0000000..bb26282 --- /dev/null +++ b/images/blame-dark.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/images/blame-light.png b/images/blame-light.png deleted file mode 100644 index 02b1947..0000000 Binary files a/images/blame-light.png and /dev/null differ diff --git a/images/blame-light.svg b/images/blame-light.svg new file mode 100644 index 0000000..5fabefb --- /dev/null +++ b/images/blame-light.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/images/git-icon-dark.svg b/images/git-icon-dark.svg new file mode 100644 index 0000000..7e7d73c --- /dev/null +++ b/images/git-icon-dark.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/images/git-icon-light.svg b/images/git-icon-light.svg new file mode 100644 index 0000000..efb8424 --- /dev/null +++ b/images/git-icon-light.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/images/git-icon.svg b/images/git-icon.svg new file mode 100644 index 0000000..9b16645 --- /dev/null +++ b/images/git-icon.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/images/gitlens-icon.svg b/images/gitlens-icon.svg new file mode 100644 index 0000000..f19d9dc --- /dev/null +++ b/images/gitlens-icon.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/package.json b/package.json index 69307f2..3de380a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "color": "#56098c", "theme": "dark" }, - "icon": "images/gitlens-icon.png", + "icon": "images/gitlens-icon.svg", "preview": false, "homepage": "https://github.com/eamodio/vscode-gitlens/blob/master/README.md", "bugs": { @@ -324,7 +324,11 @@ { "command": "gitlens.toggleBlame", "title": "Toggle Blame Annotations", - "category": "GitLens" + "category": "GitLens", + "icon": { + "dark": "images/git-icon-dark.svg", + "light": "images/git-icon-light.svg" + } }, { "command": "gitlens.toggleCodeLens", @@ -384,12 +388,12 @@ { "command": "gitlens.toggleBlame", "when": "config.git.enabled", - "group": "1_gitlens@1" + "group": "navigation@100" }, { "command": "gitlens.showQuickFileHistory", "when": "config.git.enabled", - "group": "1_gitlens@2" + "group": "1_gitlens" }, { "command": "gitlens.diffWithPrevious", diff --git a/src/blameAnnotationProvider.ts b/src/blameAnnotationProvider.ts index 7fd42ea..ab8221b 100644 --- a/src/blameAnnotationProvider.ts +++ b/src/blameAnnotationProvider.ts @@ -34,12 +34,12 @@ export class BlameAnnotationProvider extends Disposable { highlightDecoration = window.createTextEditorDecorationType({ dark: { backgroundColor: 'rgba(255, 255, 255, 0.15)', - gutterIconPath: context.asAbsolutePath('images/blame-dark.png'), + gutterIconPath: context.asAbsolutePath('images/blame-dark.svg'), overviewRulerColor: 'rgba(255, 255, 255, 0.75)' }, light: { backgroundColor: 'rgba(0, 0, 0, 0.15)', - gutterIconPath: context.asAbsolutePath('images/blame-light.png'), + gutterIconPath: context.asAbsolutePath('images/blame-light.svg'), overviewRulerColor: 'rgba(0, 0, 0, 0.75)' }, gutterIconSize: 'contain',