Conversation
|
All good. The warnings are expected. This bundles all of the icons. It is indeed quite large, but that's expected, since it gives you access to tens of thousands of icons. |
|
I've been told on the discord that the package was too big to be accepted. I see two ways of condensing it:
Option 1 goes against the whole point of iconify: use any iconset. Option 2 is less ergonomic, and is hard to implement in typst: You'd have to have impure functions, unless the user gives the icon sets at every invocation. This would need to be done in rust. Or the user would have to wrap the functions in their own wrappers: #let myicon(..args) = icon(json-icons: json("mdi.json"), ..arg)
#myicon("mdi:home")Option 3 (like option 2), is ok as long as the document is in a single document. Else, we need to extract it into a shared package, and import it everywhere we need it. I barely have experience in typst, so I'd like your input on the best way to do it:
|
I am submitting
Description: Explain what the package does and why it's useful.
Allows to use any icon from icones.js.org.
I have read and followed the submission guidelines and, in particular, I
typst.tomlfile with all required keysREADME.mdwith documentation for my packageLICENSEfile or linked one in myREADME.mdexcluded PDFs or README images, if any, but not the LICENSE