fxos-tv-icons
v1.0.0
Published
## Installation
Downloads
2
Readme
fxos-tv-icons
Installation
$ npm install fxos-tv-icons
Then include folowing file in HTML
<link rel="stylesheet" href="node_modules/fxos-tv-icons/fxos-tv-icons.css">
Usage
Use i
tag to represent an icon.
<i data-icon="camera" data-l10n-id="camera"></i>
Examples
Contributions
If you wish to make changes to the icon font you'll need to follow these steps:
- Add, remove or change respective
.svg
files insideimages/
. - Run
$ npm install
to get pull in all the required build tools. - Make sure you have
fontforge
andttfautohint
installed on your machine. The grunt-webfont installation guide outlines the prerequisites. - Run
$ grunt
. - Load
index.html
locally in your browser and check your icon looks good. - Submit a pull request.
- Module owner will review, land, and stamp a new version.
Lint check
Run lint check with command:
$ npm run lint