fix: adjust dark mode UI colors and borders for elevated containers#339
fix: adjust dark mode UI colors and borders for elevated containers#339pawanakapkv wants to merge 1 commit into
Conversation
✅ Deploy Preview for github-spy ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughMUI theme palette is expanded to define dark-mode-specific background and divider colors. Contributors card and Tracker page components update border styling to use theme tokens ( ChangesDark Mode UI Theming
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🎉 Thank you @pawanakapkv for your contribution. Please make sure your PR follows https://github.com/GitMetricsLab/github_tracker/blob/main/CONTRIBUTING.md#-pull-request-guidelines
|
Hi @mehul-m-prajapati 👋 I have successfully resolved the dark mode UI issue and submitted the changes for this PR as part of GSSOC'26! The Material UI dark theme palette has been completely re-aligned to perfectly match the Tailwind bg-gray-800 background. I've also updated the Contributors cards and Tracker containers to use dynamic theme dividers instead of hardcoded hex colors, so the elevation now looks totally natural and the edges remain crisp. Everything has been tested locally and works flawlessly. Could you please review and let me know if any further tweaks are needed before merging? Thank you! 🚀 |
Related Issue
Description
Currently, when the application is toggled to dark mode, there is a visual disconnect between the main background and the elevated containers (such as the Tracker input section, the "No Data Found" box, and the Contributor cards). The main body background uses a cool, blue-tinted dark shade (
bg-gray-800), while the cards and containers were defaulting to a flat, desaturated dark gray/black (#121212).The Solution:
ThemeContext.tsx) to match the Tailwind background's hue.background.papercolor to naturally blend and elevate over the main background.#E0E0E0) fromContributors.tsxand updated them to dynamically use the theme'sdividercolor.PaperandTableContainercomponents on the Tracker page.How Has This Been Tested?
localhost.Screenshots (if applicable)
Initially: IN DARK MODE


Now: IN DARK MODE


Type of Change
Summary by CodeRabbit