-
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 Midnight variation #268
Conversation
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. |
Let's hold off on the big combined variations until the singular color sets and typesets are 100% solid. That way we don't have to redo anything. |
Why would they not be 100% solid? |
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. |
|
Should the color changes be made to the palette preset too?
I am confused by why base and accent 1 needed to be the same value. |
Section Style 2 uses the text color My suggestion would be to use the pink/purple text color #e8b7ff (secondary) because it would give a contrast ratio of 9.21:1. What looks like a border in the image below is the default body background color, I just cropped the image badly :) The button style does not match the one in Figma but from reading the comments, I don't know if this is on purpose. |
In Section 4, the outline button is invisible. yet another reason to remove it... #382 |
In section 5, the text color is This style is not in Figma. I think this is meant to be section 2 but inverted, and that the text color is meant to be the dark purple, |
The button block styles are overriding the elements button styles, including :hover, so I need to do a lot of adjustments to the buttons. |
I find that I need to add this for all states:
And I think that these should be in the file for section-1, but it will affect every other combined variation. |
Ensure that the default filled button has the text, background, and border colors reverted on hover.
Description
Adds the Midnight variation. I had to make adjustments that may look different from the Figma file.
I tried to get the section styles to have the optimal color contrast, but these may need further refinement that's beyond my technical knowledge.
I also added the specific "Midnight" duotone effect for this variation.
There's an extra left border added to the quote and pullquote blocks, I don't know why this is happening, but it shouldn't be there. If someone could help me find that, I'd appreciate it.
Screenshots
midnight.mp4