Update contribution guidelines (#926)

* Add instructions to reset the SVGOMG settings if changed

* Update instructions on the precision of SVGO(MG)
This commit is contained in:
Eric Cornelissen 2018-08-07 20:16:49 +02:00 committed by Johan Fagerberg
parent 4b824444ec
commit a402a50c06

View file

@ -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