@girder/fontello

3.2.6 • 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 configuration 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.

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i @girder/fontello

    Weekly Downloads

    90

    Version

    3.2.6

    License

    Apache-2.0

    Unpacked Size

    661 kB

    Total Files

    12

    Last publish

    Collaborators

    • manthey
    • zachmullen
    • brianhelba
    • danlamanna