Metadata-Version: 2.0
Name: django-infinite-icons
Version: 0.1
Summary: Django-infinite-icons will help you to render SVG icons.
Home-page: https://github.com/akashdk/django-infinite-icons
Author: Akash Dhinagaran
Author-email: imakkash@gmail.com
License: MIT License
Project-URL: Documentation, https://github.com/akashdk/django-infinite-icons/blob/master/README.md
Project-URL: Say Thanks!, https://akkash.me
Project-URL: Source, https://github.com/akashdk/django-infinite-icons
Project-URL: Tracker, https://github.com/akashdk/django-infinite-icons/issues
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires: django (>= 1.11)

django-infinite-icons
=====================

|Build Status|

Django-infinite-icons will help you to render SVG icons in your template
& you can alter its width ,height and viewport without hassle.

This project is inspired by
`FeatherIcons <https://infiniteicons.com/>`__ and the author
`colebmis <https://twitter.com/colebemis>`__.

Installation
~~~~~~~~~~~~

you can get django-infinite-icons by using pip.

.. code:: sh

    $ pip install django-infinite-icons

To enable widget\_tweaks in your project you need to add it to
INSTALLED\_APPS in your projects settings.py file:

.. code:: sh

    INSTALLED_APPS = [
        ...
        'django_infinite_icons',
        ...
    ]

Example Usage for SVG render
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    {% load infinite %}

    {% icon_render 'activity.svg' width='45' %}
    {% icon_render 'activity.svg' height='45' width='45' %}
    {% icon_render 'activity.svg' height='45' width='45' viewbox='0 0 20 20' %}

Example Usage load as static file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

::

    {% load infinite %}

    {% icon_render 'activity.svg' %}

License
-------

`MIT <https://github.com/akashdk/django-infinite-icons/blob/master/LICENSE>`__

.. |Build Status| image:: https://travis-ci.org/joemccann/dillinger.svg?branch=master
   :target: https://travis-ci.org/joemccann/dillinger

