-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Show Letter Spacing in Global Styles -> Typography -> Headings #44142
Conversation
Size Change: +23 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks sorting this one @noisysocks 👍
✅ Letter spacing control appears under Global Styles -> Typography -> Headings
✅ Letter spacing does not appear under the other root level typography panels
✅ Letter spacing functions appropriately
LGTM!
Screen.Recording.2022-09-15.at.1.49.16.pm.mp4
I just cherry-picked this PR to the wp/6.1 branch to get it included in the next release: 588eaef |
What?
Makes Letter spacing (
LetterSpacingControl
) appear in Global Styles → Typography → Headings.I split this out from #43356.
Why?
So that the Typography panel in Global Styles looks closer to what was designed in Figma. See #34345 (comment).
How?
Letter spacing was already set up in Global Styles, just not enabled for headings at the global level. To fix this I added a special condition to
useHasLetterSpacingControl
.Testing Instructions
Screenshots