Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
844 stars 342 forks source link

Assembler: Use variation partials and move styles.blocks.variations to styles.variations #7891

Open richtabor opened 1 week ago

richtabor commented 1 week ago

Follow up to https://github.com/WordPress/gutenberg/pull/62712, which adjusts where block style variations are defined with in theme style variations, as well as better leveraging style variation partials.

To test, load up https://github.com/WordPress/gutenberg/pull/62712, then change to alternate color palettes. It should work exactly as previously.

richtabor commented 1 week ago

Relies on https://github.com/WordPress/gutenberg/pull/62712 merged, into Gutenberg and perhaps for WordPress 6.6.

github-actions[bot] commented 1 week ago

Preview changes

I've detected changes to the following themes in this PR: Alves, Vitrum, Cookbook, Assembler, Varia.

You can preview these changes by following the links below:

I will update this comment with the latest preview links as you push more changes to this PR. ⚠️ Note: The preview sites are created using WordPress Playground. You can add content, edit settings, and test the themes as you would on a real site, but please note that changes are not saved between sessions.

⚠️ Note: Child themes are dependent on their parent themes. You will have to install the parent theme as well for the preview to work correctly.

glendaviesnz commented 2 days ago

Tested well for me on Gutenberg trunk (18.7RC) and WP 6.5.5

richtabor commented 2 days ago

Went ahead and tweaked the form input styles to work better across all block style variations as well.