UI Enhancement: Improve Dark Mode & Light Mode Visibility#14
UI Enhancement: Improve Dark Mode & Light Mode Visibility#14arnab9957 wants to merge 4 commits intoVinayKumar42:mainfrom
Conversation
|
@arnab9957 is attempting to deploy a commit to the vinayboss Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
🎉 Thank you @arnab9957 for your first PR to Short-Notes!
We really appreciate your contribution 🙌
What happens next:
- 🔍 Maintainers will review your PR
- 🧪 Automated checks will run
- ✨ Feedback may be shared if needed
Please confirm your PR includes:
- ✔️ Clear summary of changes
- ✔️ Linked issue (e.g., Fixes #123)
- ✔️ Steps to test
- ✔️ Screenshots (for UI changes)
📘 Contribution Standards:
👉 https://github.com/VinayKumar42/short-notes/blob/main/CONTRIBUTING.md
💬 Stay Connected with Our Community
🎯 Discord (Official Communication)
For formal discussions, code reviews, and project updates:
👉 https://discord.gg/dCCyGCNbGQ
💚 WhatsApp (Friendly Community)
For informal chats, quick help, and building friendships with contributors:
👉 https://chat.whatsapp.com/I8GYXd3mHlDCC2iXhNGeqV
🌟 Our Philosophy: We value both professional collaboration (Discord) and personal connections (WhatsApp). Join both to get the complete SS-Capture community experience!
Thanks for helping improve Short-Notes 🚀
Let's build something amazing together! 💪
|
@arnab9957 For which issue is this PR related |
Signed-off-by: Arnab Kumar Dey <arnabkumardey9957@gmail.com>
|
@arnab9957 |
I havbe already attached the screenshot |
HarshYadav152
left a comment
There was a problem hiding this comment.
@arnab9957 Fix this
|
@arnab9957 what the progress? |
Signed-off-by: Arnab Kumar Dey <arnabkumardey9957@gmail.com>
|
@arnab9957 fixed some problem in your module |
|
@arnab9957 There is a merge conflict resolve them. |
|
@arnab9957 do you resolve the conflicts or not |
Signed-off-by: Arnab Kumar Dey <arnabkumardey9957@gmail.com>
🎨 UI Enhancement: Improve Dark Mode & Light Mode Visibility #7
📌 Description
Fixed critical visibility issues in both Dark Mode and Light Mode by implementing proper contrast ratios, theme-aware styling, and smooth transitions across all UI components.
🚨 Issues Fixed
✨ Changes Made
Core Theme System
ThemeWrappercomponent with proper color schemes and smooth transitionsbg-gray-900withtext-gray-100bg-gray-50withtext-gray-900darkModestate to child componentsComponent Updates
🧭 Navbar Component
bg-grey-500class (typo)🏠 Home Component
bg-gray-800,text-gray-100,placeholder-gray-500bg-white,text-gray-900,placeholder-gray-400📋 Paste Component
bg-gray-700withborder-gray-600bg-whitewithborder-gray-300and subtle shadows👁️ ViewPaste Component
Global Styles (index.css)
🎯 Accessibility Improvements
✅ WCAG-compliant contrast ratios implemented
✅ All text elements clearly readable in both themes
✅ Interactive elements visually distinct with proper hover states
✅ Proper focus indicators for keyboard navigation
✅ Smooth theme transitions without jarring changes
🖼️ Visual Changes
Navbar
Input Fields & Textareas
Buttons
Paste Cards
🧪 Testing Checklist
📝 Technical Details
Files Modified
src/App.jsx- Enhanced theme system with render propssrc/components/Navbar.jsx- Fixed styling and added theme supportsrc/components/Home.jsx- Added darkMode prop and theme-aware stylessrc/components/Paste.jsx- Implemented comprehensive theme supportsrc/components/ViewPaste.jsx- Added theme-aware readonly stylessrc/index.css- Global transitions and custom scrollbarsColor Palette
Dark Mode:
gray-900(#111827)gray-800(#1f2937)gray-100(#f3f4f6)gray-400(#9ca3af)gray-700(#374151)Light Mode:
gray-50(#f9fafb)white(#ffffff)gray-900(#111827)gray-600(#4b5563)gray-300(#d1d5db)🔗 Related Issue
Closes #[issue-number]
📸 Screenshots
🚀 Deployment Notes
No breaking changes. No database migrations required. Safe to deploy.
Review Checklist: