unplugin-icons icon indicating copy to clipboard operation
unplugin-icons copied to clipboard

Global transform for every icon

Open eye-wave opened this issue 2 years ago • 1 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

  • [X] Follow our Code of Conduct
  • [X] Read the Contributing Guide.
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

eye-wave avatar Sep 13 '23 12:09 eye-wave

Well, sure, PR welcome

antfu avatar Sep 14 '23 01:09 antfu