-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Style variations: merge child and parent variation #47265
Copy link
Copy link
Open
Labels
[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.
Metadata
Metadata
Assignees
Labels
[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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
What problem does this address?
#46554 enabled child themes to inherit the parent theme's style variation.
If the child theme contains a variation of the same name as its parent, the parent variation is overwritten.
What is your proposed solution?
It could be useful for the variations to merge, instead of being overwritten. This would make it much simpler for a child variation to modify just a few aspects of a parent's variation.
cc @WordPress/block-themers