fix : made ErrorBoundary fallback UI adapt to light mode - #2028
Open
tmdeveloper007 wants to merge 5 commits into
Open
fix : made ErrorBoundary fallback UI adapt to light mode#2028tmdeveloper007 wants to merge 5 commits into
tmdeveloper007 wants to merge 5 commits into
Conversation
added 5 commits
August 3, 2026 23:01
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.
Summary of What Has Been Done
The ErrorBoundary.jsx component used hardcoded dark-mode colors for the error fallback UI. This has been updated to use dark-mode-aware Tailwind classes so the error page is readable in both light and dark modes.
Changes Made
frontend/src/components/ErrorBoundary.jsx:bg-gray-900+text-white→bg-gray-100 dark:bg-gray-900+text-gray-900 dark:text-whitebg-gray-800→bg-white dark:bg-gray-800,border-gray-700→border-gray-200 dark:border-gray-700text-gray-100→text-gray-900 dark:text-gray-100text-gray-400→text-gray-500 dark:text-slate-300bg-gray-950→bg-gray-100 dark:bg-gray-950,border-gray-700/50→border-gray-200 dark:border-gray-700/50,text-red-400/90→text-red-500 dark:text-red-400/90bg-gray-700→bg-gray-300 dark:bg-gray-700,text-white→text-gray-800 dark:text-gray-100, hover states updatedImpact it Made
Closes #2023
Note: Please assign this PR to the
tmdeveloper007account.