diff --git a/extensions/material.theme.config.ts b/extensions/material.theme.config.ts index 53bdf38..7b0a69b 100644 --- a/extensions/material.theme.config.ts +++ b/extensions/material.theme.config.ts @@ -8,11 +8,13 @@ import { reloadWindow, getCurrentThemeID, setIconsID } from "./helpers/vscode"; enum Commands { ACCENTS, - CHANGELOG + CHANGELOG, + THEME_ICONS } const OPTIONS: IGenericObject = { '🎨 Change accent color': Commands.ACCENTS, + '🛠 Fix file icons': Commands.THEME_ICONS, '🚧 Show changelog': Commands.CHANGELOG } @@ -50,6 +52,9 @@ export function activate(context: vscode.ExtensionContext) { case Commands.CHANGELOG: showChangelog(); break; + case Commands.THEME_ICONS: + THEME_ICONS().then(() => reloadWindow()).catch(error => console.trace(error)) + break; } }); }); diff --git a/package.json b/package.json index 8a0d05a..3e3a419 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "contributes": { "commands": [ { - "category": "Material Theme", + "category": "🎨 Material Theme", "command": "material.theme.config", "title": "Configuration" } diff --git a/src/icons/partials/fileExtensions.js b/src/icons/partials/fileExtensions.js index 2b006ff..dfe56f5 100644 --- a/src/icons/partials/fileExtensions.js +++ b/src/icons/partials/fileExtensions.js @@ -1,6 +1,7 @@ "fileExtensions": { "zep": "_file_zephyr", "mjs": "_file_node", + "mjml": "_file_mjml", "blade.php": "_file_blade", "scala": "_file_scala", "asp": "_file_dotnet", @@ -133,10 +134,16 @@ "py": "_file_python", "url": "_file_url", "sh": "_file_console", + "ksh": "_file_console", + "csh": "_file_console", + "tcsh": "_file_console", + "zsh": "_file_console", + "bash": "_file_console", "bat": "_file_console", + "cmd": "_file_console", + "awk": "_file_console", "ps1": "_file_console", "fish": "_file_console", - "bash": "_file_console", "gradle": "_file_gradle", "doc": "_file_word", "docx": "_file_word", @@ -274,6 +281,11 @@ "tmTheme": "_file_markup", "pp": "_file_pp", "applescript": "_file_applescript", + "mp3": "_file_audio", + "flac": "_file_audio", + "m4a": "_file_audio", + "wma": "_file_audio", + "aiff": "_file_audio", "haml": "_file_haml", "ex": "_file_ex", "exs": "_file_ex", diff --git a/src/icons/partials/fileNames.js b/src/icons/partials/fileNames.js index b7a3083..922ca44 100644 --- a/src/icons/partials/fileNames.js +++ b/src/icons/partials/fileNames.js @@ -1,4 +1,18 @@ "fileNames": { + "code_of_conduct.md": "_file_conduct", + "jest.config.js": "_file_jest", + "jest.config.ts": "_file_jest", + "jest.config.json": "_file_jest", + "jest.setup.js": "_file_jest", + "jest.setup.ts": "_file_jest", + "jest.json": "_file_jest", + ".jestrc": "_file_jest", + "jest.teardown.js": "_file_jest", + "jenkinsfile": "_file_jenkins", + "gatsby.config.js": "_file_gatsby", + "firebase.json": "_file_firebase", + ".firebaserc": "_file_firebase", + "code_of_conduct.md.rendered": "_file_conduct", ".gitlab-ci.yml": "_file_gitlab", "gruntfile.js": "_file_grunt", "package-lock.json": "_file_package-lock", @@ -76,6 +90,8 @@ ".jsbeautifyrc": "_file_json", "git-history": "_file_git", "angular-cli.json": "_file_angular", + "component.ts": "_file_angular", + "component.js": "_file_angular", "app.module.ts": "_file_angular", "favicon.ico": "_file_favicon" }, \ No newline at end of file diff --git a/src/icons/partials/languageIds.js b/src/icons/partials/languageIds.js index a812b13..710488f 100644 --- a/src/icons/partials/languageIds.js +++ b/src/icons/partials/languageIds.js @@ -1,3 +1,4 @@ "languageIds": { - "git": "_file_git" + "git": "_file_git", + "ng-template": "_file_angular" }, \ No newline at end of file diff --git a/src/icons/svgs/angular.svg b/src/icons/svgs/angular.svg index d48359e..c23e0bf 100755 --- a/src/icons/svgs/angular.svg +++ b/src/icons/svgs/angular.svg @@ -1,54 +1,3 @@ - - - - - - image/svg+xml - - - - - - - + + diff --git a/src/icons/svgs/audio.svg b/src/icons/svgs/audio.svg new file mode 100644 index 0000000..e2ea335 --- /dev/null +++ b/src/icons/svgs/audio.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/icons/svgs/conduct.svg b/src/icons/svgs/conduct.svg new file mode 100644 index 0000000..c000154 --- /dev/null +++ b/src/icons/svgs/conduct.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/icons/svgs/contributing.svg b/src/icons/svgs/contributing.svg index 02e92f6..8674eef 100755 --- a/src/icons/svgs/contributing.svg +++ b/src/icons/svgs/contributing.svg @@ -1,54 +1,6 @@ - - - - - - image/svg+xml - - - - - - - + + + + + diff --git a/src/icons/svgs/firebase.svg b/src/icons/svgs/firebase.svg new file mode 100644 index 0000000..7bdcb8d --- /dev/null +++ b/src/icons/svgs/firebase.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/icons/svgs/flow.svg b/src/icons/svgs/flow.svg index a3a96ff..6ce1014 100755 --- a/src/icons/svgs/flow.svg +++ b/src/icons/svgs/flow.svg @@ -1,65 +1,3 @@ - - - - - - image/svg+xml - - - - - - - - F + + diff --git a/src/icons/svgs/gatsby.svg b/src/icons/svgs/gatsby.svg new file mode 100644 index 0000000..0af9de4 --- /dev/null +++ b/src/icons/svgs/gatsby.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/icons/svgs/gulpfile.svg b/src/icons/svgs/gulpfile.svg new file mode 100644 index 0000000..4b42ee1 --- /dev/null +++ b/src/icons/svgs/gulpfile.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/icons/svgs/haml.svg b/src/icons/svgs/haml.svg index aa23f66..9f63e61 100644 --- a/src/icons/svgs/haml.svg +++ b/src/icons/svgs/haml.svg @@ -1,7 +1,3 @@ - - - - - + diff --git a/src/icons/svgs/jenkins.svg b/src/icons/svgs/jenkins.svg new file mode 100644 index 0000000..21d52f9 --- /dev/null +++ b/src/icons/svgs/jenkins.svg @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/icons/svgs/jest.svg b/src/icons/svgs/jest.svg new file mode 100644 index 0000000..6315998 --- /dev/null +++ b/src/icons/svgs/jest.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/icons/svgs/less.svg b/src/icons/svgs/less.svg index 3fbe602..de1a9b8 100644 --- a/src/icons/svgs/less.svg +++ b/src/icons/svgs/less.svg @@ -1,3 +1,3 @@ - + diff --git a/src/icons/svgs/mjml.svg b/src/icons/svgs/mjml.svg new file mode 100644 index 0000000..f7cb349 --- /dev/null +++ b/src/icons/svgs/mjml.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/icons/svgs/stylus.svg b/src/icons/svgs/stylus.svg index 5ff74bf..153ebb7 100644 --- a/src/icons/svgs/stylus.svg +++ b/src/icons/svgs/stylus.svg @@ -1,7 +1,7 @@ - - + + diff --git a/src/icons/svgs/typescript_def.svg b/src/icons/svgs/typescript_def.svg index 15f4410..459c4f2 100755 --- a/src/icons/svgs/typescript_def.svg +++ b/src/icons/svgs/typescript_def.svg @@ -1,72 +1,7 @@ - - - - - - image/svg+xml - - - - - - - - - TS - + + + + + + diff --git a/test/audio.mp3 b/test/audio.mp3 new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/test/audio.mp3 @@ -0,0 +1 @@ + diff --git a/test/audio.wma b/test/audio.wma new file mode 100644 index 0000000..e69de29