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
File details
Details for the file js.fontawesome-5.0.6.tar.gz
.
File metadata
- Download URL: js.fontawesome-5.0.6.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10880c66dc59d7dc713795d6352998ccc56579de229f5dd952216ad2d56267b |
|
MD5 | 522c1642339a9f035987577da17c0630 |
|
BLAKE2b-256 | 8a6d581134e7156f89833f9ef217e73c64a4e0b9a02ae1b167c8a0029be2eedc |
File details
Details for the file js.fontawesome-5.0.6-py2.py3-none-any.whl
.
File metadata
- Download URL: js.fontawesome-5.0.6-py2.py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03cfaf2727f9255ac3dc722fc653cff8104f406f7fe1e4694d2e9484b30bb3fb |
|
MD5 | fd55dad09826ff36b6d8fb9acc43d883 |
|
BLAKE2b-256 | d30a08b11e4a4131f778e7a0d4e9445c17aa91d897bfc83b9dfff389d851014d |