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

Does svg height/width get respected if BaseSize is not set? #96

Open
haavamoa opened this issue May 16, 2023 · 0 comments
Open

Does svg height/width get respected if BaseSize is not set? #96

haavamoa opened this issue May 16, 2023 · 0 comments

Comments

@haavamoa
Copy link

Hi, we are collaborating with our designers creating a MAUI library where a consumer app gets the icons from the library.
Our designers export the svg and put it in a design tokens repository, we generate code based on this.

We've noticed that we can set a BaseSize for our svgs. This base size is normally included in the SVG's height / width when the designers draw the image, which means that we have to manually update each of our base size from the height/width of the svg.

Would it be possible to tell Resizetizer to use the included height / width as a base size instead of having to explicitly set it?
This is more of a question than an actual issue, we can make some magic code build time ourselves to do this, but we would rather not.

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

No branches or pull requests

1 participant