-
Notifications
You must be signed in to change notification settings - Fork 279
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
Gutenberg: Predefined Font Sizes #106
Comments
I still see this issue.
What it should do is add class In Core block these happens to be the same font sizes:) p {
&.is-small-text {
font-size: 14px;
}
&.is-regular-text {
font-size: 16px;
}
&.is-large-text {
font-size: 36px;
}
&.is-larger-text {
font-size: 48px;
}
} |
Ups wrong repo! |
Font sizes are now implemented and tested (back end on left, front on right): |
Are there any recommended guidelines for setting theme font sizes relative to default paragraph size? I see in Genesis Sample default is halfway between M and L. Would users expect M to be same as default? I'm undecided. |
@stinkykong The default name for 'M' is 'regular' in the It's fine to have M differ from the default, in my view. It seems redundant to duplicate the regular font size under another name, and it gives people an extra size option. They can still click reset to restore the default. I'm interested in any other views on this, though. |
Currently the Gutenberg editor allows users to specify text sizes: S, M, L, XL
As discussed here, similar to theme colors, it would be great if themes could set those sizes.
Worth nothing that classes are output for each option:
.is-small-text {}
.is-medium-text {}
.is-large-text {}
.is-larger-text {}
If custom font size is used, output is inline style.
The text was updated successfully, but these errors were encountered: