semvec/pypi-packages huggingface dataset:
js.fontawesome 5.0.6
Fanstatic packaging of Font Awesome
License: BSD
Keywords: Font Awesome fanstatic WSGI middleware static asset

js.fontawesome
**************

Introduction
============

This library packages `Font Awesome`_ for `fanstatic`_.

.. _`fanstatic`: http://fanstatic.org
.. _`Font Awesome`: https://fontawesome.com

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.