From 212f222cd0ea305b810c44ff9cd553f9d3916cfd Mon Sep 17 00:00:00 2001 From: Bryce Ito Date: Tue, 17 Nov 2020 07:49:07 -0800 Subject: [PATCH] Cloud9-specific help icons (#152) --- resources/dark/cloud9/help.svg | 12 ++++++++++++ resources/light/cloud9/help.svg | 12 ++++++++++++ src/extension.ts | 8 ++++++-- 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 resources/dark/cloud9/help.svg create mode 100644 resources/light/cloud9/help.svg diff --git a/resources/dark/cloud9/help.svg b/resources/dark/cloud9/help.svg new file mode 100644 index 00000000000..94b17dfd8b4 --- /dev/null +++ b/resources/dark/cloud9/help.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/light/cloud9/help.svg b/resources/light/cloud9/help.svg new file mode 100644 index 00000000000..81c89a3b963 --- /dev/null +++ b/resources/light/cloud9/help.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/src/extension.ts b/src/extension.ts index b77bceb856d..89e60c01483 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -248,8 +248,12 @@ export async function deactivate() { } function initializeIconPaths(context: vscode.ExtensionContext) { - ext.iconPaths.dark.help = context.asAbsolutePath('resources/dark/help.svg') - ext.iconPaths.light.help = context.asAbsolutePath('resources/light/help.svg') + ext.iconPaths.dark.help = isCloud9() + ? context.asAbsolutePath('resources/dark/cloud9/help.svg') + : context.asAbsolutePath('resources/dark/help.svg') + ext.iconPaths.light.help = isCloud9() + ? context.asAbsolutePath('resources/light/cloud9/help.svg') + : context.asAbsolutePath('resources/light/help.svg') ext.iconPaths.dark.cloudFormation = context.asAbsolutePath('resources/dark/cloudformation.svg') ext.iconPaths.light.cloudFormation = context.asAbsolutePath('resources/light/cloudformation.svg')