Skip to content
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

SRM-2514 update primary color swedbankpay #1008

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/App/Identity/identity/Color/swedbankpay-colors.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const primaryBrandColors = [
title: "Primary",
subTitle: "brand-primary",
isCSSVariable: true,
hex: "#FDC129",
hex: "#fdc92a",
},
{
title: "Primary light",
Expand Down Expand Up @@ -257,7 +257,7 @@ export const colorPool = [
title: "Primary",
subTitle: "brand-yellow",
isCSSVariable: true,
hex: "#FDC129",
hex: "#fdc92a",
},
{
title: "Yellow light",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ exports[`DisplayColor renders with optional props 1`] = `
>
<svg>
<rect
fill="#FDC129"
fill="#fdc92a"
/>
</svg>
</div>
Expand All @@ -25,7 +25,7 @@ exports[`DisplayColor renders with optional props 1`] = `
<small
className="small mb-0 text-uppercase"
>
#FDC129
#fdc92a
</small>
</div>
</div>
Expand All @@ -40,7 +40,7 @@ exports[`DisplayColor renders with required props 1`] = `
>
<svg>
<rect
fill="#FDC129"
fill="#fdc92a"
/>
</svg>
</div>
Expand All @@ -56,7 +56,7 @@ exports[`DisplayColor renders with required props 1`] = `
<small
className="small mb-0 text-uppercase"
>
#FDC129
#fdc92a
</small>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/App/components/DisplayColor/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ describe("DisplayColor", () => {

it("renders with required props", () => {
const colors = {
hex: "#FDC129",
rgb: "253, 193, 41",
hex: "#fdc92a",
rgb: "253, 201, 42",
};

render(<DisplayColor {...colors} />);
Expand All @@ -38,8 +38,8 @@ describe("DisplayColor", () => {

it("renders with optional props", () => {
const colors = {
hex: "#FDC129",
rgb: "253, 193, 41",
hex: "#fdc92a",
rgb: "253, 201, 42",
fontColor: "2F2424",
border: "has-border",
};
Expand Down
18 changes: 9 additions & 9 deletions src/icons/payment-icons/payment_card.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/less/components/slab.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
-45deg,
#ffefc7,
#ffefc7 10px,
#fdc129 10px,
#fdc129 15px
#fdc92a 10px,
#fdc92a 15px
);
}

Expand Down
6 changes: 3 additions & 3 deletions src/less/variables-swedbankpay.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@brown-light: @light-brown;

/* Main Brand Color Variants */
@brand-primary: #fdc129;
@brand-primary: #fdc92a;
@brand-primary-light: #fbdd91;
@brand-primary-lighter: @brand-primary-light-3;
@brand-primary-light-2: #ffdf88;
Expand Down Expand Up @@ -148,7 +148,7 @@
*
*/
:root {
--brand-primary: var(--brand-yellow, #fdc129);
--brand-primary: var(--brand-yellow, #fdc92a);
--brand-primary-light: #fbdd91;
--brand-primary-lighter: var(--brand-yellow-lighter, #fff3d5);
--brand-secondary: var(--brown-solid, #2f2424);
Expand Down Expand Up @@ -184,7 +184,7 @@
--text-gray: #767676;

// Communication colors
--brand-yellow: #fdc129;
--brand-yellow: #fdc92a;
--brand-yellow-lighter: #fff3d5;
--brand-orange: #ee7023;
--brand-turquoise: #31a3ae;
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/dashboard/chart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import initLineChart from "./line";
import initLineFillChart from "./line-fill";

const _colorPool = [
"253, 193, 41", // brand primary
"253, 201, 42", // brand primary
"238, 112, 35", // brand tertiary
"49, 163, 174", // brand accent
"138, 205, 195", // info turquoise
Expand Down
Loading