Repository navigation
Conversation
🤖 PR meta 🤖🏷️ LabelsThis pull request needs exactly one label indicating its type, and has 0.
Read more about Type labels in Gutenberg. If you cannot add labels yourself, a reviewer can do it for you. 📦 Bundle sizeSize Change: +951 B (+0.01%) Total Size: 8.72 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
🏁 Flaky testsSome 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. As a user I want to be able to add multiple close buttons so that users can close the overlay from different positions in
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The strong heading token uses the new fifth foreground step. The token and its heading and overlay-title consumers are now included in #82294.
What?
Give headings and overlay titles a stronger neutral color than body text. In the default light theme, headings use
#141414and body text uses#464646.Why?
The ramp change makes resting text softer. Headings need a separate content token so they can retain their emphasis without borrowing an interaction color.
How?
Add
--wpds-color-foreground-content-neutral-strongand check it against all three neutral surfaces. Use it for Text heading variants, overlay titles, static panel headings, and editor sidebar headings.Testing Instructions
Open Design System → Theme → Foreground Emphasis → Comparison. Compare the heading with the body text below it in the light, dark, and Ectoplasm samples. Open a Dialog or Popover and check its title against the description.
Testing Instructions for Keyboard
Tab to the Dialog trigger, press Enter, then Escape. Check the title while the dialog is open and that focus returns to the trigger.
Screenshots
Use of AI Tools
OpenAI Codex extracted the changes from #82294, ran the checks, and drafted this description.