Configuring Theme Design with theme.json

Configuring Theme Design with theme.json

Posted by Dot Org News on July 29, 2021 at 3:26 pm
kitty kitty CATegory News
Starting in WordPress 5.8, a new tool — “theme.json” — is available to use in your theme. Maybe you’re hearing about it for the first time, or maybe you’re testing and developing themes with it already. Either way, I’m glad you’re here because it’s an exciting time for WordPress themes. This post provides a quick introduction to this new framework, and describes what’s possible by sharing a few practical tips and examples. What’s theme.json? Technically, theme.json is just a file that lives at the top-level of a theme’s directory.  Conceptually, it’s a major shift in how themes can be developed. Theme authors now have a centralized mechanism to tailor the WordPress experience for site authors and visitors. Theme.json provides theme authors fine-grained control over global styles, block styles, and the block editor settings. By providing these settings and controls in a single file, theme.json provides a powerful framework that brings together many aspects of theme design and development. And as the block editor matures and adds more features, theme.json will shine as the backbone for themes and the editor to work together .  Why Use it? It’s the future! But if you’re like me, you might need something more tangible to be…

…Full post on Dot Org News
Read Full

Similar Posts

Leave a Reply