Skip to content

A hacky tool to get the class names from the Font Awesome icon page

Notifications You must be signed in to change notification settings

locii/Font-Awesome-Class-Names

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Font-Awesome-Class-Names

A hacky tool to get the class names from the Font Awesome icon page

This script will grab all of the class names from the Font Awesome icon page. This includes any of the icons used in the page itself, so you need to remove external icons used in navigation etc from the list.

How to use

Unzip to your local server and visit the build.php file in your browser. eg localhost:8888/class-names/build.php

Output

a. After visiting the build file the page will display a list of all class names on the page using this format:

'500px', 'amazon', 'balance-scale', 'battery-0', 'battery-1', 'battery-2', 'battery-3', 'battery-4', 'battery-empty', 'battery-full', 'battery-half', 'battery-quarter', 'battery-three-quarters',

....

You can edit the build.php file to change the format or to reinstate the fa- prefix.

b. In addition to the in page output a separate txt file is generated listing the fonts in the same format as rendered on the page ie /list/list-of-fontawesome-fonts.html c. A cheat sheet with basic styling and font example can be found by visiting the url: localhost:8888/class-names/cheat_sheet/

About

A hacky tool to get the class names from the Font Awesome icon page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published