Use title
in default theme.json to override "Default" label in Site Editor Style Variations
#40491
Labels
Developer Experience
Ideas about improving block and theme developer experience
[Feature] Style Variations
Related to style variations provided by block themes
[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
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Currently, only Style Variations support the
title
attribute not the defaulttheme.json
.In the Global Styles panel in the Site Editor
Default
is hard-coded for naming the default.What is your proposed solution?
It would be nice to prescribe a name other than
Default
.Light
that pairs nicely with a Style Variation namedDark
.Whimsical Brand
.By supporting
title
in the top-leveltheme.json
specification and using it to populate the UI, all those potential outcomes could be addressed.Happy to open a PR to address.
The text was updated successfully, but these errors were encountered: