Repository navigation
Boot: use scss modules - #80359
Boot: use scss modules#80359simison wants to merge 8 commits into
Conversation
|
Size Change: +2.12 kB (+0.03%) Total Size: 7.77 MB 📦 View Changed
|
|
Flaky tests detected in 062b70e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/30545385092
|
a2d138e to
5225fc7
Compare
ciampo
left a comment
There was a problem hiding this comment.
I assume that we wait to perform a full review until the PR comes out of draft status, right?
fa71079 to
f1743a4
Compare
|
@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. |
|
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 If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
bd6830f to
062b70e
Compare
|
Closing in favor of #81756 |
What?
Bootpackage to use scss modules.src/**/*.module.scssto sideEffects, see Packages: Fix sideEffects for any package using CSS modules #77275 for context.packages/boot/src/components/navigation/navigation-screen/index.tsxto a fileIn 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