davidhellmann / tailwindcss-fluid-type

A plugin that makes the use of Fluid Type a breeze.
MIT License
345 stars 9 forks source link

Min Max issue #27

Closed salmans-teikametrics closed 7 months ago

salmans-teikametrics commented 1 year ago

clamp() won't allow MIN > MAX, so I added a min and max check to flip the values if the small breakpoint font size is larger than its large breakpoint counterpart.

davidhellmann commented 1 year ago

I think I'll not merge the PR because of my latest comment here: https://github.com/davidhellmann/tailwindcss-fluid-type/issues/26

But thanks for investigating