-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Home Link: Add typography support #43307
Conversation
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.
@@ -293,7 +293,7 @@ Create a link that always points to the homepage of the site. Usually not necess | |||
|
|||
- **Name:** core/home-link | |||
- **Category:** design | |||
- **Supports:** ~~html~~, ~~reusable~~ | |||
- **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ |
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.
So we don't seem to ever list the full set of typography options, right? I notice other blocks look the same.
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.
This is the output from the automatic doc generation. I believe it doesn't include any experimental APIs.
One of the later phases of the design tool consistency effort will be to stabilize our block support APIs. These docs will be updated again we that happens.
@carolinan that's an interesting problem! (Also thanks for your comprehensive testing 😄 ) The classname for the Navigation-level styles is being added to each |
Agreed. Investigating via a separate follow-up looking specifically at the Navigation block sounds like a plan. I'll add a note about the follow-up to the tracking issue and then merge this. |
Related:
What?
Adds typography support to the Home Link block.
Why?
How?
Testing Instructions
Screenshots or screencast
Screen.Recording.2022-08-17.at.5.31.14.pm.mp4