Fanstatic packaging of Font Awesome
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for js.fontawesome-5.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cfaf2727f9255ac3dc722fc653cff8104f406f7fe1e4694d2e9484b30bb3fb |
|
MD5 | fd55dad09826ff36b6d8fb9acc43d883 |
|
BLAKE2b-256 | d30a08b11e4a4131f778e7a0d4e9445c17aa91d897bfc83b9dfff389d851014d |