From ce92444bf2261ab655bbdfd7d5ac08d766271827 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Mon, 11 Oct 2021 10:39:50 +0200 Subject: [PATCH] Updated dashboard icon --- assets/icons/frontmatter-short-dark.svg | 12 ++++++++++++ assets/icons/frontmatter-short-light.svg | 12 ++++++++++++ src/commands/Dashboard.ts | 4 ++-- 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 assets/icons/frontmatter-short-dark.svg create mode 100644 assets/icons/frontmatter-short-light.svg diff --git a/assets/icons/frontmatter-short-dark.svg b/assets/icons/frontmatter-short-dark.svg new file mode 100644 index 00000000..be58baa5 --- /dev/null +++ b/assets/icons/frontmatter-short-dark.svg @@ -0,0 +1,12 @@ + + + + + + + diff --git a/assets/icons/frontmatter-short-light.svg b/assets/icons/frontmatter-short-light.svg new file mode 100644 index 00000000..874be8f6 --- /dev/null +++ b/assets/icons/frontmatter-short-light.svg @@ -0,0 +1,12 @@ + + + + + + + diff --git a/src/commands/Dashboard.ts b/src/commands/Dashboard.ts index 0da02837..dc71b5aa 100644 --- a/src/commands/Dashboard.ts +++ b/src/commands/Dashboard.ts @@ -97,8 +97,8 @@ export class Dashboard { Dashboard.isDisposed = false; Dashboard.webview.iconPath = { - dark: Uri.file(join(extensionUri.fsPath, 'assets/frontmatter-dark.svg')), - light: Uri.file(join(extensionUri.fsPath, 'assets/frontmatter.svg')) + dark: Uri.file(join(extensionUri.fsPath, 'assets/icons/frontmatter-short-dark.svg')), + light: Uri.file(join(extensionUri.fsPath, 'assets/icons/frontmatter-short-light.svg')) }; Dashboard.webview.webview.html = Dashboard.getWebviewContent(Dashboard.webview.webview, extensionUri);