Skip to content

Theme: Fix gap token migration guide in changelog#75492

Merged
mirka merged 1 commit intotrunkfrom
fix/theme-changelog-gap-migration
Feb 12, 2026
Merged

Theme: Fix gap token migration guide in changelog#75492
mirka merged 1 commit intotrunkfrom
fix/theme-changelog-gap-migration

Conversation

@mirka
Copy link
Member

@mirka mirka commented Feb 12, 2026

What?

Follow up to #75054

Fixes the gap token migration guide in the @wordpress/theme changelog.

Why?

The migration guide had two errors:

  • --wpds-dimension-gap-xl was listed as mapping to --wpds-dimension-gap-2xl (32px), but the old xl token was 40px, which corresponds to --wpds-dimension-gap-3xl.
  • --wpds-dimension-gap-2xl was listed as an old token to migrate from, but it didn't exist in the old scale (which ended at xl).

Changes can be confirmed in the design tokens stylesheet diff here.

Testing Instructions

Review the changelog at packages/theme/CHANGELOG.md and verify the gap migration entries match the actual token values.

@mirka mirka requested a review from jameskoster February 12, 2026 20:58
@mirka mirka self-assigned this Feb 12, 2026
@mirka mirka requested a review from a team as a code owner February 12, 2026 20:58
@mirka mirka added the [Type] Developer Documentation Documentation for developers label Feb 12, 2026
@github-actions github-actions bot added the [Package] Theme /packages/theme label Feb 12, 2026
Copy link
Member

@aduth aduth left a comment

Choose a reason for hiding this comment

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

Great catches! Confirmed accurate based on the diff.

As with your other pull request, I also independently verified this (and other potential inaccuracies) with a "spot the problems" AI-assisted session and it came up with the same result.

@github-actions
Copy link

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: mirka <[email protected]>
Co-authored-by: aduth <[email protected]>

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

@github-actions
Copy link

Flaky tests detected in 1e0dce8.
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/21964010907
📝 Reported issues:

@mirka mirka merged commit ba9f48e into trunk Feb 12, 2026
45 of 46 checks passed
@mirka mirka deleted the fix/theme-changelog-gap-migration branch February 12, 2026 23:11
@github-actions github-actions bot added this to the Gutenberg 22.6 milestone Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Theme /packages/theme [Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants