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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66e5039939f981954cf9b5b1dd635bd3504d61bd8e3ebd059b080834182f2e84 |
|
MD5 | e4b5b5c3b7b918db738702cf628ca20a |
|
BLAKE2b-256 | ada1eedac66784b6339bb821d8fbc73eebdefe97b62875da437900e886a1de2e |