I see it as part of the roadmap and high up in there. Creating this ticket so that one can know once the guidelines are live.
Please close this ticket once the guidelines are published.
Working to get a setup for SVGO that post-processes SVG output into a nice clean form, ready for inclusion - I think this should be a part of the guidelines. Do you have any recommendations on configuration/setup? Please tell me I don't have to hand modify each SVG icon output :)
OK, realised that it's part of the build process, but still would be good to be submitting decent, clean SVG files in the first place. Any specific requirements, needs? Got it down and clean now, although I do have an extra
Okay, here's my first stab at some guidelines. I'll continue to update this comment as I have time, then move it into a markdown file when I feel like it's mostly complete.
These are strict constraints of the system and cannot be broken.
These are general guidelines that help create consistency but can be broken on a case-by-case basis.
90° corners should have a 2px radius:

Icons should have a 1px empty “safe zone” on the edges of the canvas:

Distinct elements of an icon should be seperated by at least 2px of empty space:

Icons should have similar "optical volumes:"
| Good | Bad |
| --- | --- |
|
|
|
See the "Grid and Optical Volume" section of Nucleo's Icon Guidelines.
# Clone the repo
git clone https://github.com/feathericons/feather.git
cd feather
# Install dependencies
npm install
# Run `all` script to make sure everything is set up properly
npm run all
# If the `all` script completes successfully, you're good to go!
icons directorynpm run buildIcons should have a 1px empty “safe zone” on the edges of the canvas:
I just opened some icons in Illustrator. None of them seem to respect this 1px safe zone 🤷🏽♂️
@naoufel-ui This rule can be broken case-by-case.
Most helpful comment
Okay, here's my first stab at some guidelines. I'll continue to update this comment as I have time, then move it into a markdown file when I feel like it's mostly complete.
Constraints
These are strict constraints of the system and cannot be broken.
Guidelines
These are general guidelines that help create consistency but can be broken on a case-by-case basis.
90° corners should have a 2px radius:
Icons should have a 1px empty “safe zone” on the edges of the canvas:
Distinct elements of an icon should be seperated by at least 2px of empty space:
Icons should have similar "optical volumes:"
| Good | Bad |
|
|
| --- | --- |
|
See the "Grid and Optical Volume" section of Nucleo's Icon Guidelines.
Project Setup
Adding an Icon
iconsdirectorynpm run build