Skip to content

Boot: use scss modules - #80359

Closed
simison wants to merge 8 commits into
trunkfrom
update/boot-css-modules
Closed

simison wants to merge 8 commits into
trunkfrom
update/boot-css-modules

Conversation

@simison

@simison simison commented Jul 16, 2026 •

Copy link
Copy Markdown
Member

What?

In a follow-up, I'm planning to also convert everything to WPDS tokens from the currently used Sass tokens, but this will keep testing simpler rather than doing it all at once.

Why?

Defence against overwriting styles for core CSS selectors.

How?

Testing Instructions

Build Gutenberg and go through WP Build pages (connectors, fonts, site editor).

Testing Instructions for Keyboard

Screenshots or screencast

No visual changes anywhere.

Use of AI Tools

yes

@simison
simison requested review from a team and youknowriad July 16, 2026 13:29
@simison simison added [Status] In Progress Tracking issues with work in progress [Package] Boot /packages/boot labels Jul 16, 2026
@github-actions

github-actions Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

Size Change: +2.12 kB (+0.03%)

Total Size: 7.77 MB

📦 View Changed
Filename Size Change
build/modules/boot/index.min.js 51.5 kB +2.12 kB (+4.28%)

compressed-size-action

@github-actions

github-actions Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

Flaky tests detected in 062b70e.
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/30545385092
📝 Reported issues:

@simison simison changed the title Boot: use css modules Boot: use css modules and convert to style tokens Jul 16, 2026
@simison
simison force-pushed the update/boot-css-modules branch from a2d138e to 5225fc7 Compare July 16, 2026 14:52
Comment thread packages/boot/CHANGELOG.md Resolved

@ciampo ciampo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I assume that we wait to perform a full review until the PR comes out of draft status, right?

@simison simison changed the title Boot: use css modules and convert to style tokens Boot: use scss modules Jul 17, 2026
@simison
simison force-pushed the update/boot-css-modules branch from fa71079 to f1743a4 Compare July 17, 2026 14:06
@simison

simison commented Jul 17, 2026

Copy link
Copy Markdown
Member Author

@ciampo, I think this is good for preliminary review now; I moved WPDS token migration out, and it's gonna be a follow-up instead.

Meanwhile, I'll do some testing around Gutenberg UIs, and will test this with a few plugin consumers that use WP Build (and Boot). I know they have some custom solutions for things like custom sticky footer, so I'd like to understand whether we can prioritise something in the Admin UI in the meantime.

@simison
simison marked this pull request as ready for review July 17, 2026 14:21
@github-actions

github-actions Bot commented Jul 17, 2026 •

Copy link
Copy Markdown

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: simison <simison@git.wordpress.org>
Co-authored-by: ciampo <mciampini@git.wordpress.org>
Co-authored-by: juanfra <juanfra@git.wordpress.org>

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

simison added 8 commits July 30, 2026 16:05
Replace global boot-* class names with scoped SCSS modules while
preserving global selectors needed for wp-admin integration and view
transitions.
Drop the WPDS token migration from this branch so CSS modules can
land separately. Restore @wordpress/base-styles usage in module SCSS
while keeping sideEffects and the navigation screen layout move.
@simison
simison force-pushed the update/boot-css-modules branch from bd6830f to 062b70e Compare July 30, 2026 13:05
@simison

simison commented Aug 21, 2026

Copy link
Copy Markdown
Member Author

Closing in favor of #81756

@simison simison closed this Aug 21, 2026
@simison
simison deleted the update/boot-css-modules branch August 21, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Package] Boot /packages/boot [Status] In Progress Tracking issues with work in progress [Type] Enhancement A suggestion for improvement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants