Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 861 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 861 Bytes

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