bacoords / block-theme

A starter block theme for modern WordPress developers.
GNU General Public License v3.0
47 stars 6 forks source link

Fluid typography broken in WordPress 6.3 #220

Closed bacoords closed 3 months ago

bacoords commented 11 months ago

We can see if this gets resolved by the time of release but a few things:

This trac ticket clearly lays out the issue of fluid type breaking in 6.3. The issue they raise is that fluid type is broken when your layout sizes in theme.json are not a pixel values. They mention clamp but in tangent we were using css variables as the values here: https://github.com/withtangent/tangent/blob/develop/src/theme-json/settings/layout.jsonc

In either case it seems to have broken it. We can determine the best fix or if even a fix is needed. I may even test with this PR in Gutenberg to see if that fixes it or not.