mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02:00
Updated contribution instructions
This commit is contained in:
parent
fed374a659
commit
de8f61fd76
19
README.md
19
README.md
@ -2,15 +2,12 @@
|
|||||||
|
|
||||||
# Simple Icons
|
# Simple Icons
|
||||||
|
|
||||||
## Build Process
|
## Want to contribute?
|
||||||
|
|
||||||
1. Acquire source vector file.
|
1. Find an official source vector image.
|
||||||
1. Simplify icon in vector editing tool (I use [Affinity Designer](https://affinity.serif.com/en-gb/)).
|
2. Use your SVG editor of choice to produce a monochrome icon (with a view to keeping the file size as small as possible).
|
||||||
- Constrain within a 16x16 viewbox.
|
3. Optimize the SVG using SVGO and add it to the `/icons` directory.
|
||||||
- Ensure there are no strokes.
|
4. Add an entry to `/src/simple-icons.json` with:
|
||||||
- Simplify and minimise paths.
|
- The icon title
|
||||||
- Make all paths white.
|
- The HEX colour value
|
||||||
1. Export SVG.
|
- The URL of the source vector image (or the page it’s available at)
|
||||||
1. Run SVGO on the SVG file.
|
|
||||||
1. Add object to [simple-icons.json](https://github.com/danleech/simple-icons/blob/gh-pages/src/simple-icons.json).
|
|
||||||
1. Run [build.js](https://github.com/danleech/simple-icons/blob/gh-pages/src/build.js) in Node.
|
|
Loading…
Reference in New Issue
Block a user