Skip to content

Font enhancements in dark mode - #1257

Merged
komalharshita merged 2 commits into
komalharshita:mainfrom
nandinisri1912:fix/improve-font-colors-dark-mode
Jul 19, 2026
Merged

Font enhancements in dark mode#1257
komalharshita merged 2 commits into
komalharshita:mainfrom
nandinisri1912:fix/improve-font-colors-dark-mode

Conversation

@nandinisri1912

@nandinisri1912 nandinisri1912 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary [required]

This PR updates font colors in dark mode to improve readability and visual consistency across the UI. The changes are limited to styling only and do not affect application logic or functionality. The goal was to make text easier to read in dark mode by adjusting color usage in the relevant components/pages.

Related Issue [required]

Closes #1158

Type of Change [required]

  • Bug fix — resolves a broken behaviour
  • Feature — adds new functionality
  • Data — adds new projects to data/projects.json
  • Documentation — updates docs, README, or code comments only
  • Style — CSS or visual changes only, no logic change
  • Refactor — restructures code without changing behaviour
  • Test — adds or updates tests

What Was Changed [required]

File Change made
utils/recommender.py Added clear_cache() function
tests/test_basic.py Added test for cache invalidation

How to Test This PR [required]

  • Checkout this branch: git checkout style/dark-mode-font-colors

  • Install dependencies: pip install -r requirements.txt

  • Run the app locally.

  • Switch to/use dark mode.

  • Visit the pages/components affected by this PR and verify the updated text colors are visible, readable, and consistent.

Run the test suite:

python tests/test_basic.py

Expected test output:

27 passed, 0 failed out of 27 tests

Test Results [required]

image

Screenshots (if UI change)

Before After
screenshot screenshot
Screenshot 2026-07-02 200746 Screenshot 2026-07-02 200758
Screenshot 2026-07-02 200815 image
Unable to procure screenshot Screenshot 2026-07-02 200949

Self-Review Checklist [required]

  • I have read CONTRIBUTING.md and followed all guidelines
  • My branch name follows the convention: feat/, fix/, docs/, data/, style/, test/
  • I have run python tests/test_basic.py and all 27 tests pass
  • I have run flake8 . locally and there are no errors
  • I have not introduced any print() or console.log() debug statements
  • Every new function I wrote has a docstring
  • I have not modified files outside the scope of the linked issue
  • If I changed the UI, I tested it at 375px (mobile) and 1280px (desktop)
  • If I added a project to the dataset, it has all required JSON fields

Notes for Reviewer

While working on this task, I also spent some time investigating a few related UI issues. Since I was not able to fully resolve those yet, I have kept this PR limited to the dark mode font/text color changes that are complete and tested so far.

@vercel

vercel Bot commented Jul 2, 2026

Copy link
Copy Markdown

@nandinisri1912 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added gssoc-2026 type:bug Something isn't working labels Jul 2, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you for submitting your first pull request to DevPath.

Before review:

  • Complete the PR template fully
  • Ensure all tests pass
  • Link your PR to an issue
  • Keep changes scoped to the issue

A maintainer will review your contribution soon.

@komalharshita

Copy link
Copy Markdown
Owner

@nandinisri1912 kindly resolve the merge conflicts

@komalharshita komalharshita added the need review Further information is requested label Jul 17, 2026
@komalharshita
komalharshita merged commit b550324 into komalharshita:main Jul 19, 2026
3 of 5 checks passed
@komalharshita

Copy link
Copy Markdown
Owner

Thanks for your contribution :)

@nandinisri1912

Copy link
Copy Markdown
Contributor Author

Thank you for helping me contribute:))

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Fix text color visibility issues in Dark Mode

2 participants