Skip to content

Commit

Permalink
Converts images to svg
Browse files Browse the repository at this point in the history
Adds blame toggle to the editor toolbar
  • Loading branch information
eamodio committed Feb 13, 2017
1 parent aaa1b78 commit 6641233
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 6 deletions.
Binary file removed images/blame-dark.png
Binary file not shown.
6 changes: 6 additions & 0 deletions images/blame-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/blame-light.png
Binary file not shown.
6 changes: 6 additions & 0 deletions images/blame-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/git-icon-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/git-icon-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions images/git-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions images/gitlens-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/blameAnnotationProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 6641233

Please sign in to comment.