Skip to content

Why does minimum font base size need to be smaller than maximum font base size? #54

@timcase

Description

@timcase

There is a validation, "Min font size must be less than max font size", and I'm wondering why can't the base size be the same for both min and max. For example what if base font size for both is 16px where the containers have a different type scale value for min and max, in my case 1.125 and 1.2. Essentially I want to have the min and max container have the same base font size but different typescales and I'm seeing that it isn't possible due to the validation. I'm still learning responsive typography using clamp, and I'm unsure of what I'm doing that's why I'm asking.

Why can't min and max base font size be the same?

Thanks for your effort on this it's a very useful tool, and I'm grateful.

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