Feedback on adoption approach for exposing editable UI for the Style Book for Classic themes #68036
Labels
[Feature] Style Book
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Status] In discussion
Used to indicate that an issue is in the process of being discussed
[Type] Feedback
Issues that relate purely to feedback on a feature that isn't necessarily actionable
Context:
As of Gutenberg 19.9, the Style Book is now exposed to Classic themes. As it stands, support is available for Classic themes that either support editor styles via
add_theme_support( 'editor-styles' )
or have a theme.json file. Without either, the Style Book doesn't display anything useful. Here's a quick demo using Twenty Twenty-One:tt1.style.book.mov
In particular, the current thinking is that by having a theme.json file in a Classic theme that this marks an explicit opt in and, to quote @jasmussen, "edibility is progressive, insofar as if your theme.json is empty, or virtually empty, little to nothing would be editable. But for each array you add, whether that array is empty or not, would unlock part of the interface." For example, if you add
settings.typography
options, this would then give a user access to the UI for Typography and, potentially in the future, the font library.With all of this in mind, another PR is open to enable the Style Book regardless of whether a classic theme has theme.json or supports editor styles! All of this begs the question and points to needing to get right the opt in and opt out approach to provide the most value when it comes to exposing editable UI to users of classic themes. This issue seeks to gather that feedback to ensure we can come to the best decision possible.
Feedback needed
From what I can see we have two main tension points:
Please share feedback on the current approach and the desired approach you'd like to see. cc @WordPress/outreach & @WordPress/block-themers for good measure.
The text was updated successfully, but these errors were encountered: