Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Section Styles: Update block style variation docs #68169

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

aaronrobertshaw
Copy link
Contributor

What?

Updates global styles documentation around section styles a.k.a block style variations.

Why?

The existing docs were outdated and missing new features.

How?

  • Removed incorrect outdated info
  • Added overview of new block style variation features such as theme.json partials, and registering variation styles via register_block_style

Testing Instructions

  1. Give the markdown changes a proofread
  2. If you're really keen you could even follow the snippets in the updated docs to try adding some block style variations and styles to your current theme.

@aaronrobertshaw aaronrobertshaw added [Type] Developer Documentation Documentation for developers [Feature] Block Style Variations Issues or PRs that are related to the style variations for blocks labels Dec 20, 2024
@aaronrobertshaw aaronrobertshaw self-assigned this Dec 20, 2024
Copy link

github-actions bot commented Dec 20, 2024

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: aaronrobertshaw <[email protected]>
Co-authored-by: ramonjd <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link

Flaky tests detected in aa6ffe5.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/12427502186
📝 Reported issues:

Copy link
Member

@ramonjd ramonjd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ramonjd ramonjd merged commit 9cb002e into trunk Dec 20, 2024
74 checks passed
@ramonjd ramonjd deleted the update/block-style-variation-docs branch December 20, 2024 08:51
@github-actions github-actions bot added this to the Gutenberg 20.0 milestone Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Block Style Variations Issues or PRs that are related to the style variations for blocks [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants