Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✨ clone and recolorize icons (#2305)
* feat: ✨ clone and recolorize icons * feat: ✨ integrate icon cloning with the the extension * chore: 🧹 update vscode-test dependency vscode-test was renamed to @vscode/test-electron and the former package was unable to run tests on windows. this commit removes vscode-test and updates it to the last version of @vscode/test-electron * test: 🧪 fix failing tests * refactor: 🔨 improve in-code docs & comments * feat: ✨ config to create light variants of the icon * feat: ✨ improve recolorization improves recolorization logic, keeping originally darker colors dark and lighter colors light even after recolor * feat: ✨ edge cases: support ignoring recolorizing paths adds support for a custom svg attribute `mit-no-recolor` that, when set to true, will keep the original color of the svg node on which is applied * feat: ✨ do not recolor some paths in some edge-case icons * feat: ✨ jsconfig edge-case * refactor: 🔨 simplify cloning process * feat: ✨ allow creating clones at build time support for creating clones by configuring them in the fileIcons.ts and folderIcons.ts files so that the icons are created at build time allowing contributors to create clones that are shipped with the extension * test: 🧪 test clone configuration generation * chore: 🧹 fix file names to camelCase to match project style * test: 🧪 test clone data config generation * test: 🧪 color manipulation tests * test: 🧪 test svg cloning and recolor * test: 🧪 json config generation from user options * docs: 📝 update contributing guide and readme * feat: ✨ documentation for `mit-no-recolor` attribute * fix: 🚑 icon availability check failing on clone icons * fix: 🚑 broken links when generating icons preview png * fix: 🚑 icon usage check failing for clone icons * docs: 📝 CONTRIBUTING.md - add missing section to the TOC * fix: 🚑 filter out cloned icons from README preview pngs --------- Co-authored-by: Philipp Kief <philipp.kief@gmx.de>
- Loading branch information
1 parent
b94dbc4
commit 493d235
Showing
58 changed files
with
2,976 additions
and
495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.