-
Notifications
You must be signed in to change notification settings - Fork 104
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
Add: Morning style variation. #261
Conversation
@juanfra I noticed the titles are looking different than the headings, they seem to have specific styling. If you disable them, the appearance looks right: titles.mp4The font sizes are not looking very good. I think we should reset all the heading sizes in this variation to use the sizes from the default one, as they look much better. |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Preview changesYou can preview these changes by following the link below: I will update this comment with the latest preview links as you push more changes to this PR. |
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.
Style 2
Headings use the text color #191919
(contrast) against the background #182949
(accent 3). This has a contrast ratio of
1.21:1. It needs to be 4.5:1.
I believe this is meant to use base, to match the paragraph text color.
Thanks, Carolina. Good catch. I've updated the variation with that change. |
"variations": { | ||
"post-terms-1": { | ||
"typography": { | ||
"fontSize": "16px" |
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.
Does this need to be hardcoded? Is there no matching responsive preset size?
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.
There's no preset for 16px, which is the size of the font size for this particular element in the variation. We have --wp--preset--font-size--normal
from Gutenberg, which is 16px, but we can't use that.
If we don't want to hardcode the value, we could use medium (18px) or small (14px) alternatives.
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'd always go for the larger :)
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.
Should we run this by Bea once she's back?
Feedback: I am struggling to read font size preset This is even more appearant with the new zoom out. Both the default and Dusk are much more readable to me because of the different size of these fonts. |
size-comparison.mp4 |
Thanks for the feedback, Carolina. The issues you highlighted are related to the size of the Ysabeau font, compared to fonts used in other variations. The menu item size will happen the other way around with variations like Twilight or Midnight, where the font size for those elements is bigger. I believe this is a conversation we want to have with design, as some of these elements are probably intended to be like that. Given the time constraints of beta 1, if these are the only blockers, we could merge this and have a new issue to discuss what you highlighted and get @beafialho and @jasmussen in the conversation. |
styles/morning.json
Outdated
"elements": { | ||
"cite": { | ||
"typography": { | ||
"fontSize": "1.12rem", |
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 believe this needs to use em if it is supposed to be relative to the size of the quote.
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.
Zoom out, give or take any changes that comes to this, should not dictate any font size rules in the theme. The core of the issue, though: is the gray on light gray font legible at 14px? For me it is, so I'd be tempted to echo Juan and merge this for Beta 1 and then revisit the font sizes (or perhaps the font weights) after the beta period. Notably, Bea is AFK this week, a vacation planned months before the 6.7 cycle even had dates attached, and I'd appreciate her quick gut-check when she gets back. How does that sound? |
Nobody is pressuring anyone to not have a vacation ❤️ |
Oh, I didn't mean to imply otherwise, and I supremely agree! |
That sounds great to me. I'd prefer not to iterate on the designs now and have Bea (after she's back from her well-deserved time off) participate in the discussion, as there might be some reasoning behind some of the selections (sizes, colors, etc.). We should keep track of all these concerns so we can return to them. |
Please remember that the beta 1 date is not something we have the power to move. |
Description
Add the Morning (Literata 60pt + Ysabeau Office) global style variation.
Partial for #193
Known limitations
Screenshots
Testing Instructions