material-icon-theme 4.25.0 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +5 -4
- package/icons/c.svg +4 -1
- package/icons/cpp.svg +4 -1
- package/icons/csharp.svg +4 -1
- package/icons/deno.svg +1 -0
- package/icons/deno_light.svg +1 -0
- package/icons/folder-godot-open.svg +2 -0
- package/icons/folder-godot.svg +8 -0
- package/icons/folder-mercurial-open.svg +5 -0
- package/icons/folder-mercurial.svg +2 -0
- package/icons/folder-netlify-open.svg +5 -1
- package/icons/folder-netlify.svg +2 -1
- package/icons/folder-plastic-open.svg +8 -0
- package/icons/folder-plastic.svg +2 -0
- package/icons/godot-assets.svg +7 -1
- package/icons/godot.svg +7 -1
- package/icons/mercurial.svg +6 -0
- package/icons/netlify.svg +7 -1
- package/icons/netlify_light.svg +7 -0
- package/icons/objective-c.svg +4 -1
- package/icons/plastic.svg +7 -0
- package/icons/rc.svg +2 -0
- package/icons/typst.svg +2 -0
- package/images/contributors.png +0 -0
- package/images/fileIcons.png +0 -0
- package/images/folderIcons.png +0 -0
- package/package.json +12 -1
- package/package.nls.de.json +2 -0
- package/package.nls.json +2 -0
- package/src/commands/fileColor.ts +96 -0
- package/src/commands/folderColor.ts +3 -3
- package/src/commands/index.ts +2 -0
- package/src/commands/restoreConfig.ts +1 -0
- package/src/helpers/fileConfig.ts +2 -1
- package/src/i18n/lang-de.ts +5 -3
- package/src/i18n/lang-en.ts +5 -3
- package/src/i18n/lang-es.ts +5 -3
- package/src/i18n/lang-fr.ts +5 -3
- package/src/i18n/lang-ja.ts +5 -3
- package/src/i18n/lang-nl.ts +5 -3
- package/src/i18n/lang-pl.ts +5 -3
- package/src/i18n/lang-pt-br.ts +5 -3
- package/src/i18n/lang-pt-pt.ts +5 -3
- package/src/i18n/lang-ru.ts +5 -3
- package/src/i18n/lang-uk.ts +5 -3
- package/src/i18n/lang-zh-cn.ts +5 -3
- package/src/i18n/lang-zh-tw.ts +5 -3
- package/src/icons/fileIcons.ts +56 -2
- package/src/icons/folderIcons.ts +13 -1
- package/src/icons/generator/fileGenerator.ts +17 -0
- package/src/icons/generator/folderGenerator.ts +3 -3
- package/src/icons/generator/jsonGenerator.ts +17 -1
- package/src/models/i18n/translation.ts +5 -3
- package/src/models/icons/iconJsonOptions.ts +1 -0
- package/icons/file.svg +0 -1
- package/images/stepsize.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
#### [v4.26.0](https://github.com/PKief/vscode-material-icon-theme/compare/v4.25.0...v4.26.0)
|
|
7
|
+
|
|
8
|
+
> April 8, 2023
|
|
9
|
+
|
|
10
|
+
- Remove sponsor logo [`#1929`](https://github.com/PKief/vscode-material-icon-theme/pull/1929)
|
|
11
|
+
- feat: add mercurial icon [`#1898`](https://github.com/PKief/vscode-material-icon-theme/pull/1898)
|
|
12
|
+
- feat: Add "Change File Color" functionality [`#1916`](https://github.com/PKief/vscode-material-icon-theme/pull/1916)
|
|
13
|
+
- feat: add C/C++ resource icon [`#1897`](https://github.com/PKief/vscode-material-icon-theme/pull/1897)
|
|
14
|
+
- feat: add deno icon [`#1896`](https://github.com/PKief/vscode-material-icon-theme/pull/1896)
|
|
15
|
+
- Add typst file icon [`#1917`](https://github.com/PKief/vscode-material-icon-theme/pull/1917)
|
|
16
|
+
- feat: add Plastic SCM icon [`#1877`](https://github.com/PKief/vscode-material-icon-theme/pull/1877)
|
|
17
|
+
- Update folderIcons.ts [`#1914`](https://github.com/PKief/vscode-material-icon-theme/pull/1914)
|
|
18
|
+
- add mctemplate and mcproject file extensions [`#1913`](https://github.com/PKief/vscode-material-icon-theme/pull/1913)
|
|
19
|
+
- Godot optimizations, folder [`#1884`](https://github.com/PKief/vscode-material-icon-theme/pull/1884)
|
|
20
|
+
- Update netlify icons [`#1908`](https://github.com/PKief/vscode-material-icon-theme/pull/1908)
|
|
21
|
+
- Add all possible stryker config filenames [`#1907`](https://github.com/PKief/vscode-material-icon-theme/pull/1907)
|
|
22
|
+
- Add support for all Serverless framework config extensions [`#1880`](https://github.com/PKief/vscode-material-icon-theme/pull/1880)
|
|
23
|
+
|
|
6
24
|
#### [v4.25.0](https://github.com/PKief/vscode-material-icon-theme/compare/v4.24.0...v4.25.0)
|
|
7
25
|
|
|
8
26
|
> March 15, 2023
|
package/README.md
CHANGED
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
<p align="center"><br>
|
|
20
20
|
<b>Sponsored by</b><br><br>
|
|
21
|
-
<a title="Try CodeStream" href="https://sponsorlink.codestream.com/?utm_source=vscmarket&utm_campaign=pkief_material&utm_medium=banner"><img width="198px" src="https://alt-images.codestream.com/codestream_logo_pkief_material.png"></a
|
|
22
|
-
<a title="Try Stepsize" href="https://marketplace.visualstudio.com/items?itemName=Stepsize.stepsize"><img width="200px" src="https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/main/images/stepsize.png"></a>
|
|
21
|
+
<a title="Try CodeStream" href="https://sponsorlink.codestream.com/?utm_source=vscmarket&utm_campaign=pkief_material&utm_medium=banner"><img width="198px" src="https://alt-images.codestream.com/codestream_logo_pkief_material.png"></a>
|
|
23
22
|
</p>
|
|
24
23
|
|
|
25
24
|
### File icons
|
|
@@ -30,9 +29,9 @@
|
|
|
30
29
|
|
|
31
30
|
<img src="https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/main/images/folderIcons.png" alt="folder icons">
|
|
32
31
|
|
|
33
|
-
#### Customize folder color
|
|
32
|
+
#### Customize file & folder color
|
|
34
33
|
|
|
35
|
-
You can change the color of the default folder
|
|
34
|
+
You can change the color of the default file and folder icons using the command palette:
|
|
36
35
|
|
|
37
36
|
<img src="https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/main/images/set-folder-color.gif" alt="custom folder colors">
|
|
38
37
|
|
|
@@ -40,6 +39,7 @@ or via user settings:
|
|
|
40
39
|
|
|
41
40
|
```json
|
|
42
41
|
"material-icon-theme.folders.color": "#ef5350",
|
|
42
|
+
"material-icon-theme.files.color": "#42a5f5",
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
#### Folder themes
|
|
@@ -170,6 +170,7 @@ Press `Ctrl-Shift-P` to open the command palette and type `Material Icons`.
|
|
|
170
170
|
| Command | Description |
|
|
171
171
|
| --------------------------------- | ----------------------------------------------------------------------------------- |
|
|
172
172
|
| **Activate Icon Theme** | Activate the icon theme. |
|
|
173
|
+
| **Change File Color** | Change the color of the file icons. |
|
|
173
174
|
| **Change Folder Color** | Change the color of the folder icons. |
|
|
174
175
|
| **Change Folder Theme** | Change the design of the folder icons. |
|
|
175
176
|
| **Change Opacity** | Change the opacity of the icons. |
|
package/icons/c.svg
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m17.426 16.84 0.51209 2.975c-0.31701 0.1707-0.82909 0.3292-1.5119 0.47551-0.69497 0.1585-1.5119 0.24385-2.4507 0.24385-2.6945-0.04877-4.7185-0.85348-6.0719-2.3897-1.3899-1.5485-2.0483-3.5114-2.0483-5.889 0.04877-2.8165 0.87786-4.9746 2.4873-6.4864 1.5606-1.5241 3.5602-2.3044 5.9743-2.3044 0.91444 0 1.707 0.085348 2.3654 0.23166 0.6584 0.14631 1.1461 0.30481 1.4631 0.4877l-0.73155 3.0359-1.268-0.41455c-0.4877-0.12193-1.0608-0.18289-1.707-0.18289-1.4021-0.012192-2.5726 0.43893-3.4871 1.3412-0.92663 0.89005-1.3899 2.2556-1.4387 4.0723 0.012193 1.6582 0.45112 2.9506 1.3168 3.9016 0.86567 0.93882 2.0727 1.4265 3.6456 1.4387l1.6216-0.14631c0.52428-0.09754 0.96321-0.23166 1.329-0.39016z" fill="#0288d1" stroke-width="1.2192"/>
|
|
4
|
+
</svg>
|
package/icons/cpp.svg
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m10 15.97.41 2.44c-.26.14-.68.27-1.24.39-.57.13-1.24.2-2.01.2-2.21-.04-3.87-.7-4.98-1.96C1.06 15.77.5 14.16.5 12.21c.05-2.31.72-4.08 2-5.32C3.82 5.64 5.46 5 7.44 5c.75 0 1.4.07 1.94.19s.94.25 1.2.4L10 8.08l-1.06-.34c-.4-.1-.86-.15-1.39-.15-1.16-.01-2.12.36-2.87 1.1-.76.73-1.15 1.85-1.18 3.34 0 1.36.37 2.42 1.08 3.2.71.77 1.71 1.17 2.99 1.18l1.33-.12c.43-.08.79-.19 1.1-.32m.5-4.97h2V9h2v2h2v2h-2v2h-2v-2h-2v-2m7 0h2V9h2v2h2v2h-2v2h-2v-2h-2z" fill="#0288d1"/>
|
|
4
|
+
</svg>
|
package/icons/csharp.svg
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m11.5 15.97.41 2.44c-.26.14-.68.27-1.24.39-.57.13-1.24.2-2.01.2-2.21-.04-3.87-.7-4.98-1.96C2.56 15.77 2 14.16 2 12.21c.05-2.31.72-4.08 2-5.32C5.32 5.64 6.96 5 8.94 5c.75 0 1.4.07 1.94.19s.94.25 1.2.4l-.58 2.49-1.06-.34c-.4-.1-.86-.15-1.39-.15-1.16-.01-2.12.36-2.87 1.1-.76.73-1.15 1.85-1.18 3.34 0 1.36.37 2.42 1.08 3.2.71.77 1.71 1.17 2.99 1.18l1.33-.12c.43-.08.79-.19 1.1-.32M13.89 19l.61-4H13l.34-2h1.5l.32-2h-1.5L14 9h1.5l.61-4h2l-.61 4h1l.61-4h2l-.61 4H22l-.34 2h-1.5l-.32 2h1.5L21 15h-1.5l-.61 4h-2l.61-4h-1l-.61 4h-2m2.95-6h1l.32-2h-1l-.32 2z" fill="#0288d1"/>
|
|
4
|
+
</svg>
|
package/icons/deno.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="#CFD8DC" fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM6.437 11.77c0-2.278 2.266-4.11 5.172-4.11 1.399 0 2.598.387 3.543 1.125a5.035 5.035 0 0 1 1.7 2.477l.007.023.008.027.016.051.023.094.063.219.066.25.113.414.18.656.29 1.078.327 1.227.528 1.972.199.743-.043.047a8.977 8.977 0 0 1-5.442 2.843l-.019-.129-.035-.258-.031-.187-.036-.246-.046-.3-.02-.118-.043-.285-.027-.168-.035-.219-.036-.21-.035-.204-.035-.2-.031-.195-.035-.187-.032-.18-.023-.133-.027-.128-.016-.082-.031-.165-.024-.117-.027-.144-.023-.102-.02-.097-.02-.094-.011-.063-.028-.117-.02-.086-.019-.086-.015-.054-.02-.079-.015-.074-.02-.074-.02-.07-.011-.043-.02-.067-.015-.062-.012-.043-.016-.04-.011-.034-.016-.055-.012-.04-.008-.023a2.628 2.628 0 0 0-.07-.183l-.012-.024.09-.234-.355.012-.098.004c-3.226.066-5.309-1.305-5.309-3.454Zm2.024 6.648a.486.486 0 0 1 .594-.332c.258.066.41.328.347.586l-.004.012-.472 1.761-.067-.027a8.932 8.932 0 0 1-.84-.363l.438-1.625.004-.012Zm2.719-1.191a.488.488 0 0 1 .902-.086l.016.07.023.113.016.082-.004.02-.012.055v.011l-.664 2.461-.004.012a.488.488 0 0 1-.941-.254v-.012l.664-2.46.004-.012Zm-4.063-2.793.031-.075c.247.215.532.41.844.575l-.601 2.234-.004.012a.488.488 0 0 1-.942-.258l.004-.012.664-2.46.004-.016ZM4.97 11.859a.495.495 0 0 1 .597-.332c.254.07.407.332.344.59v.012l-.664 2.46-.004.013a.488.488 0 0 1-.941-.258v-.012l.664-2.46.004-.013Zm14.89-.558a.488.488 0 0 1 .941.254v.015l-.667 2.461v.012a.49.49 0 0 1-.945-.258l.003-.012.665-2.46.003-.012Zm-16.785-.344a8.922 8.922 0 0 1 1.043-3.273.49.49 0 0 1 .465.605l-.004.012-.664 2.46-.004.012a.492.492 0 0 1-.836.184Zm15.102-2.926a.496.496 0 0 1 .597-.332c.254.07.41.332.348.59l-.004.012-.664 2.46-.004.012a.488.488 0 0 1-.941-.257l.004-.012.664-2.461v-.012ZM7.008 5.36a.492.492 0 0 0-.594.332l-.004.012-.664 2.461-.004.012a.488.488 0 0 0 .942.258l.003-.012.665-2.461.003-.016a.488.488 0 0 0-.347-.586Zm8.535.465a.495.495 0 0 0-.598.332l-.004.012-.445 1.656c.289.142.565.31.824.5l.043.035.524-1.933v-.012a.491.491 0 0 0-.344-.59Zm-4.344-2.773a8.982 8.982 0 0 0-.93.133l-.066.011-.617 2.293-.004.012a.488.488 0 0 0 .941.254l.004-.012.664-2.46.004-.012a.484.484 0 0 0 .004-.22Zm6.11 1.699-.13.484-.003.012a.488.488 0 0 0 .941.254l.004-.012.016-.05a9.03 9.03 0 0 0-.77-.645l-.058-.043Zm-3.864-1.617-.234.87-.004.013a.488.488 0 0 0 .941.254l.004-.012.246-.918a8.924 8.924 0 0 0-.882-.195l-.07-.012Zm-.769 6.355a.625.625 0 1 0-.884.884.625.625 0 0 0 .884-.884Z" clip-rule="evenodd"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path fill="#455A64" fill-rule="evenodd" d="M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM6.437 11.77c0-2.278 2.266-4.11 5.172-4.11 1.399 0 2.598.387 3.543 1.125a5.035 5.035 0 0 1 1.7 2.477l.007.023.008.027.016.051.023.094.063.219.066.25.113.414.18.656.29 1.078.327 1.227.528 1.972.199.743-.043.047a8.977 8.977 0 0 1-5.442 2.843l-.019-.129-.035-.258-.031-.187-.036-.246-.046-.3-.02-.118-.043-.285-.027-.168-.035-.219-.036-.21-.035-.204-.035-.2-.031-.195-.035-.187-.032-.18-.023-.133-.027-.128-.016-.082-.031-.165-.024-.117-.027-.144-.023-.102-.02-.097-.02-.094-.011-.063-.028-.117-.02-.086-.019-.086-.015-.054-.02-.079-.015-.074-.02-.074-.02-.07-.011-.043-.02-.067-.015-.062-.012-.043-.016-.04-.011-.034-.016-.055-.012-.04-.008-.023a2.628 2.628 0 0 0-.07-.183l-.012-.024.09-.234-.355.012-.098.004c-3.226.066-5.309-1.305-5.309-3.454Zm2.024 6.648a.486.486 0 0 1 .594-.332c.258.066.41.328.347.586l-.004.012-.472 1.761-.067-.027a8.932 8.932 0 0 1-.84-.363l.438-1.625.004-.012Zm2.719-1.191a.488.488 0 0 1 .902-.086l.016.07.023.113.016.082-.004.02-.012.055v.011l-.664 2.461-.004.012a.488.488 0 0 1-.941-.254v-.012l.664-2.46.004-.012Zm-4.063-2.793.031-.075c.247.215.532.41.844.575l-.601 2.234-.004.012a.488.488 0 0 1-.942-.258l.004-.012.664-2.46.004-.016ZM4.97 11.859a.495.495 0 0 1 .597-.332c.254.07.407.332.344.59v.012l-.664 2.46-.004.013a.488.488 0 0 1-.941-.258v-.012l.664-2.46.004-.013Zm14.89-.558a.488.488 0 0 1 .941.254v.015l-.667 2.461v.012a.49.49 0 0 1-.945-.258l.003-.012.665-2.46.003-.012Zm-16.785-.344a8.922 8.922 0 0 1 1.043-3.273.49.49 0 0 1 .465.605l-.004.012-.664 2.46-.004.012a.492.492 0 0 1-.836.184Zm15.102-2.926a.496.496 0 0 1 .597-.332c.254.07.41.332.348.59l-.004.012-.664 2.46-.004.012a.488.488 0 0 1-.941-.257l.004-.012.664-2.461v-.012ZM7.008 5.36a.492.492 0 0 0-.594.332l-.004.012-.664 2.461-.004.012a.488.488 0 0 0 .942.258l.003-.012.665-2.461.003-.016a.488.488 0 0 0-.347-.586Zm8.535.465a.495.495 0 0 0-.598.332l-.004.012-.445 1.656c.289.142.565.31.824.5l.043.035.524-1.933v-.012a.491.491 0 0 0-.344-.59Zm-4.344-2.773a8.982 8.982 0 0 0-.93.133l-.066.011-.617 2.293-.004.012a.488.488 0 0 0 .941.254l.004-.012.664-2.46.004-.012a.484.484 0 0 0 .004-.22Zm6.11 1.699-.13.484-.003.012a.488.488 0 0 0 .941.254l.004-.012.016-.05a9.03 9.03 0 0 0-.77-.645l-.058-.043Zm-3.864-1.617-.234.87-.004.013a.488.488 0 0 0 .941.254l.004-.012.246-.918a8.924 8.924 0 0 0-.882-.195l-.07-.012Zm-.769 6.355a.625.625 0 1 0-.884.884.625.625 0 0 0 .884-.884Z" clip-rule="evenodd"/></svg>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M19 20H4a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h6l2 2h7c1.097 0 2 .903 2 2H4v10l2.14-8h17.07l-2.28 8.5c-.23.87-1.01 1.5-1.93 1.5z" fill="#42a5f5"/><g transform="matrix(.92681 0 0 .92681 2.4117 .28928)" fill="#bbdefb"><path d="m14.576 8.899c-0.64 0.142-1.272 0.34-1.865 0.639 0.014 0.524 0.047 1.026 0.116 1.535-0.23 0.147-0.473 0.274-0.688 0.447-0.219 0.168-0.442 0.329-0.64 0.526-0.4-0.266-0.816-0.508-1.245-0.725-0.464 0.5-0.899 1.04-1.254 1.644 0.267 0.432 0.546 0.837 0.847 1.221h8e-3v3.708l0.02 1e-3 2.273 0.219a0.244 0.244 0 0 1 0.221 0.227l0.07 1.003 1.983 0.141 0.137-0.926a0.245 0.245 0 0 1 0.242-0.209h2.398c0.121 0 0.224 0.089 0.242 0.209l0.137 0.926 1.983-0.141 0.07-1.003a0.247 0.247 0 0 1 0.221-0.227l2.272-0.219 0.02-1e-3v-0.296h1e-3v-3.411h8e-3c0.301-0.384 0.58-0.789 0.847-1.221a9.54 9.54 0 0 0-1.254-1.644c-0.431 0.217-0.85 0.463-1.245 0.724-0.198-0.197-0.421-0.358-0.64-0.526-0.215-0.173-0.457-0.299-0.687-0.447 0.068-0.51 0.102-1.012 0.116-1.535-0.593-0.299-1.226-0.496-1.866-0.639-0.256 0.429-0.489 0.894-0.693 1.349a4.646 4.646 0 0 0-0.726-0.058h-0.01c-0.243 0-0.486 0.02-0.726 0.058-0.204-0.455-0.437-0.92-0.693-1.349zm-1.798 5.424a1.3705 1.3705 0 1 1 0.074 2.74 1.3705 1.3705 0 0 1-0.074-2.74zm6.444 0a1.37 1.37 0 0 1 2e-3 2.74h-1e-3a1.37 1.37 0 0 1-1e-3 -2.74zm-3.222 0.801c0.244 0 0.441 0.18 0.441 0.401v1.261c0 0.221-0.198 0.401-0.441 0.401-0.244 0-0.441-0.179-0.441-0.401v-1.261c0-0.222 0.197-0.401 0.441-0.401z"/><path d="m20.104 18.582-0.07 1.009a0.243 0.243 0 0 1-0.227 0.227l-2.421 0.172-0.018 1e-3a0.245 0.245 0 0 1-0.242-0.209l-0.138-0.942h-1.976l-0.139 0.942a0.244 0.244 0 0 1-0.26 0.208l-2.421-0.173a0.247 0.247 0 0 1-0.227-0.227l-0.07-1.009-2.044-0.197 4e-3 0.508c0 2.159 2.738 3.196 6.14 3.208h8e-3c3.402-0.012 6.14-1.049 6.14-3.208l4e-3 -0.508z"/></g></svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M10 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" fill="#42a5f5"/>
|
|
4
|
+
<g transform="matrix(.92681 0 0 .92681 2.4119 .28928)" fill="#bbdefb">
|
|
5
|
+
<path d="m14.576 8.899c-0.64 0.142-1.272 0.34-1.865 0.639 0.014 0.524 0.047 1.026 0.116 1.535-0.23 0.147-0.473 0.274-0.688 0.447-0.219 0.168-0.442 0.329-0.64 0.526-0.4-0.266-0.816-0.508-1.245-0.725-0.464 0.5-0.899 1.04-1.254 1.644 0.267 0.432 0.546 0.837 0.847 1.221h8e-3v3.708l0.02 1e-3 2.273 0.219a0.244 0.244 0 0 1 0.221 0.227l0.07 1.003 1.983 0.141 0.137-0.926a0.245 0.245 0 0 1 0.242-0.209h2.398c0.121 0 0.224 0.089 0.242 0.209l0.137 0.926 1.983-0.141 0.07-1.003a0.247 0.247 0 0 1 0.221-0.227l2.272-0.219 0.02-1e-3v-0.296h1e-3v-3.411h8e-3c0.301-0.384 0.58-0.789 0.847-1.221a9.54 9.54 0 0 0-1.254-1.644c-0.431 0.217-0.85 0.463-1.245 0.724-0.198-0.197-0.421-0.358-0.64-0.526-0.215-0.173-0.457-0.299-0.687-0.447 0.068-0.51 0.102-1.012 0.116-1.535-0.593-0.299-1.226-0.496-1.866-0.639-0.256 0.429-0.489 0.894-0.693 1.349a4.646 4.646 0 0 0-0.726-0.058h-0.01c-0.243 0-0.486 0.02-0.726 0.058-0.204-0.455-0.437-0.92-0.693-1.349zm-1.798 5.424a1.3705 1.3705 0 1 1 0.074 2.74 1.3705 1.3705 0 0 1-0.074-2.74zm6.444 0a1.37 1.37 0 0 1 2e-3 2.74h-1e-3a1.37 1.37 0 0 1-1e-3 -2.74zm-3.222 0.801c0.244 0 0.441 0.18 0.441 0.401v1.261c0 0.221-0.198 0.401-0.441 0.401-0.244 0-0.441-0.179-0.441-0.401v-1.261c0-0.222 0.197-0.401 0.441-0.401z"/>
|
|
6
|
+
<path d="m20.104 18.582-0.07 1.009a0.243 0.243 0 0 1-0.227 0.227l-2.421 0.172-0.018 1e-3a0.245 0.245 0 0 1-0.242-0.209l-0.138-0.942h-1.976l-0.139 0.942a0.244 0.244 0 0 1-0.26 0.208l-2.421-0.173a0.247 0.247 0 0 1-0.227-0.227l-0.07-1.009-2.044-0.197 4e-3 0.508c0 2.159 2.738 3.196 6.14 3.208h8e-3c3.402-0.012 6.14-1.049 6.14-3.208l4e-3 -0.508z"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg enable-background="new 0 0 24 24" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M19,20H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h6l2,2h7c1.1,0,2,0.9,2,2H4v10l2.1-8h17.1l-2.3,8.5 C20.7,19.4,19.9,20,19,20z" fill="#78909c"/>
|
|
4
|
+
|
|
5
|
+
<g transform="matrix(.64627 0 0 .64627 9.6946 6.9578)" fill="#cfd8dc"><path d="m21.7 12.6c0.3-5.2-3.6-10.8-9.6-10.1-2.7 0.3-4.3 1.7-5 3.2-1.2 2.5 0.1 5.8 4 6.9 2.4 0.7 2.9 1.7 2.6 2.9-0.3 1.1-1.1 2.3-1.3 3.3-0.1 0.3-0.1 0.6-0.1 0.9 0.1 2.2 4.6 3.1 8.1-2.8 0.8-1.2 1.2-2.7 1.3-4.3z"/><path d="m6.2 11.4v-0.4c0-0.1 0-0.2-0.1-0.3-0.2-1-1-1.6-2-1.5s-1.7 0.9-1.8 1.9v0.5c0.1 1.1 1.1 1.9 2.1 1.8 1.1-0.2 1.8-1 1.8-2z"/><path d="m10.6 16.7c-0.4-1.6-2-2.6-3.6-2.1-1.3 0.3-2.1 1.4-2.2 2.7-0.1 0.4 0 0.8 0.1 1.2 0.4 1.6 2.1 2.6 3.7 2.1 1.4-0.4 2.3-1.7 2.2-3.2-0.1-0.2-0.1-0.4-0.2-0.7z"/></g></svg>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M10 4H4c-1.11 0-2 .89-2 2v12c0 1.097.903 2 2 2h16c1.097 0 2-.903 2-2V8a2 2 0 0 0-2-2h-8l-2-2z" fill="#78909c" fill-rule="nonzero"/><g transform="matrix(.64627 0 0 .64627 9.6944 6.9581)" fill="#cfd8dc"><path d="m21.7 12.6c0.3-5.2-3.6-10.8-9.6-10.1-2.7 0.3-4.3 1.7-5 3.2-1.2 2.5 0.1 5.8 4 6.9 2.4 0.7 2.9 1.7 2.6 2.9-0.3 1.1-1.1 2.3-1.3 3.3-0.1 0.3-0.1 0.6-0.1 0.9 0.1 2.2 4.6 3.1 8.1-2.8 0.8-1.2 1.2-2.7 1.3-4.3z"/><path d="m6.2 11.4v-0.4c0-0.1 0-0.2-0.1-0.3-0.2-1-1-1.6-2-1.5s-1.7 0.9-1.8 1.9v0.5c0.1 1.1 1.1 1.9 2.1 1.8 1.1-0.2 1.8-1 1.8-2z"/><path d="m10.6 16.7c-0.4-1.6-2-2.6-3.6-2.1-1.3 0.3-2.1 1.4-2.2 2.7-0.1 0.4 0 0.8 0.1 1.2 0.4 1.6 2.1 2.6 3.7 2.1 1.4-0.4 2.3-1.7 2.2-3.2-0.1-0.2-0.1-0.4-0.2-0.7z"/></g></svg>
|
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M19 20H4a2 2 0 0 1-2-2V6c0-1.11.89-2 2-2h6l2 2h7c1.097 0 2 .903 2 2H4v10l2.14-8h17.07l-2.28 8.5c-.23.87-1.01 1.5-1.93 1.5z" fill="#26a69a"/>
|
|
4
|
+
<path transform="matrix(.11551 0 0 .11551 8.943 7.752)" d="m59.673-4.058e-4 -0.72707 0.72707v26.327l0.72707 0.74397h8.7924l0.74397-0.74397v-26.327l-0.74397-0.72707h-8.7924zm-26.293 18.582-6.0194 6.0194v1.2174l9.2151 9.232h6.3914l0.84542-0.86233v-6.3914l-9.2151-9.2151h-1.2174zm14.152 19.445-0.72707 0.74397v35.085l0.72707 0.74398h8.7924l0.72707-0.74398v-26.58l0.4058-0.42271c2.7737-0.1089 5.374-0.17786 7.6426-0.11836 4.4083 0.099 5.8503 2.9389 5.8503 6.5943v20.544l0.72707 0.72707h8.7755l0.74397-0.72707v-21.947c0-7.6778-6.2214-13.899-13.899-13.899h-19.766zm-46.803 13.155-0.72707 0.72707v8.8093l0.72707 0.72706h35.119l0.72707-0.72706v-8.8093l-0.72707-0.72707h-35.119zm91.441 0-0.74397 0.72707v8.8093l0.74397 0.72706h35.102l0.74398-0.72706v-8.8093l-0.74398-0.72707h-35.102zm-55.595 26.411-9.2151 9.2151v1.2174l6.0194 6.0363h1.2174l9.2151-9.232v-6.3914l-0.84542-0.84542h-6.3914zm23.097 7.2368-0.72707 0.74397v26.327l0.72707 0.74397h8.7924l0.74397-0.74397v-26.327l-0.74397-0.74397h-8.7924z" fill="#a7ffeb"/>
|
|
5
|
+
</svg>
|
package/icons/folder-netlify.svg
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><defs><clipPath id="clipPath23253"><rect x="1.461e-6" y="-2.6811e-7" width="128" height="112.64" fill="#fff"/></clipPath></defs><path d="M10 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z" fill="#26a69a"/><path transform="matrix(.11551 0 0 .11551 8.9425 7.7517)" d="m59.677 0.0024848-0.72707 0.72707v26.327l0.72707 0.74397h8.7924l0.72707-0.74397v-26.327l-0.72707-0.72707h-8.7924zm-26.293 18.582-6.0363 6.0194v1.2174l9.232 9.2151h6.3745l0.86233-0.84543v-6.3914l-9.2151-9.2151h-1.2174zm14.152 19.445-0.72707 0.72706v35.102l0.72707 0.74397h8.7755l0.74397-0.74397v-26.58l0.4058-0.43962c2.7737-0.1089 5.374-0.16095 7.6426-0.10145 4.4083 0.098999 5.8503 2.9389 5.8503 6.5943v20.544l0.72707 0.72706h8.7755l0.72706-0.72706v-21.947c0-7.6778-6.2214-13.899-13.899-13.899h-19.749zm-46.803 13.155-0.74397 0.72706v8.8093l0.74397 0.72707h35.119l0.72707-0.72707v-8.8093l-0.72707-0.72706h-35.119zm91.424 0-0.72707 0.72706v8.8093l0.72707 0.72707h35.119l0.74398-0.72707v-8.8093l-0.74398-0.72706h-35.119zm-55.578 26.411-9.232 9.2151v1.2005l6.0363 6.0363h1.2174l9.2151-9.2151v-6.3914l-0.86233-0.84542h-6.3745zm23.097 7.2368-0.72707 0.74398v26.327l0.72707 0.72706h8.7924l0.72707-0.72706v-26.327l-0.72707-0.74398h-8.7924z" clip-path="url(#clipPath23253)" fill="#a7ffeb"/></svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M19,20H4c-1.105,0-2-0.895-2-2V6c0-1.11,0.89-2,2-2h6l2,2h7c1.097,0,2,0.903,2,2H4v10l2.14-8h17.07 l-2.28,8.5C20.7,19.37,19.92,20,19,20z" fill="#ff9800"/>
|
|
4
|
+
<g transform="matrix(.87402 0 0 .87402 2.8627 .76736)" fill="#fff3e0">
|
|
5
|
+
<path class="st1" d="m22.583 11.978-4.87-2.789c-0.441-0.253-0.983-0.253-1.424 0l-4.87 2.789c-0.281 0.161-0.494 0.409-0.614 0.7-0.07 0.17-0.107 0.354-0.107 0.544v5.557c0 0.514 0.266 0.941 0.712 1.197l0.69 0.393 0.021-6.519c0-0.138 0.03-0.281 0.077-0.406 0.092-0.226 0.262-0.432 0.481-0.557l3.771-2.159c0.342-0.196 0.761-0.196 1.103 0l3.771 2.159c0.263 0.151 0.45 0.401 0.523 0.687 0.023 0.089 0.035 0.181 0.035 0.276v4.303c0 0.398-0.213 0.765-0.558 0.963l-3.771 2.159c-0.172 0.099-0.364 0.147-0.556 0.146v1.579c0.246 0 0.494-0.063 0.714-0.189l4.87-2.789c0.446-0.255 0.721-0.73 0.721-1.244v-5.556c0-0.132-0.018-0.261-0.053-0.384-0.097-0.359-0.335-0.67-0.666-0.86z"/>
|
|
6
|
+
<path class="st1" d="m17.396 19.782 2.705-1.549c0.248-0.142 0.4-0.405 0.4-0.691v-3.085c0-0.065-8e-3 -0.128-0.023-0.19-0.051-0.209-0.186-0.391-0.377-0.501l-2.705-1.548c-0.245-0.14-0.546-0.14-0.791 0l-2.704 1.548c-0.17 0.098-0.296 0.253-0.358 0.432-0.026 0.081-0.043 0.172-0.043 0.259l-0.01 6.696 1.443 0.81v-3.138l1.672 0.957c0.12 0.069 0.254 0.104 0.388 0.105 0.139 2e-3 0.278-0.033 0.403-0.105zm-2.236-2.456c-0.147-0.084-0.238-0.241-0.238-0.41v-1.832c0-0.056 0.01-0.11 0.028-0.161 0.038-0.104 0.111-0.193 0.21-0.249l1.606-0.919c0.145-0.083 0.324-0.083 0.47 0l1.606 0.919c0.118 0.068 0.2 0.182 0.227 0.312 5e-3 0.028 0.01 0.069 0.01 0.098v1.832c0 0.169-0.091 0.326-0.238 0.41l-1.606 0.919c-0.073 0.042-0.154 0.063-0.235 0.063s-0.162-0.021-0.235-0.062z"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M10,4H4C2.89,4,2,4.89,2,6v12c0,1.097,0.903,2,2,2h16c1.097,0,2-0.903,2-2V8c0-1.105-0.895-2-2-2h-8L10,4z" fill="#ff9800"/><g transform="matrix(.87402 0 0 .87402 2.8627 .76743)" fill="#fff3e0"><path class="st1" d="m22.583 11.978-4.87-2.789c-0.441-0.253-0.983-0.253-1.424 0l-4.87 2.789c-0.281 0.161-0.494 0.409-0.614 0.7-0.07 0.17-0.107 0.354-0.107 0.544v5.557c0 0.514 0.266 0.941 0.712 1.197l0.69 0.393 0.021-6.519c0-0.138 0.03-0.281 0.077-0.406 0.092-0.226 0.262-0.432 0.481-0.557l3.771-2.159c0.342-0.196 0.761-0.196 1.103 0l3.771 2.159c0.263 0.151 0.45 0.401 0.523 0.687 0.023 0.089 0.035 0.181 0.035 0.276v4.303c0 0.398-0.213 0.765-0.558 0.963l-3.771 2.159c-0.172 0.099-0.364 0.147-0.556 0.146v1.579c0.246 0 0.494-0.063 0.714-0.189l4.87-2.789c0.446-0.255 0.721-0.73 0.721-1.244v-5.556c0-0.132-0.018-0.261-0.053-0.384-0.097-0.359-0.335-0.67-0.666-0.86z"/><path class="st1" d="m17.396 19.782 2.705-1.549c0.248-0.142 0.4-0.405 0.4-0.691v-3.085c0-0.065-8e-3 -0.128-0.023-0.19-0.051-0.209-0.186-0.391-0.377-0.501l-2.705-1.548c-0.245-0.14-0.546-0.14-0.791 0l-2.704 1.548c-0.17 0.098-0.296 0.253-0.358 0.432-0.026 0.081-0.043 0.172-0.043 0.259l-0.01 6.696 1.443 0.81v-3.138l1.672 0.957c0.12 0.069 0.254 0.104 0.388 0.105 0.139 2e-3 0.278-0.033 0.403-0.105zm-2.236-2.456c-0.147-0.084-0.238-0.241-0.238-0.41v-1.832c0-0.056 0.01-0.11 0.028-0.161 0.038-0.104 0.111-0.193 0.21-0.249l1.606-0.919c0.145-0.083 0.324-0.083 0.47 0l1.606 0.919c0.118 0.068 0.2 0.182 0.227 0.312 5e-3 0.028 0.01 0.069 0.01 0.098v1.832c0 0.169-0.091 0.326-0.238 0.41l-1.606 0.919c-0.073 0.042-0.154 0.063-0.235 0.063s-0.162-0.021-0.235-0.062z"/></g></svg>
|
package/icons/godot-assets.svg
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g transform="matrix(.94701 0 0 .94701 .42389 .42436)" fill="#66bb6a">
|
|
4
|
+
<path d="m6.576 1.399c-0.64 0.142-1.272 0.34-1.865 0.639 0.014 0.524 0.047 1.026 0.116 1.535-0.23 0.147-0.473 0.274-0.688 0.447-0.219 0.168-0.442 0.329-0.64 0.526a12.042 12.042 0 0 0-1.245-0.725c-0.464 0.5-0.899 1.04-1.254 1.644 0.267 0.432 0.546 0.837 0.847 1.221h8e-3v3.708l0.02 1e-3 2.273 0.219a0.245 0.245 0 0 1 0.221 0.227l0.07 1.003 1.983 0.141 0.137-0.926a0.245 0.245 0 0 1 0.242-0.209h2.398c0.121 0 0.224 0.089 0.242 0.209l0.137 0.926 1.983-0.141 0.07-1.003a0.246 0.246 0 0 1 0.221-0.227l2.272-0.219 0.02-1e-3v-0.296h1e-3v-3.411h8e-3c0.301-0.384 0.58-0.789 0.847-1.221a9.545 9.545 0 0 0-1.254-1.644c-0.431 0.217-0.85 0.463-1.245 0.724-0.198-0.197-0.421-0.358-0.64-0.526-0.215-0.173-0.457-0.299-0.687-0.447 0.068-0.51 0.102-1.012 0.116-1.535-0.593-0.299-1.226-0.496-1.866-0.639-0.256 0.429-0.489 0.894-0.693 1.349a4.665 4.665 0 0 0-0.726-0.058h-0.01a4.655 4.655 0 0 0-0.726 0.058c-0.204-0.455-0.437-0.92-0.693-1.349zm-1.798 5.424a1.37 1.37 0 1 1 1e-3 2.739 1.37 1.37 0 0 1-1e-3 -2.739zm6.444 0a1.37 1.37 0 1 1 0 2.74 1.37 1.37 0 0 1 0-2.74zm-3.222 0.801c0.244 0 0.441 0.18 0.441 0.401v1.261c0 0.221-0.198 0.401-0.441 0.401-0.244 0-0.441-0.179-0.441-0.401v-1.261c0-0.222 0.197-0.401 0.441-0.401z"/>
|
|
5
|
+
<path d="m12.104 11.082-0.07 1.009a0.244 0.244 0 0 1-0.227 0.227l-2.421 0.172-0.018 1e-3a0.245 0.245 0 0 1-0.242-0.209l-0.138-0.942h-1.976l-0.139 0.942a0.244 0.244 0 0 1-0.26 0.208l-2.421-0.173a0.246 0.246 0 0 1-0.227-0.227l-0.07-1.009-2.044-0.197 4e-3 0.508c0 2.159 2.738 3.196 6.14 3.208h8e-3c3.402-0.012 6.14-1.049 6.14-3.208l4e-3 -0.508z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
package/icons/godot.svg
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g transform="matrix(.94701 0 0 .94701 .42389 .42436)" fill="#42a5f5">
|
|
4
|
+
<path d="m6.576 1.399c-0.64 0.142-1.272 0.34-1.865 0.639 0.014 0.524 0.047 1.026 0.116 1.535-0.23 0.147-0.473 0.274-0.688 0.447-0.219 0.168-0.442 0.329-0.64 0.526a12.042 12.042 0 0 0-1.245-0.725c-0.464 0.5-0.899 1.04-1.254 1.644 0.267 0.432 0.546 0.837 0.847 1.221h8e-3v3.708l0.02 1e-3 2.273 0.219a0.245 0.245 0 0 1 0.221 0.227l0.07 1.003 1.983 0.141 0.137-0.926a0.245 0.245 0 0 1 0.242-0.209h2.398c0.121 0 0.224 0.089 0.242 0.209l0.137 0.926 1.983-0.141 0.07-1.003a0.246 0.246 0 0 1 0.221-0.227l2.272-0.219 0.02-1e-3v-0.296h1e-3v-3.411h8e-3c0.301-0.384 0.58-0.789 0.847-1.221a9.545 9.545 0 0 0-1.254-1.644c-0.431 0.217-0.85 0.463-1.245 0.724-0.198-0.197-0.421-0.358-0.64-0.526-0.215-0.173-0.457-0.299-0.687-0.447 0.068-0.51 0.102-1.012 0.116-1.535-0.593-0.299-1.226-0.496-1.866-0.639-0.256 0.429-0.489 0.894-0.693 1.349a4.665 4.665 0 0 0-0.726-0.058h-0.01a4.655 4.655 0 0 0-0.726 0.058c-0.204-0.455-0.437-0.92-0.693-1.349zm-1.798 5.424a1.37 1.37 0 1 1 1e-3 2.739 1.37 1.37 0 0 1-1e-3 -2.739zm6.444 0a1.37 1.37 0 1 1 0 2.74 1.37 1.37 0 0 1 0-2.74zm-3.222 0.801c0.244 0 0.441 0.18 0.441 0.401v1.261c0 0.221-0.198 0.401-0.441 0.401-0.244 0-0.441-0.179-0.441-0.401v-1.261c0-0.222 0.197-0.401 0.441-0.401z"/>
|
|
5
|
+
<path d="m12.104 11.082-0.07 1.009a0.244 0.244 0 0 1-0.227 0.227l-2.421 0.172-0.018 1e-3a0.245 0.245 0 0 1-0.242-0.209l-0.138-0.942h-1.976l-0.139 0.942a0.244 0.244 0 0 1-0.26 0.208l-2.421-0.173a0.246 0.246 0 0 1-0.227-0.227l-0.07-1.009-2.044-0.197 4e-3 0.508c0 2.159 2.738 3.196 6.14 3.208h8e-3c3.402-0.012 6.14-1.049 6.14-3.208l4e-3 -0.508z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg enable-background="new 0 0 24 24" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<g transform="matrix(.9585 0 0 .9585 .49024 .58381)" fill="#78909c"><path d="m21.7 12.6c0.3-5.2-3.6-10.8-9.6-10.1-2.7 0.3-4.3 1.7-5 3.2-1.2 2.5 0.1 5.8 4 6.9 2.4 0.7 2.9 1.7 2.6 2.9-0.3 1.1-1.1 2.3-1.3 3.3-0.1 0.3-0.1 0.6-0.1 0.9 0.1 2.2 4.6 3.1 8.1-2.8 0.8-1.2 1.2-2.7 1.3-4.3z"/><path d="m6.2 11.4v-0.1-0.3c0-0.1 0-0.2-0.1-0.3-0.2-1-1-1.6-2-1.5s-1.7 0.9-1.8 1.9v0.5c0.1 1.1 1.1 1.9 2.1 1.8 1.1-0.2 1.8-1 1.8-2z"/><path d="m10.6 16.7c-0.4-1.6-2-2.6-3.6-2.1-1.3 0.3-2.1 1.4-2.2 2.7-0.1 0.4 0 0.8 0.1 1.2 0.4 1.6 2.1 2.6 3.7 2.1 1.4-0.4 2.3-1.7 2.2-3.2-0.1-0.2-0.1-0.4-0.2-0.7z"/></g>
|
|
6
|
+
</svg>
|
package/icons/netlify.svg
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g transform="matrix(.17343 0 0 .17343 .90067 2.233)">
|
|
4
|
+
<path d="m59.675-0.0034858-0.73203 0.73203v26.33l0.73203 0.74329h8.7956l0.73203-0.74329v-26.33l-0.73203-0.73203h-8.7956zm-26.297 18.582-6.0251 6.0251v1.2163l9.2235 9.2235h6.3855l0.85591-0.85591v-6.3855l-9.2235-9.2235h-1.2163zm-32.648 32.603-0.73203 0.73203v8.8068l0.73203 0.73203h35.115l0.73203-0.73203v-8.8068l-0.73203-0.73203h-35.115zm91.436 0-0.73203 0.73203v8.8068l0.73203 0.73203h35.115l0.73202-0.73203v-8.8068l-0.73202-0.73203h-35.115zm-55.589 26.409-9.2235 9.2235v1.205l6.0251 6.0364h1.2163l9.2235-9.2235v-6.3968l-0.85591-0.84465h-6.3855zm23.098 7.2414-0.73203 0.74329v26.33l0.73203 0.73203h8.7956l0.73203-0.73203v-26.33l-0.73203-0.74329h-8.7956z" fill="#00bfa5"/>
|
|
5
|
+
<path d="m80.459 74.605h-8.777l-0.7331-0.733v-20.546c0-3.6554-1.4364-6.4887-5.8447-6.5877-2.2686-0.0595-4.8641 0-7.6378 0.1089l-0.4161 0.426v26.589l-0.7331 0.733h-8.777l-0.7331-0.733v-35.098l0.7331-0.7331h19.753c7.6774 0 13.899 6.2212 13.899 13.899v21.943z" fill="#cfd8dc"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg fill="none" version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g transform="matrix(.17343 0 0 .17343 .90067 2.233)">
|
|
4
|
+
<path d="m59.675-0.0034858-0.73203 0.73203v26.33l0.73203 0.74329h8.7956l0.73203-0.74329v-26.33l-0.73203-0.73203h-8.7956zm-26.297 18.582-6.0251 6.0251v1.2163l9.2235 9.2235h6.3855l0.85591-0.85591v-6.3855l-9.2235-9.2235h-1.2163zm-32.648 32.603-0.73203 0.73203v8.8068l0.73203 0.73203h35.115l0.73203-0.73203v-8.8068l-0.73203-0.73203h-35.115zm91.436 0-0.73203 0.73203v8.8068l0.73203 0.73203h35.115l0.73202-0.73203v-8.8068l-0.73202-0.73203h-35.115zm-55.589 26.409-9.2235 9.2235v1.205l6.0251 6.0364h1.2163l9.2235-9.2235v-6.3968l-0.85591-0.84465h-6.3855zm23.098 7.2414-0.73203 0.74329v26.33l0.73203 0.73203h8.7956l0.73203-0.73203v-26.33l-0.73203-0.74329h-8.7956z" fill="#00bfa5"/>
|
|
5
|
+
<path d="m80.459 74.605h-8.777l-0.7331-0.733v-20.546c0-3.6554-1.4364-6.4887-5.8447-6.5877-2.2686-0.0595-4.8641 0-7.6378 0.1089l-0.4161 0.426v26.589l-0.7331 0.733h-8.777l-0.7331-0.733v-35.098l0.7331-0.7331h19.753c7.6774 0 13.899 6.2212 13.899 13.899v21.943z" fill="#00897b"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
package/icons/objective-c.svg
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="m17.426 16.84 0.51209 2.975c-0.31701 0.1707-0.82909 0.3292-1.5119 0.47551-0.69497 0.1585-1.5119 0.24385-2.4507 0.24385-2.6945-0.04877-4.7185-0.85348-6.0719-2.3897-1.3899-1.5485-2.0483-3.5114-2.0483-5.889 0.04877-2.8165 0.87786-4.9746 2.4873-6.4864 1.5606-1.5241 3.5602-2.3044 5.9743-2.3044 0.91444 0 1.707 0.085348 2.3654 0.23166 0.6584 0.14631 1.1461 0.30481 1.4631 0.4877l-0.73155 3.0359-1.268-0.41455c-0.4877-0.12193-1.0608-0.18289-1.707-0.18289-1.4021-0.012192-2.5726 0.43893-3.4871 1.3412-0.92663 0.89005-1.3899 2.2556-1.4387 4.0723 0.012193 1.6582 0.45112 2.9506 1.3168 3.9016 0.86567 0.93882 2.0727 1.4265 3.6456 1.4387l1.6216-0.14631c0.52428-0.09754 0.96321-0.23166 1.329-0.39016z" fill="#ffab40" stroke-width="1.2192"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<g transform="matrix(.92694 0 0 .92694 .58491 .58479)" fill="#ff9800">
|
|
4
|
+
<path d="m13.582 3.978-4.87-2.789c-0.441-0.253-0.983-0.253-1.424 0l-4.87 2.789c-0.281 0.161-0.494 0.409-0.614 0.7-0.07 0.17-0.107 0.354-0.107 0.544v5.557c0 0.514 0.266 0.941 0.712 1.197l0.69 0.393 0.021-6.519c0-0.138 0.03-0.281 0.077-0.406 0.092-0.226 0.262-0.432 0.481-0.557l3.771-2.159c0.342-0.196 0.761-0.196 1.103 0l3.771 2.159c0.263 0.151 0.45 0.401 0.523 0.687 0.023 0.089 0.035 0.181 0.035 0.276v4.303c0 0.398-0.213 0.765-0.558 0.963l-3.771 2.159c-0.172 0.099-0.364 0.147-0.556 0.146l1e-3 1.579c0.246 0 0.494-0.063 0.714-0.189l4.87-2.789c0.446-0.255 0.721-0.73 0.721-1.244v-5.556c0-0.132-0.018-0.261-0.053-0.384-0.098-0.359-0.335-0.67-0.667-0.86z"/>
|
|
5
|
+
<path d="m8.395 11.782 2.705-1.549c0.248-0.142 0.4-0.405 0.4-0.691v-3.085c0-0.065-8e-3 -0.128-0.023-0.19-0.051-0.209-0.186-0.391-0.377-0.501l-2.705-1.548c-0.245-0.14-0.546-0.14-0.791 0l-2.704 1.548c-0.17 0.098-0.296 0.253-0.358 0.432-0.026 0.081-0.043 0.172-0.043 0.259l-0.01 6.696 1.443 0.81v-3.138l1.672 0.957c0.12 0.069 0.254 0.104 0.388 0.105 0.139 2e-3 0.279-0.033 0.403-0.105zm-2.235-2.456c-0.147-0.084-0.238-0.241-0.238-0.41v-1.832c0-0.056 0.01-0.11 0.028-0.161 0.038-0.104 0.111-0.193 0.21-0.249l1.606-0.919c0.145-0.083 0.324-0.083 0.47 0l1.606 0.919c0.118 0.068 0.2 0.182 0.227 0.312 5e-3 0.028 0.01 0.069 0.01 0.098v1.832c0 0.169-0.091 0.326-0.238 0.41l-1.606 0.919c-0.073 0.042-0.154 0.063-0.235 0.063s-0.162-0.021-0.235-0.062z"/>
|
|
6
|
+
</g>
|
|
7
|
+
</svg>
|
package/icons/rc.svg
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(.93861 0 0 .93861 .73669 .73669)" fill="#0288d1"><path d="m4 6h-2v14c0 1.105 0.895 2 2 2h14v-2h-14z"/><path d="m20 2h-12c-1.105 0-2 0.895-2 2v12c0 1.105 0.895 2 2 2h12c1.105 0 2-0.895 2-2v-12c0-1.105-0.895-2-2-2zm-6.823 10.769c0.609 0.66 1.457 1.003 2.563 1.011l1.14-0.103c0.369-0.069 0.677-0.163 0.934-0.274l0.36 2.091c-0.223 0.12-0.583 0.231-1.063 0.334-0.488 0.112-1.062 0.172-1.722 0.172-1.894-0.034-3.317-0.6-4.269-1.68-0.977-1.089-1.44-2.469-1.44-4.14 0.034-1.98 0.617-3.497 1.749-4.56 1.097-1.071 2.502-1.62 4.2-1.62 0.643 0 1.2 0.06 1.663 0.163s0.806 0.214 1.029 0.343l-0.515 2.134-0.891-0.291c-0.343-0.086-0.746-0.129-1.2-0.129-0.986-9e-3 -1.809 0.309-2.451 0.943-0.651 0.626-0.977 1.586-1.011 2.863 7e-3 1.165 0.316 2.074 0.924 2.743z"/></g></svg>
|
package/icons/typst.svg
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="48" height="48" version="1.1" viewBox="0 0 12.7 12.7" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="m6.6376 8.9219c0 0.48989 0.070289 0.81862 0.21087 0.98622 0.14058 0.16759 0.39619 0.25139 0.7668 0.25139 0.38342 0 0.87547-0.19338 1.4761-0.58013l0.38342 0.63814c-1.1247 0.9411-2.0513 1.4116-2.7797 1.4116s-1.3036-0.17404-1.7253-0.52212c-0.42175-0.36097-0.63262-0.99266-0.63262-1.8951v-5.0664h-0.95853l-0.15336-0.71549 1.1119-0.34807v-0.94754l2.3005-1.0636v2.1271l2.2621-0.17404-0.2109 1.2569-2.0512-0.07735z" fill="#0097a7" stroke-width=".43261"/></svg>
|
package/images/contributors.png
CHANGED
|
Binary file
|
package/images/fileIcons.png
CHANGED
|
Binary file
|
package/images/folderIcons.png
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "material-icon-theme",
|
|
3
3
|
"displayName": "Material Icon Theme",
|
|
4
4
|
"description": "Material Design Icons for Visual Studio Code",
|
|
5
|
-
"version": "4.
|
|
5
|
+
"version": "4.26.0",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "npm run compile:dev && npm run generateJson",
|
|
8
8
|
"check": "ts-node ./src/scripts/icons/checks",
|
|
@@ -107,6 +107,11 @@
|
|
|
107
107
|
"title": "%command.changeFolderColor%",
|
|
108
108
|
"enablement": "!isWeb"
|
|
109
109
|
},
|
|
110
|
+
{
|
|
111
|
+
"command": "material-icon-theme.changeFileColor",
|
|
112
|
+
"title": "%command.changeFileColor%",
|
|
113
|
+
"enablement": "!isWeb"
|
|
114
|
+
},
|
|
110
115
|
{
|
|
111
116
|
"command": "material-icon-theme.restoreDefaultConfig",
|
|
112
117
|
"title": "%command.restoreDefaultConfig%",
|
|
@@ -198,6 +203,12 @@
|
|
|
198
203
|
"pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
|
|
199
204
|
"description": "%configuration.folders.color%"
|
|
200
205
|
},
|
|
206
|
+
"material-icon-theme.files.color": {
|
|
207
|
+
"type": "string",
|
|
208
|
+
"default": "#90a4ae",
|
|
209
|
+
"pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
|
|
210
|
+
"description": "%configuration.files.color%"
|
|
211
|
+
},
|
|
201
212
|
"material-icon-theme.opacity": {
|
|
202
213
|
"type": "number",
|
|
203
214
|
"default": 1,
|
package/package.nls.de.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"command.toggleIconPacks": "Material Icons: Icon Packs konfigurieren",
|
|
4
4
|
"command.changeFolderTheme": "Material Icons: Ordner Thema auswählen",
|
|
5
5
|
"command.changeFolderColor": "Material Icons: Ordner Farbe ändern",
|
|
6
|
+
"command.changeFileColor": "Material Icons: Datei Farbe ändern",
|
|
6
7
|
"command.restoreDefaultConfig": "Material Icons: Standard Einstellungen wiederherstellen",
|
|
7
8
|
"command.toggleExplorerArrows": "Material Icons: Explorer Pfeilsymbole umschalten",
|
|
8
9
|
"command.changeOpacity": "Material Icons: Deckkraft verändern",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"configuration.folders.theme.classic": "Klassische Ordner Icons auswählen.",
|
|
27
28
|
"configuration.folders.theme.none": "Keine Ordner Icons.",
|
|
28
29
|
"configuration.folders.color": "Farbe der Ordner Icons verändern.",
|
|
30
|
+
"configuration.files.color": "Farbe der Datei Icons verändern.",
|
|
29
31
|
"configuration.hidesExplorerArrows": "Pfeile vor den Ordnern deaktivieren.",
|
|
30
32
|
"configuration.opacity": "Deckkraft der Icons anpassen.",
|
|
31
33
|
"configuration.saturation": "Sättigung der Icons anpassen."
|
package/package.nls.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"command.toggleIconPacks": "Material Icons: Configure Icon Packs",
|
|
4
4
|
"command.changeFolderTheme": "Material Icons: Change Folder Theme",
|
|
5
5
|
"command.changeFolderColor": "Material Icons: Change Folder Color",
|
|
6
|
+
"command.changeFileColor": "Material Icons: Change File Color",
|
|
6
7
|
"command.restoreDefaultConfig": "Material Icons: Restore Default Configuration",
|
|
7
8
|
"command.toggleExplorerArrows": "Material Icons: Toggle Explorer Arrows",
|
|
8
9
|
"command.changeOpacity": "Material Icons: Change Opacity",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"configuration.folders.theme.classic": "Select classic folder icons.",
|
|
27
28
|
"configuration.folders.theme.none": "No folder icons.",
|
|
28
29
|
"configuration.folders.color": "Change the color of the folder icons.",
|
|
30
|
+
"configuration.files.color": "Change the color of the file icons.",
|
|
29
31
|
"configuration.hidesExplorerArrows": "Hide explorer arrows before folder.",
|
|
30
32
|
"configuration.opacity": "Change the opacity of the icons.",
|
|
31
33
|
"configuration.saturation": "Change the saturation of the icons."
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { QuickPickItem, window as codeWindow } from 'vscode';
|
|
2
|
+
import { getMaterialIconsJSON, setThemeConfig } from '../helpers';
|
|
3
|
+
import { translate } from '../i18n';
|
|
4
|
+
import { getDefaultIconOptions, validateHEXColorCode } from '../icons';
|
|
5
|
+
|
|
6
|
+
interface FileColor {
|
|
7
|
+
label: string;
|
|
8
|
+
hex: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const iconPalette: FileColor[] = [
|
|
12
|
+
{ label: 'Grey (Default)', hex: '#90a4ae' },
|
|
13
|
+
{ label: 'Blue', hex: '#42a5f5' },
|
|
14
|
+
{ label: 'Green', hex: '#7CB342' },
|
|
15
|
+
{ label: 'Teal', hex: '#26A69A' },
|
|
16
|
+
{ label: 'Red', hex: '#EF5350' },
|
|
17
|
+
{ label: 'Orange', hex: '#FF7043' },
|
|
18
|
+
{ label: 'Yellow', hex: '#FDD835' },
|
|
19
|
+
{ label: 'Custom Color', hex: 'Custom HEX Code' },
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
/** Command to toggle the file icons. */
|
|
23
|
+
export const changeFileColor = async () => {
|
|
24
|
+
try {
|
|
25
|
+
const status = checkFileColorStatus();
|
|
26
|
+
const response = await showQuickPickItems(status);
|
|
27
|
+
if (response) {
|
|
28
|
+
handleQuickPickActions(response);
|
|
29
|
+
}
|
|
30
|
+
} catch (error) {
|
|
31
|
+
console.error(error);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/** Show QuickPick items to select preferred color for the file icons. */
|
|
36
|
+
const showQuickPickItems = (currentColor: string) => {
|
|
37
|
+
const options = iconPalette.map(
|
|
38
|
+
(color): QuickPickItem => ({
|
|
39
|
+
description: color.label,
|
|
40
|
+
label: isColorActive(color, currentColor) ? '\u2714' : '\u25FB',
|
|
41
|
+
})
|
|
42
|
+
);
|
|
43
|
+
|
|
44
|
+
return codeWindow.showQuickPick(options, {
|
|
45
|
+
placeHolder: translate('colorSelect.color'),
|
|
46
|
+
ignoreFocusOut: false,
|
|
47
|
+
matchOnDescription: true,
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** Handle the actions from the QuickPick. */
|
|
52
|
+
const handleQuickPickActions = async (value: QuickPickItem) => {
|
|
53
|
+
if (!value || !value.description) return;
|
|
54
|
+
if (value.description === 'Custom Color') {
|
|
55
|
+
const value = await codeWindow.showInputBox({
|
|
56
|
+
placeHolder: translate('colorSelect.hexCode'),
|
|
57
|
+
ignoreFocusOut: true,
|
|
58
|
+
validateInput: validateColorInput,
|
|
59
|
+
});
|
|
60
|
+
if (value) {
|
|
61
|
+
setColorConfig(value);
|
|
62
|
+
}
|
|
63
|
+
} else {
|
|
64
|
+
const hexCode = iconPalette.find((c) => c.label === value.description)?.hex;
|
|
65
|
+
if (hexCode) {
|
|
66
|
+
setColorConfig(hexCode);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const validateColorInput = (colorInput: string) => {
|
|
72
|
+
if (!validateHEXColorCode(colorInput)) {
|
|
73
|
+
return translate('colorSelect.wrongHexCode');
|
|
74
|
+
}
|
|
75
|
+
return undefined;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/** Check status of the file color */
|
|
79
|
+
export const checkFileColorStatus = (): string => {
|
|
80
|
+
const defaultOptions = getDefaultIconOptions();
|
|
81
|
+
const config = getMaterialIconsJSON();
|
|
82
|
+
return config?.options?.files?.color ?? defaultOptions.files.color!;
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const setColorConfig = (value: string) => {
|
|
86
|
+
setThemeConfig('files.color', value.toLowerCase(), true);
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
const isColorActive = (color: FileColor, currentColor: string): boolean => {
|
|
90
|
+
if (color.label === 'Custom Color') {
|
|
91
|
+
return !iconPalette.some(
|
|
92
|
+
(c) => c.hex.toLowerCase() === currentColor.toLowerCase()
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
return color.hex.toLowerCase() === currentColor.toLowerCase();
|
|
96
|
+
};
|
|
@@ -42,7 +42,7 @@ const showQuickPickItems = (currentColor: string) => {
|
|
|
42
42
|
);
|
|
43
43
|
|
|
44
44
|
return codeWindow.showQuickPick(options, {
|
|
45
|
-
placeHolder: translate('
|
|
45
|
+
placeHolder: translate('colorSelect.color'),
|
|
46
46
|
ignoreFocusOut: false,
|
|
47
47
|
matchOnDescription: true,
|
|
48
48
|
});
|
|
@@ -53,7 +53,7 @@ const handleQuickPickActions = async (value: QuickPickItem) => {
|
|
|
53
53
|
if (!value || !value.description) return;
|
|
54
54
|
if (value.description === 'Custom Color') {
|
|
55
55
|
const value = await codeWindow.showInputBox({
|
|
56
|
-
placeHolder: translate('
|
|
56
|
+
placeHolder: translate('colorSelect.hexCode'),
|
|
57
57
|
ignoreFocusOut: true,
|
|
58
58
|
validateInput: validateColorInput,
|
|
59
59
|
});
|
|
@@ -70,7 +70,7 @@ const handleQuickPickActions = async (value: QuickPickItem) => {
|
|
|
70
70
|
|
|
71
71
|
const validateColorInput = (colorInput: string) => {
|
|
72
72
|
if (!validateHEXColorCode(colorInput)) {
|
|
73
|
-
return translate('
|
|
73
|
+
return translate('colorSelect.wrongHexCode');
|
|
74
74
|
}
|
|
75
75
|
return undefined;
|
|
76
76
|
};
|
package/src/commands/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { commands } from 'vscode';
|
|
2
2
|
import { activateIcons } from './activate';
|
|
3
3
|
import { toggleExplorerArrows } from './explorerArrows';
|
|
4
|
+
import { changeFileColor } from './fileColor';
|
|
4
5
|
import { changeFolderColor } from './folderColor';
|
|
5
6
|
import { changeFolderTheme } from './folders';
|
|
6
7
|
import { toggleGrayscale } from './grayscale';
|
|
@@ -14,6 +15,7 @@ const extensionCommands: { [commmand: string]: () => Promise<void> } = {
|
|
|
14
15
|
toggleIconPacks,
|
|
15
16
|
changeFolderTheme,
|
|
16
17
|
changeFolderColor,
|
|
18
|
+
changeFileColor,
|
|
17
19
|
restoreDefaultConfig,
|
|
18
20
|
toggleExplorerArrows,
|
|
19
21
|
changeOpacity,
|
|
@@ -5,6 +5,7 @@ export const restoreDefaultConfig = async () => {
|
|
|
5
5
|
await setThemeConfig('activeIconPack', undefined, true);
|
|
6
6
|
await setThemeConfig('folders.theme', undefined, true);
|
|
7
7
|
await setThemeConfig('folders.color', undefined, true);
|
|
8
|
+
await setThemeConfig('files.color', undefined, true);
|
|
8
9
|
await setThemeConfig('hidesExplorerArrows', undefined, true);
|
|
9
10
|
await setThemeConfig('opacity', undefined, true);
|
|
10
11
|
await setThemeConfig('saturation', undefined, true);
|
|
@@ -12,7 +12,8 @@ export const getFileConfigHash = (options: IconJsonOptions): string => {
|
|
|
12
12
|
if (
|
|
13
13
|
options.saturation !== defaults.saturation ||
|
|
14
14
|
options.opacity !== defaults.opacity ||
|
|
15
|
-
options.folders?.color !== defaults.folders.color
|
|
15
|
+
options.folders?.color !== defaults.folders.color ||
|
|
16
|
+
options.files?.color !== defaults.files.color
|
|
16
17
|
) {
|
|
17
18
|
fileConfigString += `~${getHash(JSON.stringify(options))}`;
|
|
18
19
|
}
|
package/src/i18n/lang-de.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Wähle ein Ordner Design',
|
|
13
|
-
color: 'Wähle eine Ordner Farbe',
|
|
14
|
-
hexCode: 'Gebe einen HEX Farbcode ein',
|
|
15
|
-
wrongHexCode: 'Ungültiger HEX Farbcode',
|
|
16
13
|
disabled: 'Keine Ordner Icons',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Wähle das '%0' Design",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Wähle eine Farbe',
|
|
20
|
+
hexCode: 'Gebe einen HEX Farbcode ein',
|
|
21
|
+
wrongHexCode: 'Ungültiger HEX Farbcode',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Wert der Deckkraft (zwischen 0 und 1)',
|
|
23
25
|
wrongValue: 'Der Wert muss zwischen 0 und 1 liegen!',
|
package/src/i18n/lang-en.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Pick a folder theme',
|
|
13
|
-
color: 'Choose a folder color',
|
|
14
|
-
hexCode: 'Insert a HEX color code',
|
|
15
|
-
wrongHexCode: 'Invalid HEX color code!',
|
|
16
13
|
disabled: 'No folder icons',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Select the '%0' folder theme",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Choose a color',
|
|
20
|
+
hexCode: 'Insert a HEX color code',
|
|
21
|
+
wrongHexCode: 'Invalid HEX color code!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Opacity value (between 0 and 1)',
|
|
23
25
|
wrongValue: 'Please enter a floating-point number between 0 and 1.',
|
package/src/i18n/lang-es.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Cambiar activación de iconos de carpetas',
|
|
13
|
-
color: 'Elija un color de carpeta',
|
|
14
|
-
hexCode: 'Insertar un código de color HEX',
|
|
15
|
-
wrongHexCode: '¡Código de color HEX inválido!',
|
|
16
13
|
disabled: 'Sin iconos de carpeta',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Iconos de carpeta '%0'",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Elija un color',
|
|
20
|
+
hexCode: 'Insertar un código de color HEX',
|
|
21
|
+
wrongHexCode: '¡Código de color HEX inválido!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Valor de opacidad (entre 0 y 1)',
|
|
23
25
|
wrongValue: '¡El valor debe estar entre 0 y 1!',
|
package/src/i18n/lang-fr.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Basculer les icônes de dossiers',
|
|
13
|
-
color: 'Choisissez une couleur de dossier',
|
|
14
|
-
hexCode: 'Insérer un code couleur HEX',
|
|
15
|
-
wrongHexCode: 'Code couleur HEX non valide!',
|
|
16
13
|
disabled: 'Aucune icônes de dossiers',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Icônes de dossiers '%0'",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Choisissez une couleur',
|
|
20
|
+
hexCode: 'Insérer un code couleur HEX',
|
|
21
|
+
wrongHexCode: 'Code couleur HEX non valide!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: "Valeur d'opacité (entre 0 et 1)",
|
|
23
25
|
wrongValue: 'La valeur doit être comprise entre 0 et 1!',
|
package/src/i18n/lang-ja.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'フォルダーアイコンを切り替える',
|
|
13
|
-
color: 'フォルダーの色を切り替える',
|
|
14
|
-
hexCode: 'HEX カラーコードを入力する',
|
|
15
|
-
wrongHexCode: '無効な HEX カラーコードです!',
|
|
16
13
|
disabled: 'フォルダーアイコンを表示しない',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "フォルダーテーマ '%0' を選択する",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: '色を変える',
|
|
20
|
+
hexCode: 'HEX カラーコードを入力する',
|
|
21
|
+
wrongHexCode: '無効な HEX カラーコードです!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: '不透明度(0〜1)',
|
|
23
25
|
wrongValue: '値は0から1の間にしてください!',
|
package/src/i18n/lang-nl.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Kies een folderthema',
|
|
13
|
-
color: 'Kies een folderkleur',
|
|
14
|
-
hexCode: 'Voeg een HEX kleurcode in',
|
|
15
|
-
wrongHexCode: 'Ongeldige HEX kleurcode!',
|
|
16
13
|
disabled: 'Geen foldericons',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Selecteer het '%0' folderthema",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Kies een kleur',
|
|
20
|
+
hexCode: 'Voeg een HEX kleurcode in',
|
|
21
|
+
wrongHexCode: 'Ongeldige HEX kleurcode!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Doorzichtbaarheidswaarde (tussen 0 en 1)',
|
|
23
25
|
wrongValue: 'De waarde moet tussen de 0 en 1 zijn!',
|
package/src/i18n/lang-pl.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Wybierz motyw folderów',
|
|
13
|
-
color: 'Wybierz kolor folderów',
|
|
14
|
-
hexCode: 'Podaj kolor w formacie HEX',
|
|
15
|
-
wrongHexCode: 'Nieprawidłowy kolor HEX!',
|
|
16
13
|
disabled: 'Brak ikon folderów',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Wybierz motyw folderów '%0'",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Wybierz kolor',
|
|
20
|
+
hexCode: 'Podaj kolor w formacie HEX',
|
|
21
|
+
wrongHexCode: 'Nieprawidłowy kolor HEX!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Wartość przezroczystości (pomiędzy 0 a 1)',
|
|
23
25
|
wrongValue: 'Wartość musi być pomiędzy 0 i 1!',
|
package/src/i18n/lang-pt-br.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Escolha um tema para as pastas',
|
|
13
|
-
color: 'Escolha uma cor para as pastas',
|
|
14
|
-
hexCode: 'Insira um código de cor hexadecimal',
|
|
15
|
-
wrongHexCode: 'Código de cor hexadecimal inválido!',
|
|
16
13
|
disabled: 'Nenhum ícone de pasta',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Selecionar o tema para pastas '%0'",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Escolha uma cor',
|
|
20
|
+
hexCode: 'Insira um código de cor hexadecimal',
|
|
21
|
+
wrongHexCode: 'Código de cor hexadecimal inválido!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Valor de opacidade (entre 0 e 1)',
|
|
23
25
|
wrongValue: 'O valor deve estar entre 0 e 1!',
|
package/src/i18n/lang-pt-pt.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Escolhe um tema para os directórios',
|
|
13
|
-
color: 'Escolhe uma cor para os directórios',
|
|
14
|
-
hexCode: 'Insira um código de cor hexadecimal',
|
|
15
|
-
wrongHexCode: 'Código de cor hexadecimal inválido!',
|
|
16
13
|
disabled: 'Nenhum ícone do directório',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Seleccionar o tema para directórios '%0'",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Escolhe uma cor',
|
|
20
|
+
hexCode: 'Insira um código de cor hexadecimal',
|
|
21
|
+
wrongHexCode: 'Código de cor hexadecimal inválido!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Valor de opacidade (entre 0 e 1)',
|
|
23
25
|
wrongValue: 'O valor deve estar entre 0 e 1!',
|
package/src/i18n/lang-ru.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Выбрать тему папки',
|
|
13
|
-
color: 'Выбрать цвет папки',
|
|
14
|
-
hexCode: 'Вставить HEX-код цвета',
|
|
15
|
-
wrongHexCode: 'Неверный HEX-код цвета!',
|
|
16
13
|
disabled: 'Нет иконок для папки',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Выбрать '%0' тему папки",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Выберите цвет',
|
|
20
|
+
hexCode: 'Вставить HEX-код цвета',
|
|
21
|
+
wrongHexCode: 'Неверный HEX-код цвета!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Значение непрозрачности (между 0 и 1)',
|
|
23
25
|
wrongValue: 'Значение должно быть между 0 и 1!',
|
package/src/i18n/lang-uk.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: 'Переключити теку icons',
|
|
13
|
-
color: 'Виберіть колір папки',
|
|
14
|
-
hexCode: 'Введіть HEX колірний код',
|
|
15
|
-
wrongHexCode: 'Недійсний HEX колірний код!',
|
|
16
13
|
disabled: 'Немає піктограм папок',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "Виберіть тему папки '%0'",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: 'Виберіть колір',
|
|
20
|
+
hexCode: 'Введіть HEX колірний код',
|
|
21
|
+
wrongHexCode: 'Недійсний HEX колірний код!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: 'Значення непрозорості (від 0 до 1)',
|
|
23
25
|
wrongValue: 'Значення має бути від 0 до 1!',
|
package/src/i18n/lang-zh-cn.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: '切换文件夹图标的显示',
|
|
13
|
-
color: '选择一个文件夹颜色',
|
|
14
|
-
hexCode: '插入HEX颜色代码',
|
|
15
|
-
wrongHexCode: '无效的HEX颜色代码!',
|
|
16
13
|
disabled: '不显示文件夹图标',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "'%0'主题的文件夹图标",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: '选择颜色',
|
|
20
|
+
hexCode: '插入HEX颜色代码',
|
|
21
|
+
wrongHexCode: '无效的HEX颜色代码!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: '不透明度值(0和1之间)',
|
|
23
25
|
wrongValue: '该值必须介于0和1之间!',
|
package/src/i18n/lang-zh-tw.ts
CHANGED
|
@@ -10,14 +10,16 @@ export const translation: Translation = {
|
|
|
10
10
|
},
|
|
11
11
|
folders: {
|
|
12
12
|
toggleIcons: '切換文件夾圖標的顯示',
|
|
13
|
-
color: '選擇一個文件夾顏色',
|
|
14
|
-
hexCode: '插入HEX顏色代碼',
|
|
15
|
-
wrongHexCode: '無效的HEX顏色代碼!',
|
|
16
13
|
disabled: '不顯示文件夾圖標',
|
|
17
14
|
theme: {
|
|
18
15
|
description: "'%0'主題的文件夾圖標",
|
|
19
16
|
},
|
|
20
17
|
},
|
|
18
|
+
colorSelect: {
|
|
19
|
+
color: '选择颜色',
|
|
20
|
+
hexCode: '插入HEX顏色代碼',
|
|
21
|
+
wrongHexCode: '無效的HEX顏色代碼!',
|
|
22
|
+
},
|
|
21
23
|
opacity: {
|
|
22
24
|
inputPlaceholder: '不透明度值(0和1之間)',
|
|
23
25
|
wrongValue: '該值必須介於0和1之間!',
|
package/src/icons/fileIcons.ts
CHANGED
|
@@ -358,6 +358,7 @@ export const fileIcons: FileIcons = {
|
|
|
358
358
|
},
|
|
359
359
|
{ name: 'objective-c', fileExtensions: ['m'] },
|
|
360
360
|
{ name: 'objective-cpp', fileExtensions: ['mm'] },
|
|
361
|
+
{ name: 'rc', fileExtensions: ['rc'] },
|
|
361
362
|
{ name: 'go', fileExtensions: ['go'] },
|
|
362
363
|
{
|
|
363
364
|
name: 'go-mod',
|
|
@@ -1638,8 +1639,10 @@ export const fileIcons: FileIcons = {
|
|
|
1638
1639
|
'gdns',
|
|
1639
1640
|
'gdnlib',
|
|
1640
1641
|
'gdshader',
|
|
1642
|
+
'gdshaderinc',
|
|
1641
1643
|
'gdextension',
|
|
1642
1644
|
],
|
|
1645
|
+
fileNames: ['.gdignore', '._sc_', '_sc_'],
|
|
1643
1646
|
},
|
|
1644
1647
|
{
|
|
1645
1648
|
name: 'azure-pipelines',
|
|
@@ -1699,6 +1702,7 @@ export const fileIcons: FileIcons = {
|
|
|
1699
1702
|
'netlify.yaml',
|
|
1700
1703
|
'netlify.toml',
|
|
1701
1704
|
],
|
|
1705
|
+
light: true,
|
|
1702
1706
|
},
|
|
1703
1707
|
{ name: 'svg', fileExtensions: ['svg'] },
|
|
1704
1708
|
{
|
|
@@ -1888,7 +1892,19 @@ export const fileIcons: FileIcons = {
|
|
|
1888
1892
|
fileExtensions: ['nupkg'],
|
|
1889
1893
|
},
|
|
1890
1894
|
{ name: 'command', fileExtensions: ['command'] },
|
|
1891
|
-
{
|
|
1895
|
+
{
|
|
1896
|
+
name: 'stryker',
|
|
1897
|
+
fileNames: [
|
|
1898
|
+
'stryker.conf.json',
|
|
1899
|
+
'stryker.conf.js',
|
|
1900
|
+
'stryker.conf.cjs',
|
|
1901
|
+
'stryker.conf.mjs',
|
|
1902
|
+
'.stryker.conf.json',
|
|
1903
|
+
'.stryker.conf.js',
|
|
1904
|
+
'.stryker.conf.cjs',
|
|
1905
|
+
'.stryker.conf.mjs',
|
|
1906
|
+
],
|
|
1907
|
+
},
|
|
1892
1908
|
{ name: 'denizenscript', fileExtensions: ['dsc'] },
|
|
1893
1909
|
{
|
|
1894
1910
|
name: 'modernizr',
|
|
@@ -1921,6 +1937,8 @@ export const fileIcons: FileIcons = {
|
|
|
1921
1937
|
'mcstructure',
|
|
1922
1938
|
'mcpack',
|
|
1923
1939
|
'mcaddon',
|
|
1940
|
+
'mctemplate',
|
|
1941
|
+
'mcproject',
|
|
1924
1942
|
],
|
|
1925
1943
|
fileNames: ['.mcattributes', '.mcdefinitions', '.mcignore'],
|
|
1926
1944
|
},
|
|
@@ -2066,7 +2084,16 @@ export const fileIcons: FileIcons = {
|
|
|
2066
2084
|
fileNames: ['maven.config', 'jvm.config', 'pom.xml'],
|
|
2067
2085
|
},
|
|
2068
2086
|
{ name: 'ada', fileExtensions: ['ada', 'adb', 'ads', 'ali'] },
|
|
2069
|
-
{
|
|
2087
|
+
{
|
|
2088
|
+
name: 'serverless',
|
|
2089
|
+
fileNames: [
|
|
2090
|
+
'serverless.yml',
|
|
2091
|
+
'serverless.yaml',
|
|
2092
|
+
'serverless.json',
|
|
2093
|
+
'serverless.js',
|
|
2094
|
+
'serverless.ts',
|
|
2095
|
+
],
|
|
2096
|
+
},
|
|
2070
2097
|
{
|
|
2071
2098
|
name: 'supabase',
|
|
2072
2099
|
fileNames: ['supabase.js', 'supabase.py'],
|
|
@@ -2236,5 +2263,32 @@ export const fileIcons: FileIcons = {
|
|
|
2236
2263
|
fileExtensions: ['gml', 'yy', 'yyp', 'yyz'],
|
|
2237
2264
|
},
|
|
2238
2265
|
{ name: 'tldraw', fileExtensions: ['tldr'], light: true },
|
|
2266
|
+
{
|
|
2267
|
+
name: 'mercurial',
|
|
2268
|
+
fileNames: [
|
|
2269
|
+
'.hg',
|
|
2270
|
+
'.hgignore',
|
|
2271
|
+
'.hgflow',
|
|
2272
|
+
'.hgrc',
|
|
2273
|
+
'hgrc',
|
|
2274
|
+
'mercurial.ini',
|
|
2275
|
+
],
|
|
2276
|
+
},
|
|
2277
|
+
{
|
|
2278
|
+
name: 'deno',
|
|
2279
|
+
fileNames: ['deno.json', 'deno.jsonc', 'deno.lock'],
|
|
2280
|
+
light: true,
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
name: 'plastic',
|
|
2284
|
+
fileNames: [
|
|
2285
|
+
'plastic.branchexplorer',
|
|
2286
|
+
'plastic.selector',
|
|
2287
|
+
'plastic.wktree',
|
|
2288
|
+
'plastic.workspace',
|
|
2289
|
+
'plastic.workspaces',
|
|
2290
|
+
],
|
|
2291
|
+
},
|
|
2292
|
+
{ name: 'typst', fileExtensions: ['typ'] },
|
|
2239
2293
|
],
|
|
2240
2294
|
};
|
package/src/icons/folderIcons.ts
CHANGED
|
@@ -111,7 +111,7 @@ export const folderIcons: FolderTheme[] = [
|
|
|
111
111
|
'.submodules',
|
|
112
112
|
],
|
|
113
113
|
},
|
|
114
|
-
{ name: 'folder-github', folderNames: ['.github'] },
|
|
114
|
+
{ name: 'folder-github', folderNames: ['.github', 'github'] },
|
|
115
115
|
{ name: 'folder-gitlab', folderNames: ['.gitlab'] },
|
|
116
116
|
{ name: 'folder-vscode', folderNames: ['.vscode', '.vscode-test'] },
|
|
117
117
|
{
|
|
@@ -808,10 +808,22 @@ export const folderIcons: FolderTheme[] = [
|
|
|
808
808
|
name: 'folder-proto',
|
|
809
809
|
folderNames: ['protobufs', 'proto'],
|
|
810
810
|
},
|
|
811
|
+
{
|
|
812
|
+
name: 'folder-plastic',
|
|
813
|
+
folderNames: ['plastic', '.plastic'],
|
|
814
|
+
},
|
|
811
815
|
{
|
|
812
816
|
name: 'folder-gamemaker',
|
|
813
817
|
folderNames: ['gamemaker', 'gamemaker2'],
|
|
814
818
|
},
|
|
819
|
+
{
|
|
820
|
+
name: 'folder-mercurial',
|
|
821
|
+
folderNames: ['.hg', 'hghooks', '.hghooks', '.hgext'],
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
name: 'folder-godot',
|
|
825
|
+
folderNames: ['godot', '.godot', 'godot-cpp', '.godot-cpp'],
|
|
826
|
+
},
|
|
815
827
|
],
|
|
816
828
|
},
|
|
817
829
|
{
|
|
@@ -13,6 +13,12 @@ import {
|
|
|
13
13
|
lightColorFileEnding,
|
|
14
14
|
wildcardPattern,
|
|
15
15
|
} from './constants';
|
|
16
|
+
import {
|
|
17
|
+
validateHEXColorCode,
|
|
18
|
+
writeSVGFiles,
|
|
19
|
+
getSVG,
|
|
20
|
+
getPath,
|
|
21
|
+
} from './folderGenerator';
|
|
16
22
|
|
|
17
23
|
/**
|
|
18
24
|
* Get all file icons that can be used in this theme.
|
|
@@ -193,6 +199,17 @@ const setIconDefinition = (
|
|
|
193
199
|
return obj;
|
|
194
200
|
};
|
|
195
201
|
|
|
202
|
+
export const generateFileIcons = (color: string | undefined) => {
|
|
203
|
+
if (!color || !validateHEXColorCode(color)) {
|
|
204
|
+
return console.error('Invalid color code for file icons');
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
const fileIcon =
|
|
208
|
+
'M13 9h5.5L13 3.5V9M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m5 2H6v16h12v-9h-7V4z';
|
|
209
|
+
|
|
210
|
+
writeSVGFiles('file', getSVG(getPath(fileIcon, color)));
|
|
211
|
+
};
|
|
212
|
+
|
|
196
213
|
const getCustomIcons = (fileAssociations: IconAssociations | undefined) => {
|
|
197
214
|
if (!fileAssociations) return [];
|
|
198
215
|
|
|
@@ -309,12 +309,12 @@ export const generateFolderIcons = (color: string | undefined) => {
|
|
|
309
309
|
writeSVGFiles('folder-root-open', getSVG(getPath(rootFolderIconOpen, color)));
|
|
310
310
|
};
|
|
311
311
|
|
|
312
|
-
const getPath = (d: string, color: string) =>
|
|
312
|
+
export const getPath = (d: string, color: string) =>
|
|
313
313
|
`<path d="${d}" fill="${color}" />`;
|
|
314
|
-
const getSVG = (path: string) =>
|
|
314
|
+
export const getSVG = (path: string) =>
|
|
315
315
|
`<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">${path}</svg>`;
|
|
316
316
|
|
|
317
|
-
const writeSVGFiles = (iconName: string, svg: string) => {
|
|
317
|
+
export const writeSVGFiles = (iconName: string, svg: string) => {
|
|
318
318
|
let iconsPath;
|
|
319
319
|
if (basename(__dirname) === 'dist') {
|
|
320
320
|
iconsPath = join(__dirname, '..', 'icons');
|
|
@@ -15,6 +15,7 @@ import { folderIcons } from '../folderIcons';
|
|
|
15
15
|
import { languageIcons } from '../languageIcons';
|
|
16
16
|
import { iconJsonName } from './constants';
|
|
17
17
|
import {
|
|
18
|
+
generateFileIcons,
|
|
18
19
|
generateFolderIcons,
|
|
19
20
|
loadFileIconDefinitions,
|
|
20
21
|
loadFolderIconDefinitions,
|
|
@@ -93,6 +94,12 @@ export const createIconFile = (
|
|
|
93
94
|
) {
|
|
94
95
|
throw Error('Material Icons: Invalid folder color value!');
|
|
95
96
|
}
|
|
97
|
+
if (
|
|
98
|
+
updatedConfigs?.files?.color &&
|
|
99
|
+
!validateHEXColorCode(updatedConfigs?.files?.color)
|
|
100
|
+
) {
|
|
101
|
+
throw Error('Material Icons: Invalid file color value!');
|
|
102
|
+
}
|
|
96
103
|
|
|
97
104
|
try {
|
|
98
105
|
let iconJsonPath = __dirname;
|
|
@@ -100,6 +107,12 @@ export const createIconFile = (
|
|
|
100
107
|
if (basename(__dirname) !== 'dist') {
|
|
101
108
|
iconJsonPath = join(__dirname, '..', '..', '..', 'dist');
|
|
102
109
|
}
|
|
110
|
+
if (!updatedConfigs || (updatedConfigs.files || {}).color) {
|
|
111
|
+
// if updatedConfigs do not exist (because of initial setup)
|
|
112
|
+
// or new config value was detected by the change detection
|
|
113
|
+
generateFileIcons(options.files?.color);
|
|
114
|
+
setIconOpacity(options, ['file.svg']);
|
|
115
|
+
}
|
|
103
116
|
if (!updatedConfigs || (updatedConfigs.folders || {}).color) {
|
|
104
117
|
// if updatedConfigs do not exist (because of initial setup)
|
|
105
118
|
// or new config value was detected by the change detection
|
|
@@ -153,7 +166,10 @@ export const getDefaultIconOptions = (): Required<IconJsonOptions> => ({
|
|
|
153
166
|
hidesExplorerArrows: false,
|
|
154
167
|
opacity: 1,
|
|
155
168
|
saturation: 1,
|
|
156
|
-
files: {
|
|
169
|
+
files: {
|
|
170
|
+
color: '#90a4ae',
|
|
171
|
+
associations: {},
|
|
172
|
+
},
|
|
157
173
|
languages: { associations: {} },
|
|
158
174
|
});
|
|
159
175
|
|
|
@@ -8,14 +8,16 @@ export interface Translation {
|
|
|
8
8
|
};
|
|
9
9
|
folders: {
|
|
10
10
|
toggleIcons: string;
|
|
11
|
-
color: string;
|
|
12
|
-
hexCode: string;
|
|
13
|
-
wrongHexCode: string;
|
|
14
11
|
disabled: string;
|
|
15
12
|
theme: {
|
|
16
13
|
description: string;
|
|
17
14
|
};
|
|
18
15
|
};
|
|
16
|
+
colorSelect: {
|
|
17
|
+
color: string;
|
|
18
|
+
hexCode: string;
|
|
19
|
+
wrongHexCode: string;
|
|
20
|
+
};
|
|
19
21
|
opacity: {
|
|
20
22
|
inputPlaceholder: string;
|
|
21
23
|
wrongValue: string;
|
package/icons/file.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M13 9h5.5L13 3.5V9M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m5 2H6v16h12v-9h-7V4z" fill="#42a5f5"/></svg>
|
package/images/stepsize.png
DELETED
|
Binary file
|