material-icon-theme 5.24.0 → 5.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/README.md +78 -24
- package/dist/material-icons.json +1 -1
- package/dist/module/index.cjs +1 -1
- package/dist/types/core/generator/applyConfigToIcons.d.ts.map +1 -1
- package/dist/types/core/generator/clones/clonesGenerator.d.ts.map +1 -1
- package/dist/types/core/generator/clones/utils/cloneData.d.ts.map +1 -1
- package/dist/types/core/generator/clones/utils/cloning.d.ts +1 -1
- package/dist/types/core/generator/clones/utils/cloning.d.ts.map +1 -1
- package/dist/types/core/generator/clones/utils/color/colors.d.ts.map +1 -1
- package/dist/types/core/generator/clones/utils/color/materialPalette.d.ts.map +1 -1
- package/dist/types/core/generator/config/defaultConfig.d.ts.map +1 -1
- package/dist/types/core/generator/fileGenerator.d.ts.map +1 -1
- package/dist/types/core/generator/folderGenerator.d.ts.map +1 -1
- package/dist/types/core/generator/generateManifest.d.ts.map +1 -1
- package/dist/types/core/generator/iconOpacity.d.ts.map +1 -1
- package/dist/types/core/generator/iconSaturation.d.ts.map +1 -1
- package/dist/types/core/generator/languageGenerator.d.ts.map +1 -1
- package/dist/types/core/generator/renameIconFiles.d.ts.map +1 -1
- package/dist/types/core/generator/shared/svg.d.ts.map +1 -1
- package/dist/types/core/generator/shared/validation.d.ts.map +1 -1
- package/dist/types/core/helpers/configHash.d.ts.map +1 -1
- package/dist/types/core/helpers/customIconPaths.d.ts.map +1 -1
- package/dist/types/core/helpers/object.d.ts.map +1 -1
- package/dist/types/core/helpers/resolvePath.d.ts.map +1 -1
- package/dist/types/core/helpers/titlecase.d.ts.map +1 -1
- package/dist/types/core/helpers/writeFile.d.ts.map +1 -1
- package/dist/types/core/i18n/translate.d.ts.map +1 -1
- package/dist/types/core/icons/fileIcons.d.ts.map +1 -1
- package/dist/types/core/icons/folderIcons.d.ts.map +1 -1
- package/dist/types/core/icons/languageIcons.d.ts.map +1 -1
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/core/index.d.ts.map +1 -1
- package/dist/types/core/logging/logger.d.ts.map +1 -1
- package/dist/types/core/patterns/patterns.d.ts.map +1 -1
- package/dist/types/module/index.d.ts +1 -1
- package/dist/types/module/index.d.ts.map +1 -1
- package/icons/appveyor.svg +1 -1
- package/icons/architecture.svg +1 -1
- package/icons/arduino.svg +1 -1
- package/icons/aurelia.svg +1 -1
- package/icons/biome.svg +1 -1
- package/icons/bower.svg +1 -1
- package/icons/bun.svg +1 -1
- package/icons/bun_light.svg +1 -1
- package/icons/cabal.svg +1 -1
- package/icons/cairo.svg +1 -1
- package/icons/claude.svg +1 -0
- package/icons/coderabbit-ai.svg +1 -1
- package/icons/contentlayer.svg +1 -1
- package/icons/cuda.svg +1 -1
- package/icons/dart.svg +1 -1
- package/icons/docker.svg +1 -1
- package/icons/duc.svg +1 -1
- package/icons/editorconfig.svg +1 -1
- package/icons/elm.svg +1 -1
- package/icons/ember.svg +1 -1
- package/icons/fastlane.svg +1 -1
- package/icons/folder-ansible-open.svg +1 -1
- package/icons/folder-ansible.svg +1 -1
- package/icons/folder-atom-open.svg +1 -0
- package/icons/folder-atom.svg +1 -0
- package/icons/folder-aurelia-open.svg +1 -1
- package/icons/folder-aurelia.svg +1 -1
- package/icons/folder-bloc-open.svg +1 -1
- package/icons/folder-bloc.svg +1 -1
- package/icons/folder-bower-open.svg +1 -1
- package/icons/folder-bower.svg +1 -1
- package/icons/folder-claude-open.svg +1 -0
- package/icons/folder-claude.svg +1 -0
- package/icons/folder-cloudflare-open.svg +1 -1
- package/icons/folder-cloudflare.svg +1 -1
- package/icons/folder-export-open.svg +1 -1
- package/icons/folder-export.svg +1 -1
- package/icons/folder-firebase-open.svg +1 -1
- package/icons/folder-forgejo-open.svg +1 -1
- package/icons/folder-forgejo.svg +1 -1
- package/icons/folder-interceptor-open.svg +1 -0
- package/icons/folder-interceptor.svg +1 -0
- package/icons/folder-jupyter-open.svg +1 -1
- package/icons/folder-jupyter.svg +1 -1
- package/icons/folder-link-open.svg +1 -1
- package/icons/folder-link.svg +1 -1
- package/icons/folder-luau-open.svg +1 -1
- package/icons/folder-luau.svg +1 -1
- package/icons/folder-molecule-open.svg +1 -0
- package/icons/folder-molecule.svg +1 -0
- package/icons/folder-obsidian-open.svg +1 -1
- package/icons/folder-obsidian.svg +1 -1
- package/icons/folder-organism-open.svg +1 -0
- package/icons/folder-organism.svg +1 -0
- package/icons/folder-prompts-open.svg +1 -0
- package/icons/folder-prompts.svg +1 -0
- package/icons/folder-rust-open.svg +1 -1
- package/icons/folder-rust.svg +1 -1
- package/icons/folder-seeders.svg +1 -1
- package/icons/folder-snapcraft-open.svg +1 -1
- package/icons/folder-snapcraft.svg +1 -1
- package/icons/folder-trash-open.svg +1 -1
- package/icons/folder-trash.svg +1 -1
- package/icons/folder-webpack-open.svg +1 -1
- package/icons/folder-webpack.svg +1 -1
- package/icons/folder-wordpress-open.svg +1 -1
- package/icons/folder-wordpress.svg +1 -1
- package/icons/folder-zeabur-open.svg +1 -1
- package/icons/folder-zeabur.svg +1 -1
- package/icons/fsharp.svg +1 -1
- package/icons/fusebox.svg +1 -1
- package/icons/gatsby.svg +1 -1
- package/icons/gemini-ai.svg +1 -1
- package/icons/gnuplot.svg +1 -1
- package/icons/go_gopher.svg +1 -1
- package/icons/grafana-alloy.svg +1 -1
- package/icons/graphcool.svg +1 -1
- package/icons/grunt.svg +1 -1
- package/icons/hardhat.svg +1 -1
- package/icons/haxe.svg +1 -1
- package/icons/heroku.svg +1 -1
- package/icons/html.svg +1 -1
- package/icons/ionic.svg +1 -1
- package/icons/jenkins.svg +1 -1
- package/icons/julia.svg +1 -1
- package/icons/karma.svg +1 -1
- package/icons/knip.svg +1 -1
- package/icons/kotlin.svg +1 -1
- package/icons/liara.svg +1 -1
- package/icons/lighthouse.svg +1 -1
- package/icons/lintstaged.svg +1 -0
- package/icons/livescript.svg +1 -1
- package/icons/luau.svg +1 -1
- package/icons/nest.svg +1 -1
- package/icons/nix.svg +1 -1
- package/icons/npm.svg +1 -1
- package/icons/opa.svg +1 -1
- package/icons/oxlint.svg +1 -0
- package/icons/packship.svg +1 -1
- package/icons/payload.svg +1 -1
- package/icons/payload_light.svg +1 -1
- package/icons/php.svg +1 -1
- package/icons/phpstan.svg +1 -1
- package/icons/powerpoint.svg +1 -1
- package/icons/pre-commit.svg +1 -1
- package/icons/prettier.svg +1 -1
- package/icons/prompt.svg +1 -0
- package/icons/protractor.svg +1 -1
- package/icons/pug.svg +1 -1
- package/icons/python.svg +1 -1
- package/icons/quokka.svg +1 -1
- package/icons/rbxmk.svg +1 -1
- package/icons/restql.svg +1 -1
- package/icons/rojo.svg +1 -1
- package/icons/rspec.svg +1 -1
- package/icons/rubocop.svg +1 -1
- package/icons/rubocop_light.svg +1 -1
- package/icons/san.svg +1 -1
- package/icons/sequelize.svg +1 -1
- package/icons/smarty.svg +1 -1
- package/icons/snyk.svg +1 -1
- package/icons/storybook.svg +1 -1
- package/icons/swc.svg +1 -1
- package/icons/swift.svg +1 -1
- package/icons/taze.svg +1 -1
- package/icons/trigger.svg +1 -1
- package/icons/tsdoc.svg +1 -0
- package/icons/twig.svg +1 -1
- package/icons/uv.svg +1 -1
- package/icons/vala.svg +1 -1
- package/icons/vanilla-extract.svg +1 -0
- package/icons/varnish.svg +1 -0
- package/icons/vfl.svg +1 -1
- package/icons/watchman.svg +1 -1
- package/icons/webpack.svg +1 -1
- package/icons/wolframlanguage.svg +1 -1
- package/icons/yaml.svg +1 -1
- package/package.json +17 -17
- package/icons/ltx.clone.svg +0 -1
package/README.md
CHANGED
|
@@ -1,37 +1,45 @@
|
|
|
1
|
-
<!-- markdownlint-disable
|
|
1
|
+
<!-- markdownlint-disable -->
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/main/logo.png" alt="logo" width="120">
|
|
5
|
+
</p>
|
|
6
6
|
|
|
7
|
-
<
|
|
8
|
-
<img src="https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/main/logo.png" alt="logo" width="200">
|
|
7
|
+
<h1 align="center">Material Icon Theme</h1>
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
<p align="center"><em>Material Design icons for Visual Studio Code</em></p>
|
|
11
10
|
|
|
12
|
-
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://www.npmjs.com/package/material-icon-theme"><img src="https://img.shields.io/npm/v/material-icon-theme?style=for-the-badge&colorA=263238&colorB=43A047&label=VERSION" alt="NPM Version"></a>
|
|
13
|
+
<a href="https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme"><img src="https://img.shields.io/badge/Rating-4.9%2F5-43A047?style=for-the-badge&colorA=263238&colorB=43A047" alt="Rating"></a>
|
|
14
|
+
<a href="https://www.npmjs.com/package/material-icon-theme"><img src="https://img.shields.io/npm/dm/material-icon-theme?style=for-the-badge&colorA=263238&colorB=43A047&label=Downloads" alt="Monthly Downloads"></a>
|
|
15
|
+
</p>
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
</div>
|
|
19
|
-
<!-- markdownlint-restore -->
|
|
17
|
+
<br />
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
<p align="center">Enjoying Material Icon Theme? Support the project by starring it or becoming a sponsor!</p>
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
<p align="center">
|
|
23
|
+
<a href="https://github.com/sponsors/material-extensions"><img src="https://img.shields.io/badge/Sponsor-GitHub-blue?logo=github-sponsors&style=for-the-badge&colorA=263238&colorB=EC407A" alt="Sponsor on GitHub"></a>
|
|
24
|
+
<a href="https://github.com/material-extensions/vscode-material-icon-theme"><img src="https://img.shields.io/github/stars/material-extensions/vscode-material-icon-theme?style=for-the-badge&label=Star%20on%20GitHub&colorA=263238&colorB=1976D2" alt="Star on GitHub"></a>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
<br />
|
|
28
|
+
|
|
29
|
+
### File icons
|
|
24
30
|
|
|
25
31
|
<details><summary>🏞️ <b>Show all available file icons</b></summary><br/><img src="https://raw.githubusercontent.com/material-extensions/vscode-material-icon-theme/main/images/fileIcons.png" alt="file icons"></details>
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
### Folder icons
|
|
28
34
|
|
|
29
35
|
<details><summary>🏞️ <b>Show all available folder icons</b></summary><br/><img src="https://raw.githubusercontent.com/material-extensions/vscode-material-icon-theme/main/images/folderIcons.png" alt="folder icons"></details>
|
|
36
|
+
|
|
37
|
+
<br /><br />
|
|
30
38
|
<!-- markdownlint-restore -->
|
|
31
39
|
|
|
32
40
|
## Description
|
|
33
41
|
|
|
34
|
-
This npm module provides all
|
|
42
|
+
This npm module provides all icons from the [VS Code Material Icon Theme](https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme) as an npm package. The icons are available as SVG files and can be used in any web project.
|
|
35
43
|
|
|
36
44
|
## Installation
|
|
37
45
|
|
|
@@ -43,15 +51,15 @@ npm install material-icon-theme
|
|
|
43
51
|
|
|
44
52
|
## Usage
|
|
45
53
|
|
|
46
|
-
All
|
|
54
|
+
All SVG files can be found in the `node_modules/material-icon-theme/icons` folder. To get the mapping between file/folder names and icons, use the `generateManifest` function:
|
|
47
55
|
|
|
48
56
|
```javascript
|
|
49
57
|
import { generateManifest } from 'material-icon-theme';
|
|
50
58
|
```
|
|
51
59
|
|
|
52
|
-
The `generateManifest` function returns a JSON object with the mapping between
|
|
60
|
+
The `generateManifest` function returns a JSON object with the mapping between file/folder names and icons. This object can be used to display icons in web projects.
|
|
53
61
|
|
|
54
|
-
This manifest follows the official VS Code extension API guidelines. More information
|
|
62
|
+
This manifest follows the official VS Code extension API guidelines. More information about the manifest structure and usage can be found [in the VS Code documentation](https://code.visualstudio.com/api/extension-guides/file-icon-theme#icon-definitions).
|
|
55
63
|
|
|
56
64
|
The type definition for the manifest can be found in the `material-icon-theme` module:
|
|
57
65
|
|
|
@@ -61,7 +69,7 @@ import { Manifest } from 'material-icon-theme';
|
|
|
61
69
|
|
|
62
70
|
### Configure the icons
|
|
63
71
|
|
|
64
|
-
|
|
72
|
+
When generating the manifest, you can pass configuration options to the `generateManifest` function. These options are the same as those used in the VS Code Material Icon Theme extension:
|
|
65
73
|
|
|
66
74
|
```typescript
|
|
67
75
|
import { type ManifestConfig, type IconAssociations, type IconPackValue, generateManifest } from 'material-icon-theme';
|
|
@@ -84,7 +92,7 @@ const config: ManifestConfig = {
|
|
|
84
92
|
const manifest = generateManifest(config);
|
|
85
93
|
```
|
|
86
94
|
|
|
87
|
-
Not all configuration options
|
|
95
|
+
Not all configuration options are required. The `generateManifest` function uses default values for any options not provided.
|
|
88
96
|
|
|
89
97
|
## Icon packs
|
|
90
98
|
|
|
@@ -97,3 +105,49 @@ const iconPacks: Array<IconPackValue> = availableIconPacks;
|
|
|
97
105
|
|
|
98
106
|
console.log('Available icon packs:', iconPacks);
|
|
99
107
|
```
|
|
108
|
+
|
|
109
|
+
## Icon sources
|
|
110
|
+
|
|
111
|
+
- [Material Design Icons](https://pictogrammers.com/library/mdi/)
|
|
112
|
+
- [Material Symbols](https://fonts.google.com/icons)
|
|
113
|
+
|
|
114
|
+
## Contributors
|
|
115
|
+
|
|
116
|
+
Thank you to all our amazing contributors!
|
|
117
|
+
Your support helps make Material Icon Theme better for everyone.
|
|
118
|
+
|
|
119
|
+
[](https://github.com/material-extensions/vscode-material-icon-theme/graphs/contributors)
|
|
120
|
+
|
|
121
|
+
## Contributing
|
|
122
|
+
|
|
123
|
+
We welcome contributions of all kinds! Whether you want to add new icons, improve documentation, fix bugs, or help with translations, your input is appreciated.
|
|
124
|
+
|
|
125
|
+
**How to get involved:**
|
|
126
|
+
|
|
127
|
+
- 📖 **Read the [Contribution Guidelines](https://github.com/material-extensions/vscode-material-icon-theme/blob/main/CONTRIBUTING.md)**
|
|
128
|
+
Learn about our coding standards, icon design tips, and workflow.
|
|
129
|
+
|
|
130
|
+
- 🐛 **Report Issues**
|
|
131
|
+
Found a bug or have an icon request? [Open an issue](https://github.com/material-extensions/vscode-material-icon-theme/issues).
|
|
132
|
+
|
|
133
|
+
- 💡 **Submit Pull Requests**
|
|
134
|
+
Ready to contribute code or icons? [Create a pull request](https://github.com/material-extensions/vscode-material-icon-theme/pulls).
|
|
135
|
+
|
|
136
|
+
- 🌍 **Help with Translations**
|
|
137
|
+
Improve or add translations by editing the files in `src/i18n` and `package.nls.*.json`.
|
|
138
|
+
|
|
139
|
+
<!-- markdownlint-disable -->
|
|
140
|
+
<br />
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
<p align="center">
|
|
146
|
+
<a href="https://github.com/sponsors/material-extensions"><img src="https://img.shields.io/badge/Sponsor-GitHub-blue?logo=github-sponsors&style=for-the-badge&colorA=263238&colorB=EC407A" alt="Sponsor on GitHub"></a>
|
|
147
|
+
<a href="https://github.com/material-extensions/vscode-material-icon-theme"><img src="https://img.shields.io/github/stars/material-extensions/vscode-material-icon-theme?style=for-the-badge&label=Star%20on%20GitHub&colorA=263238&colorB=1976D2" alt="Star on GitHub"></a>
|
|
148
|
+
</p>
|
|
149
|
+
<p align="center">
|
|
150
|
+
<em>Enjoying Material Icon Theme? Support the project by starring it or becoming a sponsor!</em>
|
|
151
|
+
</p>
|
|
152
|
+
|
|
153
|
+
<!-- markdownlint-restore -->
|