Skip to content

nids98/fontfare

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FontFare

Fare is the Maori. word for Home .

Installing

npm install @traum-ferienwohnungen/fontfare
cp node_modules/@traum-ferienwohnungen/fontfare/dist/ YOUR_DIRECTORY
@import ~/@traum-ferienwohnungen/fontfare/dist/scss/_fontfare;
$font-path: "YOUR_DIRECTORY";

Using the icons

Using the icons is a simple as adding two classes to your DOM Node.
The ff class implies that the element should be a fontfare icon. Then just add the name of the icon you want to use.

Example.
airportIcon
airport.svg becomes ff-airport

<i class="ff ff-wifi"></i>

Developer guide

# Use the node version specified in .nvmrc
nvm use
# Install packages
npm i
# Add files to icons folder
# Generate font
npm run build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • HTML 64.3%
  • JavaScript 35.7%