Skip to main content

Fanstatic packaging of Font Awesome

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

js.fontawesome

Introduction

This library packages Font Awesome for fanstatic.

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.fontawesome) are published to some URL.

How to use?

This package supports two flavours of Font Awesome:

SVG with JS

You can import fontawesome_js from js.fontawesome and need it where you want these resources to be included on a page:

>>> from js.fontawesome import fontawesome_js
>>> fontawesome_js.need()

There are also resources for the icon subsets provided by Font Awesome:

  • fa_brands_js

  • fa_regular_js

  • fa_solid_js

fa_v4_shims_js provides the BBB shim for version 4 of Font Awesome.

Web Fonts with CSS

You can import fontawesome_all_css from js.fontawesome and need it where you want these resources to be included on a page:

>>> from js.fontawesome import fontawesome_all_css
>>> fontawesome_all_css.need()

There are also resources for the icon subsets provided by Font Awesome:

  • fa_brands_css

  • fa_regular_css

  • fa_solid_css

CHANGES

5.0.6 (2018-02-02)

  • Initial release.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page