Add Heroicons to your Wagtail site
Project description
Wagtail Heroicons
Add Heroicons to the Wagtail admin.
Note: SVG icons within the Wagtail admin are a relatively new feature in Wagtail, and the hook used within this package is not publically documented. As such, the API provided by Wagtail may change and cause breakage within this package. See Issue #6107 and PR #6028 in the Wagtail repository for more information.
Installation
Install the package using pip:
pip install wagtail-heroicons
Add wagtail_heroicons
to your INSTALLED_APPS
setting in your settings.py
file:
INSTALLED_APPS = [
...
'wagtail_heroicons',
]
Usage
All icons follow the following naming convention: heroicons-<name>-<style>
.
For example, the solid Adjustments icon would be heroicons-adjustments-solid
.
To see all available icons, names and styles, visit the Heroicons website.
See the Wagtail documentation for more information on using icons in Wagtail.
License
This package is licensed under the MIT License. See the LICENSE file for details.
Heroicons are licensed under the MIT License and are Copyright (c) 2020 Refactoring UI Inc.
Project details
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 wagtail_heroicons-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8570af4c727f7c8df73e27a9bad093580c4338671eecdf15384debd228cf444 |
|
MD5 | 86f17619c5a1b7e3258baf232dc41e03 |
|
BLAKE2b-256 | df8040912e0e3d26fb4c5f8adfbf2beb287e657384d8e3d7f13af300693a3edc |