Fluid typography: Numerical values shall support "ref" data type for better design synchronization e.g. typography.fluid.maxViewportWidth = "ref": "settings.layout.contentSize" #53525
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Enhancement
A suggestion for improvement.
Original issue
minViewportWidth
andmaxViewportWidth
as standalone variables for fluid typography.Additional user need
minViewportWidth
andmaxViewportWidth
can take variable values likecontentSize
andwideSize
or the defined breakpoint variables to have a synchronized design experience with no need to manually update numerical values in multiple places.Add
ref
data type to fluid typography (goal of this issue)@ramonjd pointed out this is possible by integrating the
ref
data type as defined in the theme.json schema for fluid typography, then you could assign like this:Ticket triage
The text was updated successfully, but these errors were encountered: