diff --git a/apps/vscode-wing/.projenrc.ts b/apps/vscode-wing/.projenrc.ts index 2ca22d8617d..a0f7f109ba1 100644 --- a/apps/vscode-wing/.projenrc.ts +++ b/apps/vscode-wing/.projenrc.ts @@ -100,8 +100,8 @@ const contributes: VSCodeExtensionContributions = { extensions: [".w", ".wsim"], configuration: "./language-configuration.json", icon: { - light: "resources/icon-light.png", - dark: "resources/icon-dark.png", + light: "resources/winglang-symbol-dark.svg", + dark: "resources/winglang-symbol-light.svg", }, }, ], @@ -126,16 +126,16 @@ const contributes: VSCodeExtensionContributions = { command: "wing.openConsole", title: "Open in Wing Console", icon: { - light: "resources/icon-light.png", - dark: "resources/icon-dark.png", + light: "resources/winglang-symbol-light.svg", + dark: "resources/winglang-symbol-dark.svg", }, }, { command: "wing.openFile", title: "Open source file", icon: { - light: "resources/icon-light.png", - dark: "resources/icon-dark.png", + light: "resources/winglang-symbol-light.svg", + dark: "resources/winglang-symbol-dark.svg", }, }, { diff --git a/apps/vscode-wing/package.json b/apps/vscode-wing/package.json index adc2e9c09f7..d351d924d3a 100644 --- a/apps/vscode-wing/package.json +++ b/apps/vscode-wing/package.json @@ -105,8 +105,8 @@ ], "configuration": "./language-configuration.json", "icon": { - "light": "resources/icon-light.png", - "dark": "resources/icon-dark.png" + "light": "resources/winglang-symbol-dark.svg", + "dark": "resources/winglang-symbol-light.svg" } } ], @@ -132,16 +132,16 @@ "command": "wing.openConsole", "title": "Open in Wing Console", "icon": { - "light": "resources/icon-light.png", - "dark": "resources/icon-dark.png" + "light": "resources/winglang-symbol-light.svg", + "dark": "resources/winglang-symbol-dark.svg" } }, { "command": "wing.openFile", "title": "Open source file", "icon": { - "light": "resources/icon-light.png", - "dark": "resources/icon-dark.png" + "light": "resources/winglang-symbol-light.svg", + "dark": "resources/winglang-symbol-dark.svg" } }, { diff --git a/apps/vscode-wing/resources/icon-dark.png b/apps/vscode-wing/resources/icon-dark.png deleted file mode 100644 index b94432f803a..00000000000 Binary files a/apps/vscode-wing/resources/icon-dark.png and /dev/null differ diff --git a/apps/vscode-wing/resources/icon-light.png b/apps/vscode-wing/resources/icon-light.png deleted file mode 100644 index c460eb2e144..00000000000 Binary files a/apps/vscode-wing/resources/icon-light.png and /dev/null differ diff --git a/apps/vscode-wing/resources/winglang-symbol-dark.svg b/apps/vscode-wing/resources/winglang-symbol-dark.svg new file mode 100644 index 00000000000..59027090cf5 --- /dev/null +++ b/apps/vscode-wing/resources/winglang-symbol-dark.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/apps/vscode-wing/resources/winglang-symbol-light.svg b/apps/vscode-wing/resources/winglang-symbol-light.svg new file mode 100644 index 00000000000..3c886f9d2c7 --- /dev/null +++ b/apps/vscode-wing/resources/winglang-symbol-light.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/apps/vscode-wing/src/console/console-manager.ts b/apps/vscode-wing/src/console/console-manager.ts index 229ec1ab54a..b59f8b8bf9c 100644 --- a/apps/vscode-wing/src/console/console-manager.ts +++ b/apps/vscode-wing/src/console/console-manager.ts @@ -222,9 +222,13 @@ export const createConsoleManager = ( light: Uri.joinPath( context.extensionUri, "resources", - "icon-light.png" + "winglang-symbol-light.svg" + ), + dark: Uri.joinPath( + context.extensionUri, + "resources", + "winglang-symbol-dark.svg" ), - dark: Uri.joinPath(context.extensionUri, "resources", "icon-dark.png"), }; webviewPanel.onDidDispose(async () => {