Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global transform for every icon #307

Open
3 tasks done
eye-wave opened this issue Sep 13, 2023 · 1 comment
Open
3 tasks done

Global transform for every icon #307

eye-wave opened this issue Sep 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@eye-wave
Copy link

eye-wave commented Sep 13, 2023

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

@eye-wave eye-wave added the enhancement New feature or request label Sep 13, 2023
@antfu
Copy link
Member

antfu commented Sep 14, 2023

Well, sure, PR welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants