unplugin / unplugin-icons

šŸ¤¹ Access thousands of icons as components on-demand universally.

Home Page:https://www.npmjs.com/package/unplugin-icons

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global transform for every icon

eye-wave opened this issue Ā· comments

Clear and concise description of the problem

i've seen from the docs that the transform function only works on custom icons. why can't it work on all of them?

Suggested solution

make transform work on every icon, not just custom ones

Alternative

using compiler: "raw" and playing around with innerHTML

Additional context

this feature would be most useful for optimizations, since most of the icons look good with 1 or even 0 float numbers in the path element

Validations

Well, sure, PR welcome