Skip to content

Commit b8d4549

Browse files
committed
In the dark mode, the background color of Professional Journey should be the same as the Hero section
1 parent af8fdb8 commit b8d4549

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/sections/ProfessionalJourney.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const milestones: Milestone[] = [
4141
export function ProfessionalJourney({}: ProfessionalJourneyProps = {}) {
4242
return (
4343
<section
44-
className="py-20 bg-[#fafbfc] dark:bg-[#0d1117]"
44+
className="py-20 bg-[#fafbfc] dark:bg-[#21262d]"
4545
aria-label="Professional Journey"
4646
>
4747
<div

src/components/sections/__tests__/ProfessionalJourney.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe("ProfessionalJourney", () => {
3030
render(<ProfessionalJourney />);
3131

3232
const section = screen.getByRole("region", { name: /professional journey/i });
33-
expect(section).toHaveClass("dark:bg-[#0d1117]");
33+
expect(section).toHaveClass("dark:bg-[#21262d]");
3434

3535
document.documentElement.classList.remove("dark");
3636
});

0 commit comments

Comments
 (0)