Skip to content

fix: improve text contrast in Light Mode for WCAG 2.1 AA Compliance (#660)#680

Merged
Aditya948351 merged 2 commits into
devpathindcommunity-india:masterfrom
shivani11jadhav:fix/light-theme-contrast
Jun 21, 2026
Merged

fix: improve text contrast in Light Mode for WCAG 2.1 AA Compliance (#660)#680
Aditya948351 merged 2 commits into
devpathindcommunity-india:masterfrom
shivani11jadhav:fix/light-theme-contrast

Conversation

@shivani11jadhav

Copy link
Copy Markdown
Contributor

🎯 Linked Issue

Closes #660

Related Context / Tracking Reference

Description of Changes
Audited and refactored typography color tokens across critical interface layers to resolve the text visibility and low-contrast accessibility issues present in Light Mode.

Component-Level Enhancements:

  1. NextBestActionWidget.tsx: Upgraded subtitle labels, empty state helpers, and card description layout texts from faint gray values (text-gray-400/text-gray-500) to accessibly compliant text-slate-600.
  2. ProjectCard.tsx: Enhanced readability for project author tags and repository stats container items by updating them to text-slate-600.
  3. NotificationDropdown.tsx: Refactored typography utility tokens for notification messages, empty states, and contextual timestamp labels to robust high-contrast variants.

Theme & Code Integrity:

  • Dark Mode Safety: Strictly preserved all active dark:... styling parameters (dark:text-gray-400, dark:text-gray-500) to guarantee zero visual discrepancies or structural breakdown in dark mode views.
  • Validation: Verified via local production compilation execution (npm run build). Clean build achieved with 0 compilation errors or TypeScript warnings.

Ready for review and validation!

@Aditya948351 Aditya948351 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you for making the colors easier to read @shivani11jadhav The extra bug fixes are also very good This looks perfect!
Merging your PR!

@Aditya948351 Aditya948351 added the gssoc:approved give 50+ base points label Jun 21, 2026
@Aditya948351 Aditya948351 merged commit 71782f3 into devpathindcommunity-india:master Jun 21, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved give 50+ base points gssoc26 This is a official GirlScript Summer of Code label. level:intermediate Intermediate level issues type:design type:refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Light mode UI/UX Fix

2 participants