Hello! This is the 77th roundup of theme-related discussions, fixes, and developments in Gutenberg coinciding with the 12.8 release.
New features:
Webfonts API: Font Configuration via theme.json
#37140 adds support for a Webfonts API allowing themes to express configuration of the fonts to load using only theme.json! This is pretty exciting. It’s just a beginning; tooling still needs to be built around this so that it’s easier to manage from the interface but this is a strong step toward the (very tricky) concept of Font management for themes.
Included in the Zip: Global Styles and More
#39048 adds the theme.json to the resources exported from the Full Site Editor. This is a step closer to having a fully operational theme exported from the FSE. (Note: how that might work is being discussed… see below!)
#39173 takes that even further and adds an index.php and style.css file as well.
Pattern Registration with theme.json
With #38323 we can now register wordpress.org/patterns to a theme via theme.json. This documentation helps clarify a bit.
Discussions:
Export what?
How do we build themes exclusively with the FSE? This tracking issue explores what we need to do to get there.
An abstraction too far?
The abstract property appearanceTools in theme.json might not be the right approach. It’s convenient but potentially confusing. Discussion started in 39586.
Semantic Abstractions?
The Standardization of Colors (among other things) has been discussed quite a bit but we still have no standardized resolution. 39372 opens a discussion regarding standardizing more of that in theme.json. 39371 does the same but for standardized spacing names and 39370 for typography. Please add your voice!