mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 17:20:47 -04:00
.. | ||
template | ||
1-inkscape.sh | ||
2-papirus-stylesheet.sh | ||
_fix_color_scheme.sh | ||
README.md | ||
run_on_all.sh | ||
run_on_dirs.sh | ||
run_on_files.sh | ||
svgo.yml |
Tools
run_on_all.sh
— optimize and fix all SVG files in the repositoryrun_on_dirs.sh DIRECTORY...
— optimize and fix SVG files in the directoryrun_on_files.sh FILE...
— optimize and fix the SVG files_fix_color_scheme.sh FILE...
— remove a color property fromstyle="color:#5c616c;fill:currentColor;opacity:1"
if classColorScheme-*
existssvgo.yml
— SVGO configuraion
Useful snippets
Optimize and fix SVG files that are changed but not committed
git diff --name-only | xargs ./tools/run_on_files.sh
Optimize and fix SVG files that are committed in 043906b
git show --name-only 043906b | xargs ./tools/run_on_files.sh