@getprovi/craft-icons
v1.0.0
Published
Provi Craft Icons
Downloads
7
Keywords
Readme
Craft SVG Icons
This package contains a collection of SVG icons that are used in the Craft Design System.
Installation
pnpm add -D @getprovi/craft-icons
Usage
The raw svgs are used through the @getprovi/craft-svelte-icons
package for Svelte components and should not be used by themselves without consultation.
Build Package
By running the build command the package will run the config file, generate a sprite file and an ICONS.md
index file. There is also a console in the config that will show the exports that have to be added to the package.json
exports object. This only needs to be updated if there is an icon change or addition. This allows each svg to be imported individually into a project.
pnpm build