fix(ui): dashboard homepage add buttons are invisible in light mode#9456
Open
rosslh wants to merge 1 commit intocoollabsio:nextfrom
Open
fix(ui): dashboard homepage add buttons are invisible in light mode#9456rosslh wants to merge 1 commit intocoollabsio:nextfrom
rosslh wants to merge 1 commit intocoollabsio:nextfrom
Conversation
The "+" icon buttons next to "Projects" and "Servers" headings used text-white without a dark: prefix, making them invisible on light backgrounds. Changed to text-black dark:text-white so the icon is visible in both themes. Fixes coollabsio#9454
Author
|
I drafted the PR with AI, hence the "strawberry". I've reviewed the code and confirmed it works correctly. |
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.
Changes
The "+" icon buttons next to the "Projects" and "Servers" headings on the dashboard are invisible in light mode. Both buttons use
text-whitewithout adark:prefix, so the white SVG icon (which usesstroke="currentColor") renders on the light background with no contrast.Changed
text-whitetotext-black dark:text-whiteon both buttons inresources/views/livewire/dashboard.blade.php.Issues
Fixes #9454
Category
Preview
N/A (two-line CSS class change)
AI Assistance
Claude Code (Anthropic) identified the root cause (
text-whitewithout dark variant) and suggested the fix. The change was human-reviewed and verified.Testing
Contributor Agreement