mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2025-05-09 05:32:00 -04:00
.. | ||
work | ||
_clean_attrs.sed | ||
_clean_style_attr.sed | ||
_fix_color_scheme.sh | ||
_scour.sh | ||
build_color_folders.sh | ||
ffsvg.sh | ||
flathub_list_updater.sh | ||
make-dist.sh | ||
missing_flathub_apps.sh | ||
missing_mimetypes.sh | ||
README.md | ||
svgo.config.js |
Tools
ffsvg.sh PATH...
— finds, fixes and cleans SVG files_clean_attrs.sed
— removes unused attributes and removes attributes with default values from elements inside SVG files (part offfsvg.sh
)_clean_style_attr.sed
— removes unused properties and removes properties with default values from style attributes inside SVG files (part offfsvg.sh
)_fix_color_scheme.sh FILE...
— looks in the SVG files for certain colors and replaces them with the corresponding stylesheet class. Fixes a color scheme after Inkscape (part offfsvg.sh
)_scour.sh FILE...
— Scour wrapper (part offfsvg.sh
)svgo.config.js
— SVGO configuration (part offfsvg.sh
)
Useful snippets
Optimize and fix SVG files that are added or modified but not committed (recommended)
git status --porcelain | awk '/A|M/{print $2}' | xargs ./tools/ffsvg.sh
Optimize and fix SVG files that are committed in 043906b
git show --name-only 043906b | xargs ./tools/ffsvg.sh