nickxbs / custom-icons

Custom icons (based on fontawesome)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Custom svg-icons based on Font Awesome Cheatsheet

How to generate new svg-based font

  1. Install Font Awesome on your system. See this youtube video

  2. Install Inkscape

  3. Open Inkscape, select FontAwesome as font, create layer, insert new text, copy icon from FontAwesome's cheatsheet and paste.

  4. Create new layer and paste another icon just like above

  5. Do this operations; bear in mind that you might need to apply differenct, intersection ecc operations on your objects.

    Group objects (Object -> Group Object (ctrl-g))
    Edit -> Resize page to selection (MAIUSC-CTRL-R)
    Path -> From Object to path Tracciato -> (MAIUSC-CTRL-C)

  6. Save your new svg

  7. Go to Icomoon and import your font (in svg format), then import all your new svg icons and download new generated font's zipfile

  8. Substitute files in your project:

 rm icomoon.eot icomoon.svg icomoon.ttf icomoon.woff && unzip.exe icomoon.zip && mv fonts/* . && rm
-r demo-files demo.html Read\ Me.txt selection.json style.css fonts/
  1. Create your classes (icomoon suggests you the code you need):
.farx-associate-document-2:before {
 content: "\e90b";
}
  1. Test your results

About

Custom icons (based on fontawesome)