Skip to content

fix: improve homepage contrast - #980

Open
puneetdixit200 wants to merge 1 commit into
zen-browser:mainfrom
puneetdixit200:fix/898-contrast
Open

fix: improve homepage contrast#980
puneetdixit200 wants to merge 1 commit into
zen-browser:mainfrom
puneetdixit200:fix/898-contrast

Conversation

@puneetdixit200

Copy link
Copy Markdown

Summary

  • darken the highlighted "calmer" hero word in light mode so it clears WCAG contrast guidance
  • keep the existing coral accent in dark mode, where it already has sufficient contrast
  • force the footer "Zen Team" link to use the footer text color so the full "Made with ..." line stays readable in both themes

Closes #898.

Verification

  • pnpm format
  • pnpm lint
  • pnpm typecheck
  • pnpm build
  • git diff --check
  • rendered contrast check on http://127.0.0.1:3001/:
    • light hero highlight: 4.96:1
    • dark hero highlight: 5.77:1
    • light footer link: 11.87:1
    • dark footer link: 10.52:1

Used AI assistance to help draft and verify this change; I reviewed the diff and ran the checks above locally.

@taroj1205

Copy link
Copy Markdown
Member

@puneetdixit200 thanks for the PR!
Could you please verify your commits?
I will discuss the color change with cheff.

@taroj1205 taroj1205 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please verify your commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility: Certain text on the home page has poor, inaccessible contrast

3 participants