A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v4 15 lines 441 B view raw
1import { registerIconLibrary } from "@awesome.me/webawesome/dist/components/icon/library.js"; 2import data from "@phosphor-icons/web/light/selection.json" with { 3 type: "json", 4}; 5 6import { buildIconMap, makeSvgDataUrl } from "./_lib.js"; 7 8const map = buildIconMap(data); 9 10registerIconLibrary("phosphor/light", { 11 resolver: (name) => { 12 const icon = map.get(name); 13 return icon ? makeSvgDataUrl(icon.paths, icon.attrs) : ""; 14 }, 15});