Refactor assets

This commit is contained in:
Saoud Rizwan
2024-10-06 17:46:42 -04:00
parent 1ddd70238f
commit 739a7e070e
6 changed files with 4 additions and 4 deletions

View File

@@ -39,4 +39,4 @@ webview-ui/node_modules/**
!src/integrations/theme/default-themes/**
# Include icons
!icons/**
!assets/icons/**

View File

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

Before

Width:  |  Height:  |  Size: 718 B

After

Width:  |  Height:  |  Size: 718 B

View File

Before

Width:  |  Height:  |  Size: 689 B

After

Width:  |  Height:  |  Size: 689 B

View File

@@ -3,7 +3,7 @@
"displayName": "Cline (prev. Claude Dev)",
"description": "Autonomous coding agent right in your IDE, capable of creating/editing files, executing commands, and more with your permission every step of the way.",
"version": "1.9.7",
"icon": "icons/icon.png",
"icon": "assets/icons/icon.png",
"galleryBanner": {
"color": "#FFECA7",
"theme": "light"

View File

@@ -66,8 +66,8 @@ export function activate(context: vscode.ExtensionContext) {
// TODO: use better svg icon with light and dark variants (see https://stackoverflow.com/questions/58365687/vscode-extension-iconpath)
panel.iconPath = {
light: vscode.Uri.joinPath(context.extensionUri, "icons", "robot_panel_light.png"),
dark: vscode.Uri.joinPath(context.extensionUri, "icons", "robot_panel_dark.png"),
light: vscode.Uri.joinPath(context.extensionUri, "assets", "icons", "robot_panel_light.png"),
dark: vscode.Uri.joinPath(context.extensionUri, "assets", "icons", "robot_panel_dark.png"),
}
tabProvider.resolveWebviewView(panel)