Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/userquin/iconify-demo-unocss
https://github.com/userquin/iconify-demo-unocss
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/userquin/iconify-demo-unocss
- Owner: userquin
- Created: 2023-08-12T10:33:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-13T14:25:09.000Z (over 1 year ago)
- Last Synced: 2024-10-15T00:02:32.465Z (about 1 month ago)
- Language: TypeScript
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Advanced Custom Icon Set Cleanup
Using [CustomIconLoader](https://github.com/iconify/iconify/blob/main/packages/utils/src/loader/types.ts#L17) to fix building and applying optimizations per icon request in [ @iconify/tools/@iconify-demo/unocss](https://github.com/iconify/tools/tree/main/%40iconify-demo/unocss) example.
UnoCSS Icon Loader is designed to handle pre-built [IconifyJSON]() collections without customizations. It is possible to use it with custom collections, but it requires the work here to delay resolving the icon until the collection is ready. On heavy collections/customizations process you may suffer some performance bottlenecks.