feat: root folder (#106)

This commit is contained in:
PraZ 2024-02-18 00:22:55 +01:00 committed by GitHub
parent b63b94b392
commit c231cf1ee2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 62 additions and 2 deletions

View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" stroke="var(--vscode-ctp-text)" stroke-linecap="round" stroke-linejoin="round">
<path d="M 4.5,4.5 H 12 c 0.828427,0 1.5,0.6715729 1.5,1.5 V 6.5 M 6,13.5 H 2 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" />
<circle cx="11.5" cy="12" r=".5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 468 B

View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="none" stroke="var(--vscode-ctp-text)" stroke-linecap="round" stroke-linejoin="round" d="M 1.8748797,8.0004811 2.5606339,5.2574644 C 2.6719257,4.8122974 3.0719088,4.5 3.5307764,4.5 H 14.469224 c 0.552284,0 1,0.4477152 1,1 0,0.081762 -0.01003,0.163215 -0.02986,0.2425356 L 15.124325,7.0026989 M 6,13.5 H 2.0043488 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" fill="none" stroke="var(--vscode-ctp-text)" stroke-linecap="round" stroke-linejoin="round" />
<circle cx="11.5" cy="12" r=".5" fill="none" stroke="var(--vscode-ctp-text)" stroke-linecap="round" stroke-linejoin="round" />
</svg>

After

Width:  |  Height:  |  Size: 791 B

7
icons/frappe/_root.svg Normal file
View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round">
<path d="M 4.5,4.5 H 12 c 0.828427,0 1.5,0.6715729 1.5,1.5 V 6.5 M 6,13.5 H 2 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" />
<circle cx="11.5" cy="12" r=".5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 453 B

View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" d="M 1.8748797,8.0004811 2.5606339,5.2574644 C 2.6719257,4.8122974 3.0719088,4.5 3.5307764,4.5 H 14.469224 c 0.552284,0 1,0.4477152 1,1 0,0.081762 -0.01003,0.163215 -0.02986,0.2425356 L 15.124325,7.0026989 M 6,13.5 H 2.0043488 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" />
<circle cx="11.5" cy="12" r=".5" fill="none" stroke="#c6d0f5" stroke-linecap="round" stroke-linejoin="round" />
</svg>

After

Width:  |  Height:  |  Size: 746 B

7
icons/latte/_root.svg Normal file
View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round">
<path d="M 4.5,4.5 H 12 c 0.828427,0 1.5,0.6715729 1.5,1.5 V 6.5 M 6,13.5 H 2 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" />
<circle cx="11.5" cy="12" r=".5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 453 B

View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round" d="M 1.8748797,8.0004811 2.5606339,5.2574644 C 2.6719257,4.8122974 3.0719088,4.5 3.5307764,4.5 H 14.469224 c 0.552284,0 1,0.4477152 1,1 0,0.081762 -0.01003,0.163215 -0.02986,0.2425356 L 15.124325,7.0026989 M 6,13.5 H 2.0043488 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round" />
<circle cx="11.5" cy="12" r=".5" fill="none" stroke="#4c4f69" stroke-linecap="round" stroke-linejoin="round" />
</svg>

After

Width:  |  Height:  |  Size: 746 B

View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" stroke="#cad3f5" stroke-linecap="round" stroke-linejoin="round">
<path d="M 4.5,4.5 H 12 c 0.828427,0 1.5,0.6715729 1.5,1.5 V 6.5 M 6,13.5 H 2 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" />
<circle cx="11.5" cy="12" r=".5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 453 B

View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="none" stroke="#cad3f5" stroke-linecap="round" stroke-linejoin="round" d="M 1.8748797,8.0004811 2.5606339,5.2574644 C 2.6719257,4.8122974 3.0719088,4.5 3.5307764,4.5 H 14.469224 c 0.552284,0 1,0.4477152 1,1 0,0.081762 -0.01003,0.163215 -0.02986,0.2425356 L 15.124325,7.0026989 M 6,13.5 H 2.0043488 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" fill="none" stroke="#cad3f5" stroke-linecap="round" stroke-linejoin="round" />
<circle cx="11.5" cy="12" r=".5" fill="none" stroke="#cad3f5" stroke-linecap="round" stroke-linejoin="round" />
</svg>

After

Width:  |  Height:  |  Size: 746 B

7
icons/mocha/_root.svg Normal file
View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<g fill="none" stroke="#cdd6f4" stroke-linecap="round" stroke-linejoin="round">
<path d="M 4.5,4.5 H 12 c 0.828427,0 1.5,0.6715729 1.5,1.5 V 6.5 M 6,13.5 H 2 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" />
<circle cx="11.5" cy="12" r=".5" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 453 B

View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="none" stroke="#cdd6f4" stroke-linecap="round" stroke-linejoin="round" d="M 1.8748797,8.0004811 2.5606339,5.2574644 C 2.6719257,4.8122974 3.0719088,4.5 3.5307764,4.5 H 14.469224 c 0.552284,0 1,0.4477152 1,1 0,0.081762 -0.01003,0.163215 -0.02986,0.2425356 L 15.124325,7.0026989 M 6,13.5 H 2.0043488 C 1.1715729,13.5 0.5,12.828427 0.5,12 V 3.5 c 0,-0.5522847 0.44771525,-1 1,-1 h 5 c 0.5522847,0 1,0.4477153 1,1 v 1" />
<circle cx="11.5" cy="12" r="3" fill="none" stroke="#cdd6f4" stroke-linecap="round" stroke-linejoin="round" />
<circle cx="11.5" cy="12" r=".5" fill="none" stroke="#cdd6f4" stroke-linecap="round" stroke-linejoin="round" />
</svg>

After

Width:  |  Height:  |  Size: 746 B

View File

@ -21,8 +21,8 @@ export function compileTheme(overrides: Partial<ThemeConfig>, iconDefinitions: I
file: '_file',
folder: '_folder',
folderExpanded: '_folder_open',
rootFolder: '_folder',
rootFolderExpanded: '_folder_open',
rootFolder: '_root',
rootFolderExpanded: '_root_open',
languageIds: associations.languageIds,
fileExtensions: associations.fileExtensions,