-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Creating Line Icons
Alex Canales edited this page Dec 23, 2024
·
1 revision
A Line SVG is a stylized version of an SVG where the design is reduced to a single outlined path, resembling a line drawing. It removes all fill colors and gradients, using only strokes to define the shapes.
- Ensure the original SVG preparation steps are completed.
- If the original SVG is too complex, follow the steps to create a Plain SVG.
- An SVG is considered too complex if:
- It contains more than 1 path.
- It includes gradients.
- Had more than 1 fill color.
- Create a copy of the Plain SVG (or the Original SVG if it’s simple enough).
- Name the copy
line.svg
orline-wordmark.svg
.
- Launch Inkscape and open the SVG file.
- Verify that the paths are not grouped. If they are:
- Ungroup the paths.
- Ensure there is only 1 path.
- Select the path by pressing Ctrl+A.
- Open the Fill and Stroke menu:
- Go to the Stroke Paint tab and select Flat Color.
- Change the stroke style px size to make the lines easier to see. I choose 1px for this SVG.
- Go to the Fill Color tab and select No Color (the X button).
- Convert the stroke into a path by opening clicking path in the toolbar and then stroke to path.
- Ensure the SVG is scaled correctly:
- Click the lock icon in the top-right corner to maintain proportions while resizing.
- Select the input box with the largest value and set it to 128.
- Open the Align and Distribute menu.
- Ensure the group is selected and click:
- Align Vertically.
- Align Horizontally.
- Change the path fill color to the most prominent color found in the original logo.
- Follow the steps in Optimizing Icons so that the SVG can be used in Devicons.
Your SVG is now properly prepared and ready for use!
- What Icons Do We Accept?
- Requesting an Icon
- Overview on Submitting Icons
- Full Example of Submitting Icons
- Recommended Resources and Tools
- About the Maintainers, Supporters, and Contributors
- Code of Conduct
- Naming Conventions
- Organizing SVGs
- SVG Standards
- SVG Versions
- Updating
devicon.json
- Common Bugs and Solutions