Update text color in minimal error view to ensure better accessibility #57318
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.
This pull request makes a minor visual improvement to the error page template. The color of the error code and message text has been updated for better readability and dark mode support.
src/Illuminate/Foundation/Exceptions/views/minimal.blade.php
to usetext-gray-600
for light mode anddark:text-gray-300
for dark mode, improving accessibility and visual consistency across themes.While developing my own application, and writing tests to ensure it would be accessible for all users, I found that the standard HTTP error pages were having issues with the contrast of the text color and background color.
Prior to these changes, when comparing the contrast ratios, it would be:


After these changes, when comparing the contrast ratios, it will be:
