Skip to content

fix(ui): dashboard homepage add buttons are invisible in light mode#9456

Open
rosslh wants to merge 1 commit intocoollabsio:nextfrom
rosslh:fix/dashboard-add-buttons-light-mode
Open

fix(ui): dashboard homepage add buttons are invisible in light mode#9456
rosslh wants to merge 1 commit intocoollabsio:nextfrom
rosslh:fix/dashboard-add-buttons-light-mode

Conversation

@rosslh
Copy link
Copy Markdown

@rosslh rosslh commented Apr 6, 2026

Changes

The "+" icon buttons next to the "Projects" and "Servers" headings on the dashboard are invisible in light mode. Both buttons use text-white without a dark: prefix, so the white SVG icon (which uses stroke="currentColor") renders on the light background with no contrast.

Changed text-white to text-black dark:text-white on both buttons in resources/views/livewire/dashboard.blade.php.

Issues

Fixes #9454

Category

  • Bug fix

Preview

N/A (two-line CSS class change)

AI Assistance

  • I used AI tools to help with this PR

Claude Code (Anthropic) identified the root cause (text-white without dark variant) and suggested the fix. The change was human-reviewed and verified.

Testing

  1. Switch to light mode (Settings > Theme > Light)
  2. Navigate to Dashboard
  3. Verify the "+" button is visible next to "Projects" and "Servers" headings
  4. Switch to dark mode and verify the button is still visible

Contributor Agreement

  • I have read and understood the contributor guidelines
  • I have searched existing issues/PRs to avoid duplicates
  • I have tested my changes thoroughly and am confident they work

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
@rosslh
Copy link
Copy Markdown
Author

rosslh commented Apr 6, 2026

I drafted the PR with AI, hence the "strawberry". I've reviewed the code and confirmed it works correctly.

@Cinzya Cinzya added the UI/UX label Apr 6, 2026
@ShadowArcanist ShadowArcanist changed the title fix(ui): make dashboard add buttons visible in light mode fix(ui): dashboard homepage add buttons are invisible in light mode Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants