Skip to content

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

@haavamoa

Description

@haavamoa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions