Repository navigation
Colors: update Primary green reference to match latest brand book - #21741
Conversation
Internal references: - p6TEKc-3tD-p2 - PbJqbW-C-p2 The new color is already in use in some places, such as RNA styles. Let's make the switch everywhere.
|
Caution: This PR has changes that must be merged to WordPress.com |
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
Backup plugin:
Vaultpress plugin:
|
anomiex
left a comment
There was a problem hiding this comment.
Looks like projects/packages/jitm/src/css/jetpack-admin-jitm.min.css and projects/packages/jitm/src/css/jetpack-admin-jitm-rtl.min.css also need updating. For some reason those are checked in instead of built.
Done.
I think we may have to move away from the old gulp commands to build CSS in packages: jetpack/projects/plugins/jetpack/tools/builder/sass.js Lines 183 to 244 in d6abf87 I'm not quite sure whether we can just get rid of it though. |
anomiex
left a comment
There was a problem hiding this comment.
I suspect that gulp command has been dead code since the monorepo reorg.
Anyway, seems ok to me. Even the "You’re almost done. Set up Jetpack to enable powerful security and performance tools for WordPress" that uses the Jetpack green as a background for white text seems better this way, although someone from Design might want to consider whether we want to adjust that even further for better contrast.
|
@jeherve For primary button backgrounds, for example, the color should be the next brand color darker (from the color studio) hex: #8710. |
There was a problem hiding this comment.
#069e08 is the "brand" green as decided in the brand book, but when used as a background color (with white foreground) it's only for the brand mark (the logo circle) because it does not pass contrast accessibility requirements.
Thanks for the info @eeeeevon13 👋
Do you know if such usage specifics are documented somewhere? It makes sense, but it was not obvious to me when looking at say these internal references: PbJqbW-J-p2 or PbJqbW-C-p2
I'm not sure how strict we currently are at differentiating between using #069e08 or #008710 given the info above. However, for the sake of this PR at least, I'm thinking that the color swap of #00be28 > #069e08 shouldn't introduce new accessibility concerns given that #069e08 has a higher contrast ratio with white text than #00be28.
A future PR perhaps could take a look at any unnuanced use of #069e08 as the "primary color" across styles.
> tools/project-version.sh -f -u 0.4.4-alpha packages/identity-crisis
> tools/project-version.sh -f -u 0.6.4-alpha js-packages/components
|
Great news! One last step: head over to your WordPress.com diff, D70076-code, and commit it. Thank you! |
|
r235610-wpcom |
# By Jeremy Herve (5) and others # Via GitHub * master: (26 commits) Colors: update Primary green reference to match latest brand book (#21741) JS Connection: Moves registerSite logic to the store (#21732) Search: Add essential scaffolding for package (#21814) Search: avoid registering the widget when the module is not active (#21588) Add Video Tracks Support to VideoPress Block (#21578) Add deprecated to VideoPress block (#21802) Admin Menu: Make API tests compatible with WPCOM (#21850) External Media: Short-circuit requests earlier in the stack (#21854) Add Busy State to License Activation Flow Button (#21861) Fixed an issue with screen resolutions of under 783px that caused the content to not be properly displayed when the nav-unification is expanded on wp-admin. (#21869) E2E tests: migrate from Jest to Playwright runner (#21848) Update reCAPTCHA constants to match Google's Verbage (#12289) JITM: Sideload Jetpack Boost functionality (#21860) Connection: properly add GET-parameters for the `fetchAuthorizationUrl` API call (#21750) License Flow: Assorted Styling Improvements (#21859) JITM: Sideload Jetpack Backup (#21719) Widget Visibility: Apply widget filtering to customizer preview (#21505) jetpack: Avoid generating unused JS for static-site-generator assets (#21789) Nav Unification: Support absolute URLs in upsell nudges (#21821) RePublicize: Enable the block editor UI by default (#21855) ... # Conflicts: # projects/plugins/boost/tests/e2e/lib/env/prerequisites.js # projects/plugins/boost/tests/e2e/lib/setupTests.js
Changes proposed in this Pull Request:
The new color is already in use in some places, such as RNA styles. Let's make the switch everywhere.

Jetpack product discussion
Internal references:
Does this pull request change what data or activity we track or use?
Testing instructions: