material-icon-theme 5.11.0 → 5.12.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.
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#90a4ae" d="M16 5A11 11 0 1 1 5 16 11.012 11.012 0 0 1 16 5m0-3a14 14 0 1 0 14 14A14 14 0 0 0 16 2Z"/></svg>
1
+ <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M16,5A11,11,0,1,1,5,16,11.01245,11.01245,0,0,1,16,5m0-3A14,14,0,1,0,30,16,14,14,0,0,0,16,2Z" fill="#90a4ae" /></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#90a4ae" d="M16 5A11 11 0 1 1 5 16 11.012 11.012 0 0 1 16 5m0-3a14 14 0 1 0 14 14A14 14 0 0 0 16 2Zm0 8a6 6 0 1 0 6 6 6 6 0 0 0-6-6Z"/></svg>
1
+ <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M16,5A11,11,0,1,1,5,16,11.01245,11.01245,0,0,1,16,5m0-3A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,8a6,6,0,1,0,6,6A6,6,0,0,0,16,10Z" fill="#90a4ae" /></svg>
package/icons/folder.svg CHANGED
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#90a4ae" d="m13.844 7.536-1.288-1.072A2 2 0 0 0 11.276 6H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h24a2 2 0 0 0 2-2V10a2 2 0 0 0-2-2H15.124a2 2 0 0 1-1.28-.464Z"/></svg>
1
+ <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><path d="M13.84376,7.53645l-1.28749-1.0729A2,2,0,0,0,11.27591,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2H15.12412A2,2,0,0,1,13.84376,7.53645Z" fill="#90a4ae" /></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#ffb300" d="m14.709 8.558-7.27-7.247a1.006 1.006 0 0 0-.893-.297l-4 .731c-.399.074-.714.38-.8.777l-.732 4.024c-.055.328.057.662.297.892l7.247 7.27c.393.39 1.025.39 1.417 0l4.734-4.733a1.006 1.006 0 0 0 0-1.417zm-8.981-2.8c-1.434 1.554-3.65-.764-2.117-2.214 1.411-1.378 3.467.704 2.15 2.178z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path fill="#2196f3" d="m5 15 8-8H9l2-6-8 8h4z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#00e676" d="m9 8 3-2v4z"/><circle cx="6" cy="8" r="2" fill="#00e676"/><path fill="#eceff1" d="M3 5H1v6h2v-1H2V6h1zm10 0h2v6h-2v-1h1V6h-1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="#00c853" d="m9 8 3-2v4z"/><circle cx="6" cy="8" r="2" fill="#00c853"/><path fill="#455a64" d="M3 5H1v6h2v-1H2V6h1zm10 0h2v6h-2v-1h1V6h-1z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#cfd8dc" d="m14 20 4 4-4 4H2v-8h8l10-8-6-4 6-4h10v8Z"/><path fill="#651fff" d="M20 4H2v8h18Z"/><path fill="#ff3d00" d="M30 20H14v8h16Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill="#263238" d="m14 20 4 4-4 4H2v-8h8l10-8-6-4 6-4h10v8Z"/><path fill="#651fff" d="M20 4H2v8h18Z"/><path fill="#ff3d00" d="M30 20H14v8h16Z"/></svg>
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": "5.11.0",
5
+ "version": "5.12.0",
6
6
  "license": "MIT",
7
7
  "scripts": {
8
8
  "precompile": "rimraf dist && bun run verify",
@@ -19,14 +19,13 @@
19
19
  "generateClones": "bun ./src/scripts/icons/generateClones.ts",
20
20
  "lint": "biome check --write ./src",
21
21
  "format": "biome format --write ./src",
22
- "preversion": "bun run contributors && bun run preview && bun run svgo && git add images/fileIcons.png images/contributors.png images/folderIcons.png icons/*.svg",
22
+ "preversion": "bun run contributors && bun run preview && bun run svgo && git add images/*.png icons/*.svg",
23
23
  "preview": "bun ./src/scripts/preview/run.ts",
24
24
  "svgo": "svgo -i icons -o icons -q",
25
25
  "test": "bun test",
26
26
  "version": "bun run changelog && git add CHANGELOG.md",
27
27
  "vscode:prepublish": "bun run lint && bun run build",
28
28
  "verify": "sheriff verify",
29
- "prepublishOnly": "bun ./src/scripts/module/prepare.ts",
30
29
  "postpublish": "git checkout package.json && git checkout README.md"
31
30
  },
32
31
  "publisher": "PKief",
@@ -39,6 +38,9 @@
39
38
  "sponsor": {
40
39
  "url": "https://github.com/sponsors/PKief"
41
40
  },
41
+ "engines": {
42
+ "vscode": "^1.55.0"
43
+ },
42
44
  "homepage": "https://github.com/material-extensions/vscode-material-icon-theme/blob/main/README.md",
43
45
  "repository": {
44
46
  "type": "git",
@@ -48,37 +50,297 @@
48
50
  "url": "https://github.com/material-extensions/vscode-material-icon-theme/issues"
49
51
  },
50
52
  "icon": "logo.png",
51
- "categories": [
52
- "Themes"
53
- ],
54
- "keywords": [
55
- "icons",
56
- "theme",
57
- "material",
58
- "icon-theme",
59
- "customization"
60
- ],
61
- "extensionKind": [
62
- "ui",
63
- "workspace"
64
- ],
53
+ "galleryBanner": {
54
+ "color": "#1e1e1e",
55
+ "theme": "dark"
56
+ },
57
+ "categories": ["Themes"],
58
+ "keywords": ["icons", "theme", "material", "icon-theme", "customization"],
59
+ "extensionKind": ["ui", "workspace"],
65
60
  "capabilities": {
66
61
  "untrustedWorkspaces": {
67
62
  "supported": true
68
63
  },
69
64
  "virtualWorkspaces": true
70
65
  },
71
- "activationEvents": [
72
- "onStartupFinished"
73
- ],
66
+ "activationEvents": ["onStartupFinished"],
74
67
  "main": "./dist/module/index.cjs",
75
68
  "module": "./dist/module/index.cjs",
76
69
  "types": "./dist/types/module/index.d.ts",
77
70
  "sideEffects": false,
71
+ "contributes": {
72
+ "iconThemes": [
73
+ {
74
+ "id": "material-icon-theme",
75
+ "label": "Material Icon Theme",
76
+ "path": "./dist/material-icons.json",
77
+ "_watch": true
78
+ }
79
+ ],
80
+ "commands": [
81
+ {
82
+ "command": "material-icon-theme.activateIcons",
83
+ "title": "%command.activateIcons%",
84
+ "enablement": "!isWeb"
85
+ },
86
+ {
87
+ "command": "material-icon-theme.toggleIconPacks",
88
+ "title": "%command.toggleIconPacks%",
89
+ "enablement": "!isWeb"
90
+ },
91
+ {
92
+ "command": "material-icon-theme.changeFolderTheme",
93
+ "title": "%command.changeFolderTheme%",
94
+ "enablement": "!isWeb"
95
+ },
96
+ {
97
+ "command": "material-icon-theme.changeFolderColor",
98
+ "title": "%command.changeFolderColor%",
99
+ "enablement": "!isWeb"
100
+ },
101
+ {
102
+ "command": "material-icon-theme.changeFileColor",
103
+ "title": "%command.changeFileColor%",
104
+ "enablement": "!isWeb"
105
+ },
106
+ {
107
+ "command": "material-icon-theme.restoreDefaultConfig",
108
+ "title": "%command.restoreDefaultConfig%",
109
+ "enablement": "!isWeb"
110
+ },
111
+ {
112
+ "command": "material-icon-theme.toggleExplorerArrows",
113
+ "title": "%command.toggleExplorerArrows%",
114
+ "enablement": "!isWeb"
115
+ },
116
+ {
117
+ "command": "material-icon-theme.changeOpacity",
118
+ "title": "%command.changeOpacity%",
119
+ "enablement": "!isWeb"
120
+ },
121
+ {
122
+ "command": "material-icon-theme.toggleGrayscale",
123
+ "title": "%command.toggleGrayscale%",
124
+ "enablement": "!isWeb"
125
+ },
126
+ {
127
+ "command": "material-icon-theme.changeSaturation",
128
+ "title": "%command.changeSaturation%",
129
+ "enablement": "!isWeb"
130
+ }
131
+ ],
132
+ "configuration": {
133
+ "type": "object",
134
+ "title": "%configuration.title%",
135
+ "properties": {
136
+ "material-icon-theme.activeIconPack": {
137
+ "type": "string",
138
+ "default": "angular",
139
+ "description": "%configuration.activeIconPack%",
140
+ "enumDescriptions": [
141
+ "%configuration.activeIconPack.angular%",
142
+ "%configuration.activeIconPack.angular_ngrx%",
143
+ "%configuration.activeIconPack.react%",
144
+ "%configuration.activeIconPack.react_redux%",
145
+ "%configuration.activeIconPack.qwik%",
146
+ "%configuration.activeIconPack.vue%",
147
+ "%configuration.activeIconPack.vue_vuex%",
148
+ "%configuration.activeIconPack.nest%",
149
+ "%configuration.activeIconPack.none%"
150
+ ],
151
+ "enum": [
152
+ "angular",
153
+ "angular_ngrx",
154
+ "react",
155
+ "react_redux",
156
+ "qwik",
157
+ "vue",
158
+ "vue_vuex",
159
+ "nest",
160
+ "none"
161
+ ]
162
+ },
163
+ "material-icon-theme.files.associations": {
164
+ "type": "object",
165
+ "default": {},
166
+ "description": "%configuration.files.associations%"
167
+ },
168
+ "material-icon-theme.folders.associations": {
169
+ "type": "object",
170
+ "default": {},
171
+ "description": "%configuration.folders.associations%"
172
+ },
173
+ "material-icon-theme.languages.associations": {
174
+ "type": "object",
175
+ "default": {},
176
+ "description": "%configuration.languages.associations%"
177
+ },
178
+ "material-icon-theme.files.customClones": {
179
+ "type": "array",
180
+ "default": [],
181
+ "items": {
182
+ "type": "object",
183
+ "properties": {
184
+ "name": {
185
+ "type": "string",
186
+ "description": "%configuration.customClones.name%"
187
+ },
188
+ "base": {
189
+ "type": "string",
190
+ "description": "%configuration.customClones.base%"
191
+ },
192
+ "color": {
193
+ "type": "string",
194
+ "description": "%configuration.customClones.color%"
195
+ },
196
+ "lightColor": {
197
+ "type": "string",
198
+ "description": "%configuration.customClones.lightColor%"
199
+ },
200
+ "fileNames": {
201
+ "type": "array",
202
+ "default": [],
203
+ "description": "%configuration.customClones.fileNames%",
204
+ "items": {
205
+ "type": "string"
206
+ }
207
+ },
208
+ "fileExtensions": {
209
+ "type": "array",
210
+ "default": [],
211
+ "description": "%configuration.customClones.fileExtensions%",
212
+ "items": {
213
+ "type": "string"
214
+ }
215
+ },
216
+ "activeForPacks": {
217
+ "type": "array",
218
+ "default": ["angular"],
219
+ "description": "%configuration.customClones.activeForPacks%",
220
+ "items": {
221
+ "type": "string",
222
+ "enumDescriptions": [
223
+ "%configuration.activeIconPack.angular%",
224
+ "%configuration.activeIconPack.angular_ngrx%",
225
+ "%configuration.activeIconPack.react%",
226
+ "%configuration.activeIconPack.react_redux%",
227
+ "%configuration.activeIconPack.qwik%",
228
+ "%configuration.activeIconPack.vue%",
229
+ "%configuration.activeIconPack.vue_vuex%",
230
+ "%configuration.activeIconPack.nest%",
231
+ "%configuration.activeIconPack.none%"
232
+ ],
233
+ "enum": [
234
+ "angular",
235
+ "angular_ngrx",
236
+ "react",
237
+ "react_redux",
238
+ "qwik",
239
+ "vue",
240
+ "vue_vuex",
241
+ "nest",
242
+ "none"
243
+ ]
244
+ }
245
+ }
246
+ }
247
+ },
248
+ "description": "%configuration.customClones%"
249
+ },
250
+ "material-icon-theme.folders.customClones": {
251
+ "type": "array",
252
+ "default": [],
253
+ "items": {
254
+ "type": "object",
255
+ "properties": {
256
+ "name": {
257
+ "type": "string",
258
+ "description": "%configuration.customClones.name%"
259
+ },
260
+ "base": {
261
+ "type": "string",
262
+ "description": "%configuration.customClones.base%"
263
+ },
264
+ "color": {
265
+ "type": "string",
266
+ "description": "%configuration.customClones.color%"
267
+ },
268
+ "lightColor": {
269
+ "type": "string",
270
+ "description": "%configuration.customClones.lightColor%"
271
+ },
272
+ "folderNames": {
273
+ "type": "array",
274
+ "description": "%configuration.customClones.folderNames%",
275
+ "items": {
276
+ "type": "string"
277
+ }
278
+ }
279
+ }
280
+ },
281
+ "description": "%configuration.customClones%"
282
+ },
283
+ "material-icon-theme.folders.theme": {
284
+ "type": "string",
285
+ "default": "specific",
286
+ "description": "%configuration.folders.theme%",
287
+ "enumDescriptions": [
288
+ "%configuration.folders.theme.specific%",
289
+ "%configuration.folders.theme.classic%",
290
+ "%configuration.folders.theme.none%"
291
+ ],
292
+ "enum": ["specific", "classic", "none"]
293
+ },
294
+ "material-icon-theme.folders.color": {
295
+ "type": "string",
296
+ "default": "#90a4ae",
297
+ "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
298
+ "description": "%configuration.folders.color%"
299
+ },
300
+ "material-icon-theme.files.color": {
301
+ "type": "string",
302
+ "default": "#90a4ae",
303
+ "pattern": "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$",
304
+ "description": "%configuration.files.color%"
305
+ },
306
+ "material-icon-theme.opacity": {
307
+ "type": "number",
308
+ "default": 1,
309
+ "minimum": 0,
310
+ "maximum": 1,
311
+ "description": "%configuration.opacity%"
312
+ },
313
+ "material-icon-theme.hidesExplorerArrows": {
314
+ "type": "boolean",
315
+ "default": false,
316
+ "description": "%configuration.hidesExplorerArrows%"
317
+ },
318
+ "material-icon-theme.saturation": {
319
+ "type": "number",
320
+ "default": 1,
321
+ "minimum": 0,
322
+ "maximum": 1,
323
+ "description": "%configuration.saturation%"
324
+ },
325
+ "material-icon-theme.enableLogging": {
326
+ "type": "boolean",
327
+ "default": false,
328
+ "description": "%configuration.enableLogging%"
329
+ },
330
+ "material-icon-theme.logLevel": {
331
+ "type": "string",
332
+ "default": "info",
333
+ "enum": ["info", "error", "debug"],
334
+ "description": "%configuration.logLevel%"
335
+ }
336
+ }
337
+ }
338
+ },
78
339
  "dependencies": {
79
340
  "chroma-js": "^2.4.2",
80
341
  "fast-deep-equal": "^3.1.3",
81
- "svgson": "^5.3.1"
342
+ "svgson": "^5.3.1",
343
+ "events": "^3.3.0"
82
344
  },
83
345
  "devDependencies": {
84
346
  "@biomejs/biome": "1.8.2",