From 17b13ef4b79b878cf87ea045eb573718c55a4f40 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 3 Jan 2019 23:14:43 -0500 Subject: [PATCH] Updates pin icons --- images/dark/icon-pin-filled.svg | 4 ++++ images/dark/icon-pin-small.svg | 4 ++++ images/dark/icon-pin-tilted-filled.svg | 4 ++++ images/dark/icon-pin-tilted.svg | 10 ++++++++++ images/dark/icon-pin.svg | 10 ++++++++-- images/dark/icon-pinned.svg | 4 ---- images/light/icon-pin-filled.svg | 4 ++++ images/light/icon-pin-small.svg | 4 ++++ images/light/icon-pin-tilted-filled.svg | 4 ++++ images/light/icon-pin-tilted.svg | 10 ++++++++++ images/light/icon-pin.svg | 10 ++++++++-- images/light/icon-pinned.svg | 4 ---- package.json | 8 ++++---- src/views/nodes/compareResultsNode.ts | 4 ++-- 14 files changed, 66 insertions(+), 18 deletions(-) create mode 100644 images/dark/icon-pin-filled.svg create mode 100644 images/dark/icon-pin-small.svg create mode 100644 images/dark/icon-pin-tilted-filled.svg create mode 100644 images/dark/icon-pin-tilted.svg delete mode 100644 images/dark/icon-pinned.svg create mode 100644 images/light/icon-pin-filled.svg create mode 100644 images/light/icon-pin-small.svg create mode 100644 images/light/icon-pin-tilted-filled.svg create mode 100644 images/light/icon-pin-tilted.svg delete mode 100644 images/light/icon-pinned.svg diff --git a/images/dark/icon-pin-filled.svg b/images/dark/icon-pin-filled.svg new file mode 100644 index 0000000..13999a1 --- /dev/null +++ b/images/dark/icon-pin-filled.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/dark/icon-pin-small.svg b/images/dark/icon-pin-small.svg new file mode 100644 index 0000000..4657414 --- /dev/null +++ b/images/dark/icon-pin-small.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/dark/icon-pin-tilted-filled.svg b/images/dark/icon-pin-tilted-filled.svg new file mode 100644 index 0000000..13e0881 --- /dev/null +++ b/images/dark/icon-pin-tilted-filled.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/dark/icon-pin-tilted.svg b/images/dark/icon-pin-tilted.svg new file mode 100644 index 0000000..502cab6 --- /dev/null +++ b/images/dark/icon-pin-tilted.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/images/dark/icon-pin.svg b/images/dark/icon-pin.svg index 13e0881..56a1303 100644 --- a/images/dark/icon-pin.svg +++ b/images/dark/icon-pin.svg @@ -1,4 +1,10 @@ - - + + + + + + + + diff --git a/images/dark/icon-pinned.svg b/images/dark/icon-pinned.svg deleted file mode 100644 index 13999a1..0000000 --- a/images/dark/icon-pinned.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/images/light/icon-pin-filled.svg b/images/light/icon-pin-filled.svg new file mode 100644 index 0000000..7756285 --- /dev/null +++ b/images/light/icon-pin-filled.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/light/icon-pin-small.svg b/images/light/icon-pin-small.svg new file mode 100644 index 0000000..aa49516 --- /dev/null +++ b/images/light/icon-pin-small.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/light/icon-pin-tilted-filled.svg b/images/light/icon-pin-tilted-filled.svg new file mode 100644 index 0000000..0f31c67 --- /dev/null +++ b/images/light/icon-pin-tilted-filled.svg @@ -0,0 +1,4 @@ + + + + diff --git a/images/light/icon-pin-tilted.svg b/images/light/icon-pin-tilted.svg new file mode 100644 index 0000000..be1d07f --- /dev/null +++ b/images/light/icon-pin-tilted.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/images/light/icon-pin.svg b/images/light/icon-pin.svg index 0f31c67..6d4bef8 100644 --- a/images/light/icon-pin.svg +++ b/images/light/icon-pin.svg @@ -1,4 +1,10 @@ - - + + + + + + + + diff --git a/images/light/icon-pinned.svg b/images/light/icon-pinned.svg deleted file mode 100644 index 7756285..0000000 --- a/images/light/icon-pinned.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/package.json b/package.json index 557fd3e..cf10c7b 100644 --- a/package.json +++ b/package.json @@ -2707,8 +2707,8 @@ "title": "Pin Comparison", "category": "GitLens", "icon": { - "dark": "images/dark/icon-pin.svg", - "light": "images/light/icon-pin.svg" + "dark": "images/dark/icon-pin-tilted.svg", + "light": "images/light/icon-pin-tilted.svg" } }, { @@ -2716,8 +2716,8 @@ "title": "Unpin Comparison", "category": "GitLens", "icon": { - "dark": "images/dark/icon-pinned.svg", - "light": "images/light/icon-pinned.svg" + "dark": "images/dark/icon-pin-filled.svg", + "light": "images/light/icon-pin-filled.svg" } }, { diff --git a/src/views/nodes/compareResultsNode.ts b/src/views/nodes/compareResultsNode.ts index cfe5a5e..f412bce 100644 --- a/src/views/nodes/compareResultsNode.ts +++ b/src/views/nodes/compareResultsNode.ts @@ -60,8 +60,8 @@ export class CompareResultsNode extends ViewNode { item.description = description; if (this._pinned) { item.iconPath = { - dark: Container.context.asAbsolutePath(`images/dark/icon-pinned.svg`), - light: Container.context.asAbsolutePath(`images/light/icon-pinned.svg`) + dark: Container.context.asAbsolutePath(`images/dark/icon-pin-small.svg`), + light: Container.context.asAbsolutePath(`images/light/icon-pin-small.svg`) }; }