diff --git a/.github/ISSUE_TEMPLATE/1-icon-request.yml b/.github/ISSUE_TEMPLATE/1-icon-request.yml
index c5a1ba6c6a..c30032e865 100644
--- a/.github/ISSUE_TEMPLATE/1-icon-request.yml
+++ b/.github/ISSUE_TEMPLATE/1-icon-request.yml
@@ -8,32 +8,30 @@ body:
id: icon-type
attributes:
label: Icon Type
+ description: What type of icon are you requesting?
options:
- label: Folder
- label: File
- required: true
- type: textarea
id: folder-names
attributes:
label: Folder names
+ description: If you are requesting folder icons, please list the folder names here.
placeholder: |
- folder-name
- another-folder-name
- ...
- validations:
- required: false
- type: textarea
id: file-names
attributes:
label: File names
+ description: If you are requesting file icons, please list the file names or file extensions here.
placeholder: |
- file-name
- another-file-name
- ...
- validations:
- required: false
- type: textarea
id: graphic-ideas
@@ -41,8 +39,6 @@ body:
label: Graphic ideas
description: A clear description of the icon you would like. If the icons are separate for folder and files, please create separate issues.
placeholder: Include a link to sample icons if possible
- validations:
- required: false
- type: textarea
id: additional-context
@@ -50,8 +46,6 @@ body:
label: Additional context
description: Add any other context about the icons here.
placeholder: I consider these icons necessary because ...
- validations:
- required: false
- type: checkboxes
id: terms
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
new file mode 100644
index 0000000000..ae3fdab2f3
--- /dev/null
+++ b/.github/copilot-instructions.md
@@ -0,0 +1,9 @@
+# General Principles
+
+1. **Follow the project style**: All changes should adhere to the existing code and documentation style.
+2. **Use Material Design colors**: All icons should use colors from the [Material Design color palette](/material-colors.yml).
+3. **Adhere to project architecture**: All changes should comply with the project architecture described in [architecture.md](/src/architecture.md).
+4. **Pixel-Perfect Icons**: Ensure that all icons are designed to be sharp and clear at 16x16 pixels, following the guidelines in [Designing Pixel Perfect Icons](/CONTRIBUTING.md#pixel-perfect-icons).
+5. **Write clean, modular, and well-documented code.**: All changes should be well-documented and easy to understand.
+6. **Test your changes**: All changes should be tested and should not break existing functionality.
+7. **Keep it simple**: All changes should be as simple as possible and should not introduce unnecessary complexity.
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ef423b3466..eb6dafee3c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout 🛎️
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
diff --git a/.github/workflows/color-check.yml b/.github/workflows/color-check.yml
index 037750232f..520e4db8a6 100644
--- a/.github/workflows/color-check.yml
+++ b/.github/workflows/color-check.yml
@@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout 🛎️
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
persist-credentials: false
diff --git a/.github/workflows/icon-review.yml b/.github/workflows/icon-review.yml
index 561b6b8caa..740a6b24b0 100644
--- a/.github/workflows/icon-review.yml
+++ b/.github/workflows/icon-review.yml
@@ -25,7 +25,7 @@ jobs:
bun-version: 1.1.20
- name: Checkout Fork 🛎️
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
@@ -34,7 +34,7 @@ jobs:
persist-credentials: false
- name: Checkout Original 🛎️
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
path: main
@@ -83,7 +83,7 @@ jobs:
${preview}
- Check how your icon${pluralS} fit${!pluralS ? 's' : ''} in a 16x16 grid with our **Pixel Perfect Checker** by following [this link](https://pixp.lucode.ar/material-extensions/vscode-material-icon-theme/pull/${{ github.event.pull_request.number }}).
+ Check how your icon${pluralS} fit${!pluralS ? 's' : ''} in a 16x16 grid with our **Pixel Perfect Checker** by following [this link](https://pixp.pages.dev/material-extensions/vscode-material-icon-theme/pull/${{ github.event.pull_request.number }}).
You can find more information on how to contribute in the [contribution guidelines](https://github.com/material-extensions/vscode-material-icon-theme/blob/main/CONTRIBUTING.md).
`;
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6725710eb2..97b81eefee 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,14 +29,14 @@ jobs:
attestations: write
steps:
- - uses: actions/create-github-app-token@3378cda945da322a8db4b193e19d46352ebe2de5 # v1.10.4
+ - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
id: app-token
with:
app-id: ${{ vars.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
- name: Checkout 🛎️
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 7cfbcc3ee5..f6ed842310 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -12,5 +12,20 @@
}
},
"editor.defaultFormatter": "biomejs.biome",
- "editor.formatOnSave": true
+ "editor.formatOnSave": true,
+
+ "github.copilot.chat.codeGeneration.instructions": [
+ {
+ "file": "/CONTRIBUTING.md"
+ },
+ {
+ "file": "/src/architecture.md"
+ }
+ ],
+ "github.copilot.chat.reviewSelection.instructions": [
+ {
+ "file": "/CONTRIBUTING.md"
+ }
+ ],
+ "github.copilot.chat.codeGeneration.useInstructionFiles": true
}
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1095fb55cf..a08e29acba 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,59 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
+#### [v5.12.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.11.1...v5.12.0)
+
+> October 23, 2024
+
+- Add `label` icon for `.github/labeler.yml` file [`#2607`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2607)
+- feat: add Copilot icon for `.github/copilot-instructions.md` file [`#2632`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2632)
+- Add events package in package.json [`#2630`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2630)
+- add Bahasa Indonesia (id) translation [`#2627`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2627)
+- feat: :sparkles: Add `.tazerc` and `.tazerc.json` filenames for `taze` icon [`#2628`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2628)
+- build(deps): bump actions/checkout in the github-actions group [`#2626`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2626)
+- Added env abbreviations on tune icon recognized names [`#2624`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2624)
+- Add stackblitz file icon [`#2621`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2621)
+- Add icon association for gltf and glb files [`#2622`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2622)
+- Add systemd icon [`#1472`](https://github.com/material-extensions/vscode-material-icon-theme/pull/1472)
+- Fix light mode for language ids [`#2617`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2617)
+- build(deps): bump actions/checkout in the github-actions group [`#2618`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2618)
+- Add `zeabur` file icon for `zeabur` deploy config file [`#2611`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2611)
+- Add icon for PowerShell folders [`#2605`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2605)
+- Update prepare script [`377523e9`](https://github.com/material-extensions/vscode-material-icon-theme/commit/377523e9)
+
+#### [v5.11.1](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.11.0...v5.11.1)
+
+> September 21, 2024
+
+- Fix issue with Svelte JS and TS icons (Closes #2603) [`be58bc47`](https://github.com/material-extensions/vscode-material-icon-theme/commit/be58bc47)
+- Update preversion script [`1c7a0847`](https://github.com/material-extensions/vscode-material-icon-theme/commit/1c7a0847)
+
+#### [v5.11.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.10.0...v5.11.0)
+
+> September 20, 2024
+
+- Update preversion script [`12145f8e`](https://github.com/material-extensions/vscode-material-icon-theme/commit/12145f8e)
+- Add .svelte.js and .svelte.ts color variants [`#2600`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2600)
+- Remove vscode specific fields from module's package json [`#2602`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2602)
+- Fix icon request template [`#2596`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2596)
+- feat: ecmascript extension patterns for svelte.config [`#2595`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2595)
+- Add icons for Lefthook files and folders [`#2582`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2582)
+- build(deps): bump actions/create-github-app-token [`#2591`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2591)
+- Add `ts`, `cjs` ext for `quasar` [`#2590`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2590)
+- Added icon for `wxt.config.ts` file 🧩 [`#2576`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2576)
+- build(deps): bump the github-actions group with 2 updates [`#2583`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2583)
+- feat: ✨ .clang-format-ignore file icon [`#2580`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2580)
+- Added taze configuration file icon [`#2577`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2577)
+- added favicons folder icon [`#2578`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2578)
+- Feat: added sway icon [`#2573`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2573)
+- added src-tauri folder icon [`#2567`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2567)
+- refactor: ♻️ Improve scripts in `package.json` [`#2569`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2569)
+- Added freemarker icon [`#2396`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2396)
+- Add nest interceptor icon [`#2572`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2572)
+- Remove coderabbit config [`9f57e5cc`](https://github.com/material-extensions/vscode-material-icon-theme/commit/9f57e5cc)
+- feat: ✨ .markdownlintignore file icon [`#2565`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2565)
+- docs: 📝 fix broken links in pull_request_template [`#2566`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2566)
+
#### [v5.10.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.9.0...v5.10.0)
> August 29, 2024
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 195affbc0f..9fdf143a9a 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,8 +1,6 @@
-
-
-
How to contribute
+# How to contribute
Glad you're here and interested in expanding this project 🎉 In order to make this work in the best possible way, there are hints and tips for successful contributors on this page. Please read everything carefully and your contributions will be valuable and gratefully received.
diff --git a/bun.lockb b/bun.lockb
index 99f36bd174..7c8ba034d5 100644
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/icons/adobe-swc.svg b/icons/adobe-swc.svg
new file mode 100644
index 0000000000..3776603024
--- /dev/null
+++ b/icons/adobe-swc.svg
@@ -0,0 +1 @@
+
diff --git a/icons/bench-js.svg b/icons/bench-js.svg
new file mode 100644
index 0000000000..c4a51c17d6
--- /dev/null
+++ b/icons/bench-js.svg
@@ -0,0 +1 @@
+
diff --git a/icons/bench-jsx.svg b/icons/bench-jsx.svg
new file mode 100644
index 0000000000..ab9db01644
--- /dev/null
+++ b/icons/bench-jsx.svg
@@ -0,0 +1 @@
+
diff --git a/icons/bench-ts.svg b/icons/bench-ts.svg
new file mode 100644
index 0000000000..0467b24555
--- /dev/null
+++ b/icons/bench-ts.svg
@@ -0,0 +1 @@
+
diff --git a/icons/controller.svg b/icons/controller.svg
new file mode 100644
index 0000000000..8c68a50612
--- /dev/null
+++ b/icons/controller.svg
@@ -0,0 +1 @@
+
diff --git a/icons/copilot.svg b/icons/copilot.svg
new file mode 100644
index 0000000000..082f79ebb8
--- /dev/null
+++ b/icons/copilot.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/copilot_light.svg b/icons/copilot_light.svg
new file mode 100644
index 0000000000..d030bd8404
--- /dev/null
+++ b/icons/copilot_light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/folder-favicon-open.svg b/icons/folder-favicon-open.svg
index 424042d943..9501a3eb2f 100644
--- a/icons/folder-favicon-open.svg
+++ b/icons/folder-favicon-open.svg
@@ -1,4 +1 @@
-
+
\ No newline at end of file
diff --git a/icons/folder-favicon.svg b/icons/folder-favicon.svg
index ff14b99a01..548584999a 100644
--- a/icons/folder-favicon.svg
+++ b/icons/folder-favicon.svg
@@ -1,4 +1 @@
-
+
\ No newline at end of file
diff --git a/icons/folder-lefthook-open.svg b/icons/folder-lefthook-open.svg
new file mode 100644
index 0000000000..fd1e1e7909
--- /dev/null
+++ b/icons/folder-lefthook-open.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/folder-lefthook.svg b/icons/folder-lefthook.svg
new file mode 100644
index 0000000000..d393376186
--- /dev/null
+++ b/icons/folder-lefthook.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/folder-powershell-open.svg b/icons/folder-powershell-open.svg
new file mode 100644
index 0000000000..ec222033b3
--- /dev/null
+++ b/icons/folder-powershell-open.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/folder-powershell.svg b/icons/folder-powershell.svg
new file mode 100644
index 0000000000..cdc916d6e6
--- /dev/null
+++ b/icons/folder-powershell.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/folder-src-tauri-open.svg b/icons/folder-src-tauri-open.svg
index 9fdac73c0f..fe25fe18df 100644
--- a/icons/folder-src-tauri-open.svg
+++ b/icons/folder-src-tauri-open.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/icons/folder-src-tauri.svg b/icons/folder-src-tauri.svg
index 2dc02c5ec1..db1d1aa5da 100644
--- a/icons/folder-src-tauri.svg
+++ b/icons/folder-src-tauri.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/icons/freemarker.svg b/icons/freemarker.svg
index 9d58083547..edf98f6df5 100644
--- a/icons/freemarker.svg
+++ b/icons/freemarker.svg
@@ -1,3 +1 @@
-
+
\ No newline at end of file
diff --git a/icons/garden.svg b/icons/garden.svg
new file mode 100644
index 0000000000..d350743c45
--- /dev/null
+++ b/icons/garden.svg
@@ -0,0 +1,15 @@
+
diff --git a/icons/label.svg b/icons/label.svg
new file mode 100644
index 0000000000..8c9387197b
--- /dev/null
+++ b/icons/label.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/lefthook.svg b/icons/lefthook.svg
new file mode 100644
index 0000000000..66a444b08a
--- /dev/null
+++ b/icons/lefthook.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/perl.svg b/icons/perl.svg
index 1791923ecd..da4f9023da 100644
--- a/icons/perl.svg
+++ b/icons/perl.svg
@@ -1 +1,3 @@
-
\ No newline at end of file
+
diff --git a/icons/pre-commit.svg b/icons/pre-commit.svg
new file mode 100644
index 0000000000..f03b7a1035
--- /dev/null
+++ b/icons/pre-commit.svg
@@ -0,0 +1 @@
+
diff --git a/icons/stackblitz.svg b/icons/stackblitz.svg
new file mode 100644
index 0000000000..f1806a8b28
--- /dev/null
+++ b/icons/stackblitz.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/sway.svg b/icons/sway.svg
index a063bdacbd..0d93bbbb1b 100644
--- a/icons/sway.svg
+++ b/icons/sway.svg
@@ -1,4 +1 @@
-
+
\ No newline at end of file
diff --git a/icons/swc.svg b/icons/swc.svg
index b61c4c5979..2471cb9787 100644
--- a/icons/swc.svg
+++ b/icons/swc.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/icons/systemd.svg b/icons/systemd.svg
new file mode 100755
index 0000000000..943b77f266
--- /dev/null
+++ b/icons/systemd.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/systemd_light.svg b/icons/systemd_light.svg
new file mode 100755
index 0000000000..39e81f63b3
--- /dev/null
+++ b/icons/systemd_light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/taze.svg b/icons/taze.svg
index 3ad11a8e0b..596b76d904 100644
--- a/icons/taze.svg
+++ b/icons/taze.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/icons/wxt.svg b/icons/wxt.svg
index b05890f2a1..d43b742831 100644
--- a/icons/wxt.svg
+++ b/icons/wxt.svg
@@ -1,3 +1 @@
-
+
\ No newline at end of file
diff --git a/icons/zeabur.svg b/icons/zeabur.svg
new file mode 100644
index 0000000000..37b0ea8b74
--- /dev/null
+++ b/icons/zeabur.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/icons/zeabur_light.svg b/icons/zeabur_light.svg
new file mode 100644
index 0000000000..0d01f2b1c9
--- /dev/null
+++ b/icons/zeabur_light.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/images/contributors.png b/images/contributors.png
index 4ef74809fe..2e4b0420bd 100644
Binary files a/images/contributors.png and b/images/contributors.png differ
diff --git a/images/fileIcons.png b/images/fileIcons.png
index d81521e45e..d1a1b30aef 100644
Binary files a/images/fileIcons.png and b/images/fileIcons.png differ
diff --git a/images/folderIcons.png b/images/folderIcons.png
index 01b0c81975..34dedf59fd 100644
Binary files a/images/folderIcons.png and b/images/folderIcons.png differ
diff --git a/package.json b/package.json
index 095c795589..63ccfb830a 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "material-icon-theme",
"displayName": "Material Icon Theme",
"description": "Material Design Icons for Visual Studio Code",
- "version": "5.10.0",
+ "version": "5.12.0",
"license": "MIT",
"scripts": {
"precompile": "rimraf dist && bun run verify",
@@ -19,7 +19,7 @@
"generateClones": "bun ./src/scripts/icons/generateClones.ts",
"lint": "biome check --write ./src",
"format": "biome format --write ./src",
- "preversion": "bun run contributors && bun run preview && bun run svgo && git add images/{contributors,fileIcons,folderIcons}.png icons/*.svg",
+ "preversion": "bun run contributors && bun run preview && bun run svgo && git add images/*.png icons/*.svg",
"preview": "bun ./src/scripts/preview/run.ts",
"svgo": "svgo -i icons -o icons -q",
"test": "bun test",
@@ -364,7 +364,8 @@
"dependencies": {
"chroma-js": "^2.4.2",
"fast-deep-equal": "^3.1.3",
- "svgson": "^5.3.1"
+ "svgson": "^5.3.1",
+ "events": "^3.3.0"
},
"devDependencies": {
"@biomejs/biome": "1.8.2",
diff --git a/package.nls.id.json b/package.nls.id.json
new file mode 100644
index 0000000000..0ffd516c33
--- /dev/null
+++ b/package.nls.id.json
@@ -0,0 +1,46 @@
+{
+ "command.activateIcons": "Material Icons: Aktifkan Tema Ikon",
+ "command.toggleIconPacks": "Material Icons: Konfigurasi Paket Ikon",
+ "command.changeFolderTheme": "Material Icons: Ubah Tema Folder",
+ "command.changeFolderColor": "Material Icons: Ubah Warna Folder",
+ "command.changeFileColor": "Material Icons: Ubah Warna File",
+ "command.restoreDefaultConfig": "Material Icons: Pulihkan Konfigurasi Default",
+ "command.toggleExplorerArrows": "Material Icons: Alihkan Panah Explorer",
+ "command.changeOpacity": "Material Icons: Ubah Opasitas",
+ "command.toggleGrayscale": "Material Icons: Alihkan Grayscale",
+ "command.changeSaturation": "Material Icons: Ubah Saturasi",
+ "configuration.title": "Material Icons",
+ "configuration.files.associations": "Tetapkan asosiasi ikon file kustom.",
+ "configuration.folders.associations": "Tetapkan asosiasi ikon folder kustom.",
+ "configuration.languages.associations": "Tetapkan asosiasi ikon bahasa kustom.",
+ "configuration.customClones": "Klon ikon yang ada dan buat yang baru dengan warna dan asosiasi kustom",
+ "configuration.customClones.base": "Ikon yang digunakan sebagai dasar untuk membuat ikon klon kustom",
+ "configuration.customClones.name": "Nama ikon kustom",
+ "configuration.customClones.color": "Warna yang digunakan sebagai dasar untuk mengubah warna ikon",
+ "configuration.customClones.lightColor": "Warna yang digunakan sebagai dasar untuk mengubah warna ikon ketika tema terang",
+ "configuration.customClones.fileNames": "Nama file yang akan diasosiasikan dengan ikon kustom",
+ "configuration.customClones.fileExtensions": "Ekstensi file yang akan diasosiasikan dengan ikon kustom",
+ "configuration.customClones.folderNames": "Nama folder yang akan diasosiasikan dengan ikon kustom",
+ "configuration.customClones.activeForPacks": "Hanya buat klon ini ketika paket ikon aktif adalah salah satu dari ini.",
+ "configuration.activeIconPack": "Pilih paket ikon yang mengaktifkan ikon tertentu.",
+ "configuration.activeIconPack.angular": "Ikon untuk Angular.",
+ "configuration.activeIconPack.angular_ngrx": "Ikon untuk Angular dan ngrx.",
+ "configuration.activeIconPack.react": "Ikon untuk React.",
+ "configuration.activeIconPack.react_redux": "Ikon untuk React dan Redux.",
+ "configuration.activeIconPack.qwik": "Ikon untuk Qwik.",
+ "configuration.activeIconPack.vue": "Ikon untuk Vue.",
+ "configuration.activeIconPack.vue_vuex": "Ikon untuk Vue dan Vuex.",
+ "configuration.activeIconPack.nest": "Ikon untuk NestJS.",
+ "configuration.activeIconPack.none": "Tidak ada paket ikon yang diaktifkan.",
+ "configuration.folders.theme": "Tetapkan jenis untuk ikon folder.",
+ "configuration.folders.theme.specific": "Pilih ikon folder spesifik.",
+ "configuration.folders.theme.classic": "Pilih ikon folder klasik.",
+ "configuration.folders.theme.none": "Tidak ada ikon folder.",
+ "configuration.folders.color": "Ubah warna ikon folder.",
+ "configuration.files.color": "Ubah warna ikon file.",
+ "configuration.hidesExplorerArrows": "Sembunyikan panah explorer sebelum folder.",
+ "configuration.opacity": "Ubah opasitas ikon.",
+ "configuration.saturation": "Ubah saturasi ikon.",
+ "configuration.enableLogging": "Aktifkan pencatatan ke saluran output.",
+ "configuration.logLevel": "Tetapkan level log untuk pesan output."
+}
diff --git a/src/core/generator/languageGenerator.ts b/src/core/generator/languageGenerator.ts
index fb48a2ad1a..42b83e103f 100644
--- a/src/core/generator/languageGenerator.ts
+++ b/src/core/generator/languageGenerator.ts
@@ -61,27 +61,19 @@ const setIconDefinitions = (
config: Config,
icon: DefaultIcon
) => {
- manifest = createIconDefinitions(manifest, config, icon.name);
- manifest = merge(
- manifest,
- icon.light
- ? createIconDefinitions(
- manifest,
- config,
- icon.name + lightColorFileEnding
- )
- : manifest.light
- );
- manifest = merge(
- manifest,
- icon.highContrast
- ? createIconDefinitions(
- manifest,
- config,
- icon.name + highContrastColorFileEnding
- )
- : manifest.highContrast
- );
+ createIconDefinitions(manifest, config, icon.name);
+
+ if (icon.light) {
+ createIconDefinitions(manifest, config, icon.name + lightColorFileEnding);
+ }
+ if (icon.highContrast) {
+ createIconDefinitions(
+ manifest,
+ config,
+ icon.name + highContrastColorFileEnding
+ );
+ }
+
return manifest;
};
@@ -96,7 +88,6 @@ const createIconDefinitions = (
iconPath: `${iconFolderPath}${iconName}${fileConfigHash}.svg`,
};
}
- return manifest;
};
const setLanguageIdentifiers = (iconName: string, languageIds: string[]) => {
diff --git a/src/core/i18n/translate.ts b/src/core/i18n/translate.ts
index 698e80d8a8..de35efe398 100644
--- a/src/core/i18n/translate.ts
+++ b/src/core/i18n/translate.ts
@@ -6,6 +6,7 @@ import { translation as langDe } from './translations/lang-de';
import { translation as langEn } from './translations/lang-en';
import { translation as langEs } from './translations/lang-es';
import { translation as langFr } from './translations/lang-fr';
+import { translation as langId } from './translations/lang-id';
import { translation as langJa } from './translations/lang-ja';
import { translation as langKo } from './translations/lang-ko';
import { translation as langNl } from './translations/lang-nl';
@@ -55,6 +56,8 @@ const getTranslationObject = async (language: string): Promise => {
return langEs;
case 'fr':
return langFr;
+ case 'id':
+ return langId;
case 'ja':
return langJa;
case 'ko':
diff --git a/src/core/i18n/translations/lang-id.ts b/src/core/i18n/translations/lang-id.ts
new file mode 100644
index 0000000000..f411072e9f
--- /dev/null
+++ b/src/core/i18n/translations/lang-id.ts
@@ -0,0 +1,45 @@
+import type { Translation } from '../../models/i18n/translation';
+
+export const translation: Translation = {
+ activate: "Aktifkan",
+ activated: "Tema Ikon Material aktif.",
+ iconPacks: {
+ selectPack: "Pilih paket ikon",
+ description: "Pilih paket ikon '%0'",
+ disabled: "Nonaktifkan paket ikon"
+ },
+ folders: {
+ toggleIcons: "Pilih tema folder",
+ disabled: "Tidak ada ikon folder",
+ theme: {
+ description: "Pilih tema folder '%0'"
+ }
+ },
+ colorSelect: {
+ color: "Pilih warna",
+ hexCode: "Masukkan kode warna HEX",
+ wrongHexCode: "Kode warna HEX tidak valid!"
+ },
+ opacity: {
+ inputPlaceholder: "Nilai opasitas (antara 0 dan 1)",
+ wrongValue: "Silakan masukkan angka desimal antara 0 dan 1."
+ },
+ toggleSwitch: {
+ on: "AKTIF",
+ off: "NONAKTIF"
+ },
+ explorerArrows: {
+ toggle: "Alihkan panah folder di Explorer",
+ enable: "Tampilkan panah folder di Explorer",
+ disable: "Sembunyikan panah folder di Explorer"
+ },
+ grayscale: {
+ toggle: "Alihkan ikon grayscale",
+ enable: "Aktifkan ikon grayscale",
+ disable: "Nonaktifkan ikon grayscale"
+ },
+ saturation: {
+ inputPlaceholder: "Nilai saturasi (antara 0 dan 1)",
+ wrongValue: "Silakan masukkan angka desimal antara 0 dan 1."
+ }
+};
diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts
index 3e66c88948..7bd34c5759 100644
--- a/src/core/icons/fileIcons.ts
+++ b/src/core/icons/fileIcons.ts
@@ -750,7 +750,8 @@ export const fileIcons: FileIcons = {
{ name: 'mxml', fileExtensions: ['mxml'] },
{ name: 'autohotkey', fileExtensions: ['ahk'] },
{ name: 'flash', fileExtensions: ['swf'] },
- { name: 'swc', fileExtensions: ['swc'] },
+ { name: 'adobe-swc', fileExtensions: ['swc'] },
+ { name: 'swc', fileExtensions: ['swcrc'] },
{
name: 'cmake',
fileExtensions: ['cmake'],
@@ -1170,14 +1171,18 @@ export const fileIcons: FileIcons = {
'.env.dist',
'.env.prod',
'.env.production',
+ '.env.stg',
'.env.stage',
'.env.staging',
'.env.preview',
'.env.test',
'.env.testing',
+ '.env.dev.local',
'.env.development.local',
'.env.qa.local',
+ '.env.prod.local',
'.env.production.local',
+ '.env.stg.local',
'.env.staging.local',
'.env.test.local',
'.env.uat',
@@ -1711,6 +1716,8 @@ export const fileIcons: FileIcons = {
'vac',
'vdp',
'vox',
+ 'gltf',
+ 'glb',
],
},
{ name: 'buildkite', fileNames: ['buildkite.yml', 'buildkite.yaml'] },
@@ -1728,7 +1735,25 @@ export const fileIcons: FileIcons = {
{
name: 'svelte',
fileExtensions: ['svelte'],
- fileNames: ['svelte.config.js', 'svelte.config.cjs'],
+ patterns: {
+ 'svelte.config': FileNamePattern.Ecmascript,
+ },
+ },
+ {
+ name: 'svelte_js',
+ fileExtensions: ['svelte.js'],
+ clone: {
+ base: 'svelte',
+ color: 'amber-400',
+ },
+ },
+ {
+ name: 'svelte_ts',
+ fileExtensions: ['svelte.ts'],
+ clone: {
+ base: 'svelte',
+ color: 'light-blue-700',
+ },
},
{
name: 'vim',
@@ -1846,6 +1871,7 @@ export const fileIcons: FileIcons = {
{ name: 'moonscript', fileExtensions: ['moon'] },
{ name: 'percy', fileNames: ['.percy.yml'] },
{ name: 'gitpod', fileNames: ['.gitpod.yml'] },
+ { name: 'stackblitz', fileNames: ['.stackblitzrc'] },
{ name: 'advpl', fileExtensions: ['prw', 'prx'] },
{
name: 'advpl-ptm',
@@ -2048,7 +2074,16 @@ export const fileIcons: FileIcons = {
{ name: 'grain', fileExtensions: ['gr'] },
{ name: 'lolcode', fileExtensions: ['lol'] },
{ name: 'idris', fileExtensions: ['idr', 'ibc'] },
- { name: 'quasar', fileNames: ['quasar.conf.js', 'quasar.config.js'] },
+ {
+ name: 'quasar',
+ fileNames: [
+ 'quasar.conf.js',
+ 'quasar.config.js',
+ 'quasar.conf.ts',
+ 'quasar.config.ts',
+ 'quasar.config.cjs',
+ ],
+ },
{ name: 'dependabot', fileNames: ['dependabot.yml', 'dependabot.yaml'] },
{ name: 'pipeline', fileExtensions: ['pipeline'] },
{
@@ -2492,6 +2527,17 @@ export const fileIcons: FileIcons = {
},
},
{ name: 'apps-script', fileExtensions: ['gs'] },
+ {
+ name: 'garden',
+ fileNames: [
+ 'garden.yml',
+ 'garden.yaml',
+ 'project.garden.yml',
+ 'project.garden.yaml',
+ '.gardenignore',
+ ],
+ fileExtensions: ['.garden.yml', '.garden.yaml'],
+ },
{
name: 'pkl',
fileExtensions: ['pkl'],
@@ -2619,6 +2665,7 @@ export const fileIcons: FileIcons = {
patterns: {
'taze.config': FileNamePattern.Ecmascript,
},
+ fileNames: ['.tazerc', '.tazerc.json'],
},
{
name: 'wxt',
@@ -2630,5 +2677,86 @@ export const fileIcons: FileIcons = {
name: 'sway',
fileExtensions: ['sw'],
},
+ {
+ name: 'lefthook',
+ fileNames: [
+ '.lefthook-local.json',
+ '.lefthook-local.toml',
+ '.lefthook-local.yaml',
+ '.lefthook-local.yml',
+ '.lefthook.json',
+ '.lefthook.toml',
+ '.lefthook.yaml',
+ '.lefthook.yml',
+ '.lefthookrc',
+ 'lefthook-local.json',
+ 'lefthook-local.toml',
+ 'lefthook-local.yaml',
+ 'lefthook-local.yml',
+ 'lefthook.json',
+ 'lefthook.toml',
+ 'lefthook.yaml',
+ 'lefthook.yml',
+ 'lefthookrc',
+ ],
+ },
+ {
+ name: 'label',
+ fileNames: ['.github/labeler.yml', '.github/labeler.yaml'],
+ },
+ {
+ name: 'zeabur',
+ fileExtensions: ['zeabur'],
+ patterns: {
+ zeabur: FileNamePattern.Configuration,
+ },
+ light: true,
+ },
+ {
+ name: 'copilot',
+ fileNames: ['.github/copilot-instructions.md'],
+ light: true
+ },
+ {
+ name: 'bench-ts',
+ fileExtensions: [
+ 'bench.ts',
+ 'bench.cts',
+ 'bench.mts',
+ ],
+ },
+ {
+ name: 'bench-jsx',
+ fileExtensions: [
+ 'bench.jsx',
+ 'bench.tsx',
+ ],
+ },
+ {
+ name: 'bench-js',
+ fileExtensions: [
+ 'bench.js',
+ 'bench.cjs',
+ 'bench.mjs',
+ ],
+ },
+ {
+ name: 'pre-commit',
+ fileNames: ['.pre-commit-config.yaml', '.pre-commit-hooks.yaml'],
+ },
+ {
+ name: 'controller',
+ fileExtensions: ['controller.js', 'controller.ts'],
+ enabledFor: [
+ // Not for Nest
+ IconPack.Angular,
+ IconPack.Ngrx,
+ IconPack.Qwik,
+ IconPack.React,
+ IconPack.Redux,
+ IconPack.Vue,
+ IconPack.Vuex,
+ ],
+ },
]),
};
diff --git a/src/core/icons/languageIcons.ts b/src/core/icons/languageIcons.ts
index 8bad5b0934..4522d0b8a5 100644
--- a/src/core/icons/languageIcons.ts
+++ b/src/core/icons/languageIcons.ts
@@ -159,5 +159,9 @@ export const languageIcons: LanguageIcon[] = [
icon: { name: 'concourse' },
ids: ['concourse-pipeline-yaml', 'concourse-task-yaml'],
},
+ {
+ icon: { name: 'systemd', light: true },
+ ids: ['systemd-conf', 'systemd-unit-file'],
+ },
{ icon: { name: 'slint' }, ids: ['slint'] },
];
diff --git a/src/scripts/module/prepare.ts b/src/scripts/module/prepare.ts
index 3486636734..efd506e338 100644
--- a/src/scripts/module/prepare.ts
+++ b/src/scripts/module/prepare.ts
@@ -9,6 +9,7 @@ import { spawn } from 'bun';
*/
const prepareModule = async () => {
try {
+ // Set the main field in the package.json to the correct path
const setMain = spawn([
'npm',
'pkg',
@@ -17,6 +18,10 @@ const prepareModule = async () => {
]);
await setMain;
+ // Remove vscode specific fields from package.json
+ const removeBrowser = spawn(['npm', 'pkg', 'delete', 'browser']);
+ await removeBrowser;
+
//copy readme into root directory
const readmePath = join(process.cwd(), 'src', 'module', 'README.md');
console.log('Copying README.md to root directory...');