Open porg opened 1 year ago
The ability to use references or css variables ( eg. var(--wp--custom--layout--content-size)
as mentioned in #55070) in these fields would be very useful for child theme inheritance workflows, minimizing the need to duplicate modified values in a child theme's theme.json.
@ramonjd when do you plan to implement this?
Thanks for the ping. The honest answer is I don't know. There a few competing priorities. I'd also want to ensure any lookup functions don't introduce any performance hits.
It is, however, still on the list so if someone else doesn't pick it up, I'd like to look at it when I get the opportunity.
Original issue
53081
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