From a402a50c06600fab083527bbc23f4b01a9b75429 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Tue, 7 Aug 2018 20:16:49 +0200 Subject: [PATCH] Update contribution guidelines (#926) * Add instructions to reset the SVGOMG settings if changed * Update instructions on the precision of SVGO(MG) --- CONTRIBUTING.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 00ac5dd8..925d8ed9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,10 +77,12 @@ All icons in Simple Icons have been optimized with the [SVGO tool](https://githu * Install SVGO * With npm: `npm install -g svgo` * With Homebrew: `brew install svgo` - * Run the following command `svgo -p 3 icon.svg icon.min.svg` + * Run the following command `svgo -precision=3 icon.svg icon.min.svg` + * Check if there is a loss of quality in the output, if so increase the precision. * The [SVGOMG Online Tool](https://jakearchibald.github.io/svgomg/) * Click "Open SVG" and select an SVG file. - * Set the precision to 3, leave the remaining settings at the default values. + * Set the precision to about 3, depending on if there is a loss of quality. + * Leave the remaining settings untouched (or reset them with the button at the bottom of the settings). * Click the download button. ### 4. Annotate The Icon