-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Labels
Developer ExperienceIdeas about improving block and theme developer experienceIdeas about improving block and theme developer experienceGlobal StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Theme Style VariationsRelated to style variations provided by block themesRelated to style variations provided by block themes[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
What problem does this address?
Currently, only Style Variations support the title attribute not the default theme.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.
- Perhaps the Theme Name (this wouldn't need to be automatic, as it may not be a desired experience in some Themes).
- Perhaps the default theme.json is
Lightthat pairs nicely with a Style Variation namedDark. - Perhaps a name disconnected from Theme Name entirely
Whimsical Brand.
By supporting title in the top-level theme.json specification and using it to populate the UI, all those potential outcomes could be addressed.
Happy to open a PR to address.
justintadlock
Metadata
Metadata
Assignees
Labels
Developer ExperienceIdeas about improving block and theme developer experienceIdeas about improving block and theme developer experienceGlobal StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Feature] Theme Style VariationsRelated to style variations provided by block themesRelated to style variations provided by block themes[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Type] EnhancementA suggestion for improvement.A suggestion for improvement.