-
Notifications
You must be signed in to change notification settings - Fork 182
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
Twenty Twenty One Blocks: Migrate Paragraph Block styles #93
Conversation
I think it would be good to remove the code that needs to live in GB so we can merge the other changes... |
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 looks good to me but it would be good to get a 👍 from @kjellr too
.has-huge-font-size, | ||
.has-gigantic-font-size { | ||
font-weight: var(--wp--custom--font-weight-light); | ||
} |
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 was kind of a weird hack the theme did — we wanted to make sure that the largest font size presets all used a light weight. Not the best solution. 😅
It's fine to remove this, but we should try to make sure the h1
begins using the light font weight preset once it's available to that block.
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.
I left one small suggestion, but once that's in this should be good to land. 👍 Thank you!
Co-authored-by: Kjell Reigstad <kjell.reigstad@automattic.com>
Added styles for
strong
,b
, and other tags that affect the paragraph block (and others, of course):https://github.com/WordPress/twentytwentyone/blob/trunk/assets/sass/04-elements/misc.scss
Related #91