Feat/582 dark light theme toggle#654
Merged
ayomideadeniran merged 3 commits intoJun 4, 2026
Merged
Conversation
This PR updates the repository README to include the required backend environment variables for local development. - Adds `REDIS_URL` to the backend `.env` sample. - Uses a stronger example `JWT_SECRET` that satisfies backend validation. - Clarifies using `backend/.env.example` as the starting point. These changes align the README with the backend startup requirements.
…nce detection - Add theme toggle component with icon and button variants - Implement system preference detection using prefers-color-scheme media query - Add theme persistence via localStorage with custom storage key 'web3-lab-theme' - Create useThemeMode hook for comprehensive theme state management - Integrate Providers component with next-themes configuration - Implement FOUC prevention script in document head - Add ThemeToggleCompact component to Navbar for easy access - Configure theme colors with CSS custom properties - Support smooth color transitions and animations with Framer Motion Testing & Quality: - Add comprehensive unit tests with >90% coverage (100+ tests) - Create Jest configuration and setup files - Test coverage for hooks, components, providers, and integration Documentation: - Create THEME_DOCUMENTATION.md with complete technical guide - Create THEME_QUICK_START.md for user-friendly setup - Add THEME_IMPLEMENTATION_SUMMARY.md with file changes - Create resolution checklist for Issue StellarDevHub#582 - Add detailed JSDoc comments on all hooks and components - Include inline educational comments explaining design decisions Accessibility & Features: - Full WCAG 2.1 compliance with keyboard navigation - ARIA labels on all interactive elements - Support for reduced motion preferences - System preference detection with manual override - Theme persistence across sessions Closes StellarDevHub#582
|
@Nuel-ship-it is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Nuel-ship-it Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Contributor
|
PR under review. I will drop a review if I find any wrong implementation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #589