@girder/fontello

5.0.0-a2 • Public • Published

@girder/fontello

This npm package contains pre-built Fontello icon files for use with Girder's web client.

Usage

Typically, users of this package only need to depend on @girder/fontello via:

npm install --save-prod @girder/fontello

then import the CSS file somewhere within their Javascript sources:

import '@girder/fontello/dist/css/fontello.css';

As long as Webpack or another build system is able to include the CSS and internally referenced font files (with formats .eot, .svg, .ttf, .woff, .woff2) in your final build, no additional configuration is necessary.

If access to Fontello's animation template for elements with class="animate-spin" is desired, then also add:

import '@girder/fontello/dist/css/animation.css';

Updating

To add new icons to this build, visit Fontello's website and upload the fontello.config.json file within this package. Select new icons (but don't remove any), then download the new confguration via the site and overwrite fontello.config.json here. Then, just run:

npm install && npm run build

to fetch the new icons. Finally, update the version of this package and publish it.

Readme

Keywords

Package Sidebar

Install

npm i @girder/fontello

Weekly Downloads

189

Version

5.0.0-a2

License

Apache-2.0

Unpacked Size

655 kB

Total Files

12

Last publish

Collaborators

  • manthey
  • zachmullen
  • brianhelba
  • danlamanna