Skip to content

Commit

Permalink
Fixed Woo colors during Stripe KYC (#10316)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardola authored Feb 18, 2025
1 parent eec6b23 commit ad9e840
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 19 deletions.
7 changes: 0 additions & 7 deletions assets/images/payment-methods/woopay.svg

This file was deleted.

2 changes: 1 addition & 1 deletion bin/wcpay-live-branches/wcpay-live-branches.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
*/
function appendHtml( el, contents ) {
const $el = $( el );
const wooColor = '#7F54B3'; // https://woocommerce.com/brand-and-logo-guidelines/
const wooColor = '#873eff'; // https://woocommerce.com/brand-and-logo-guidelines/
const styles = $( '<style>' ).text( `
#wcpay-live-branches {
border: 3px dotted ${ wooColor };
Expand Down
4 changes: 4 additions & 0 deletions changelog/fix-missed-woo-colors
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fix

Fix Stripe KYC flow Woo color
10 changes: 5 additions & 5 deletions client/components/fraud-risk-tools-banner/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@
}

&__new-feature-pill.wcpay-pill {
color: #3c2861;
border: 1px solid #3c2861;
color: #3c087e;
border: 1px solid #3c087e;
font-size: 12px;
line-height: 14px;
border-radius: 14px;
margin: 0;
}

&__header {
color: #271b3d;
color: #2c045d;
font-style: normal;
font-weight: 400;
font-size: 20px;
Expand All @@ -29,7 +29,7 @@
}

&__body {
color: #271b3d;
color: #2c045d;
font-size: 13px;
line-height: 16px;
margin: 0 0 16px;
Expand All @@ -56,7 +56,7 @@
}

&.is-tertiary {
color: #271b3d;
color: #2c045d;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion client/utils/embedded-components/appearance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
export default {
variables: {
colorPrimary: '#7F54B3',
colorPrimary: '#873EFF',
colorBackground: '#FFFFFF',
buttonPrimaryColorBackground: '#3858E9',
buttonPrimaryColorBorder: '#3858E9',
Expand Down
4 changes: 2 additions & 2 deletions docs/rest-api/source/stylesheets/_lang-selector.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
&:active,
&:focus,
&:hover {
border-top-color: #7f54b3;
border-top-color: #873eff;
}

&.active {
border-top-color: #7f54b3;
border-top-color: #873eff;
}
}
}
6 changes: 3 additions & 3 deletions docs/rest-api/source/stylesheets/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ $examples-bg: #393939 !default;
$code-bg: #292929 !default;
$code-annotation-bg: #191d1f !default;
$nav-subitem-bg: #f7f7f7 !default;
$nav-active-bg: #7f54b3 !default;
$nav-active-bg: #873eff !default;
$nav-active-parent-bg: #f7f7f7 !default; // parent links of the current section
$lang-select-border: #000 !default;
$lang-select-bg: #222 !default;
$lang-select-active-bg: $examples-bg !default; // feel free to change this to blue or something
$lang-select-pressed-bg: #111 !default; // color of language tab bg when mouse is pressed
$main-bg: #ffffff !default;
$aside-notice-bg: #7f54b3 !default;
$aside-notice-bg: #873eff !default;
$aside-warning-bg: #ca4949 !default;
$aside-success-bg: #38a845 !default;
$search-notice-bg: #c97a7e !default;
$link-color: #7f54b3;
$link-color: #873eff;

// TEXT COLORS
////////////////////
Expand Down

0 comments on commit ad9e840

Please sign in to comment.