Skip to content

Style variations: merge child and parent variation #47265

@jffng

Description

@jffng

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Theme Style VariationsRelated to style variations provided by block themes[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] EnhancementA suggestion for improvement.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions