You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We're using fluid typography in our projects with Theme UI, and we'd like to use a feature that supports the theme on clamp.
Describe the solution you'd like
It'd be nice to have something like this:
import{clamp}from'theme-ui'// or something like "@theme-ui/fluid"<Textsx={{fontSize: clamp(1,'4vw',2)// if using array of font sizesfontSize: clamp('lg','4vw','2xl')// if using font sizes as object}}/>
Is your feature request related to a problem? Please describe.
We're using fluid typography in our projects with Theme UI, and we'd like to use a feature that supports the theme on
clamp
.Describe the solution you'd like
It'd be nice to have something like this:
Describe alternatives you've considered
Currently, we're using this way:
Additional context
I can implement this feature if it makes sense to Theme UI lib.
The text was updated successfully, but these errors were encountered: