import { type IconsOptions } from "https://deno.land/x/netzo@0.4.78/deps/@unocss/preset-icons/browser.ts";
Properties
Mode of generated CSS icons.
mask
- use background color and themask
property for monochrome iconsbackground-img
- use background image for the icons, colors are staticauto
- smartly decide mode betweenmask
andbackground-img
per icon based on its style
optional
collections: Record<string, | (() => Awaitable<IconifyJSON>)
| undefined
| CustomIconLoader
| InlineCollection
In Node.js environment, the preset will search for the installed iconify dataset automatically. When using in the browser, this options is provided to provide dataset with custom loading mechanism.
Custom icon customizations.
Auto install icon sources package when the usages is detected
WARNING: only on node
environment, on browser
this option will be ignored.
Load icons from CDN. Should starts with https://
and ends with /
Recommends: