Skip to content

Commit f02bacd

Browse files
committed
new icons
1 parent a7c3603 commit f02bacd

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

client/src/setupSidebar.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ProviderResult, TreeDataProvider, TreeItem, TreeItemCollapsibleState, w
33

44

55

6-
export function setupSidebar() {
6+
export async function setupSidebar() {
77
const treeDataProvider = new ProcessingWindowDataProvider();
88
window.createTreeView('processingSidebarView', { treeDataProvider });
99

@@ -34,6 +34,12 @@ class ProcessingTreeItem extends TreeItem {
3434
// TODO: Connect to Processing and request where the sketchbook is located
3535

3636
class ProcessingWindowDataProvider implements TreeDataProvider<ProcessingTreeItem> {
37+
constructor(
38+
public readonly path = "",
39+
) {
40+
41+
}
42+
3743
getTreeItem(element: ProcessingTreeItem): TreeItem | Thenable<TreeItem> {
3844
return element;
3945
}

media/processing-color.svg

Lines changed: 6 additions & 0 deletions
Loading

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
{
8282
"id": "processingSidebar",
8383
"title": "Processing",
84-
"icon": "media/processing.svg"
84+
"icon": "media/processing-outline.svg"
8585
}
8686
]
8787
},
@@ -90,12 +90,12 @@
9090
{
9191
"id": "processingSidebarView",
9292
"name": "Sketchbook",
93-
"icon": "media/processing.svg"
93+
"icon": "media/processing-outline.svg"
9494
},
9595
{
9696
"id": "processingSidebarView2",
9797
"name": "Examples",
98-
"icon": "media/processing.svg"
98+
"icon": "media/processing-outline.svg"
9999
}
100100
]
101101
},
@@ -104,7 +104,11 @@
104104
"id": "Processing",
105105
"extensions": [
106106
".pde"
107-
]
107+
],
108+
"icon": {
109+
"light": "media/processing-filled.svg",
110+
"dark": "media/processing-filled.svg"
111+
}
108112
}
109113
],
110114
"grammars": [

0 commit comments

Comments
 (0)