Section Styles: Enable default block styles to be defined using styles/*.json files #63307
Labels
[Feature] Block Style Variations
Issues or PRs that are related to the style variations for blocks
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Theme.json can get rather large/monolithic, the ability to use smaller JSON files (as introduced for theme and block style variations) is leading us towards a more well-organized and composable future for themes. But adding all of your block styles into one
theme.json
file is still seen as a hurdle for theme builders.What is your proposed solution?
Right now we can set up block style variations using separate JSON files in
/styles/*.json
. We should extend this to allow developers to define the default styles for any block using this same approach.One example could just be support for using
which would be recognized immediately as additional default style choices for blocks.
See also: #38890 (comment)
The text was updated successfully, but these errors were encountered: