Linlin - fix(profile): resolve dark mode background gaps and visual artifacts - #5500
Linlin - fix(profile): resolve dark mode background gaps and visual artifacts#5500linlin-husky wants to merge 4 commits into
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
devangsaraogi
left a comment
There was a problem hiding this comment.
Tested the current PR locally on the User Profile - Basic Information tab in both light and dark mode.
Verified the dark mode background fixes across the Basic Information section. This includes the lower profile fields where the black horizontal gaps were previously visible. The updated styling now keeps the section backgrounds consistent and the text remains readable throughout.
The public/private and subscribed/unsubscribed toggles in both states. The checked and unchecked states now have clear visual contrast and continue to function correctly.
I compared the other profile tabs against development and confirmed the darker sections visible there are pre-existing and not introduced by this PR. Light mode also remains visually consistent with no spacing or layout regression from the updated row styling.
No blocking issues found. Approved.



Description
This PR addresses and fixes critical UI/UX visual regressions and accessibility issues within the User Profile (Basic Information tab) under Dark Mode, specifically resolving background inconsistencies and toggle switch visibility defects.
Detailed Issues Resolved:
#myTabContent,.tab-pane,.right-column,.profile-functions-desktop) suffered from mismatched background tones or persistent black horizontal strips and right-edge spacing gaps.[class*="toggleDark"]) lacked sufficient contrast in dark mode. Both checked and unchecked states (such as public/private and subscribed/unsubscribed toggles) blended into the background, making it extremely difficult for users to determine their active status.Summary of Fixes:
#1c2541).::after) on#containerProfileto thoroughly cover persistent layout gaps and right-edge spacing issues.toggleDarkcomponents, ensuring crystal-clear borders and visual distinction for both active and inactive states.#ffffff) in dark mode while preserving zero impact on light mode styling.Fixes # (bug list priority medium: Yeshwanth – Fix User Profile Dark Mode Styling and Toggle Visibility)
Related PRs (if any):
This frontend PR is standalone and focuses entirely on fixing dark mode CSS modules and toggle visibility in the User Profile component.
Main changes explained:
BasicInformationTab.module.css:#myTabContent,.tab-pane,.right-column, and.profile-functions-desktopto match the consistent dark mode theme (#1c2541).::after) on#containerProfileto thoroughly cover persistent right-edge spacing and layout gaps.toggleDarkswitch components ([class*="toggleDark"]) so that both checked and unchecked states are clearly visible and legible in dark mode.#ffffff) in dark mode.How to test:
Linlin-fix-userprofile-darkmodenpm installandnpm run start:localto run this PR locally.public/privateandsubscribed/unsubscribedtoggle switches display with clear contrast and clearly indicate their selected states.Screenshots or videos of changes:
Screen.Recording.2026-09-03.at.9.03.34.AM.mov
Note:
#1c2541).[class*="toggleDark"]) so that both checked and unchecked states maintain high contrast, clear borders, and high visibility in dark mode.#ffffff) under dark mode.