[PR #7834] fix(ui): install toast text not visible in light mode #12528

Open
opened 2026-02-16 18:17:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/7834

State: open
Merged: No


  • Changed background from --surface-float-base to --surface-raised-strong
  • Replaced all --text-invert-* tokens with --text-* tokens
  • Fixed typo: --text-invert-stronger doesn't exist in theme system
  • Toast now adapts to light/dark theme like rest of UI

Before: Toast always dark in light mode, light in dark mode
After: Toast follows theme - light bg in light mode, dark bg in dark mode

What does this PR do?

Fixes #7831

How did you verify your code works?

First I hardcoded in packages/app/src/pages/layout.tsx updateAvailable = true to force the toast to appear.
Then I ran:
cd packages/desktop
bun run tauri dev

Screenshot_20260111_143508 Screenshot_20260111_143425
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7834 **State:** open **Merged:** No --- - Changed background from --surface-float-base to --surface-raised-strong - Replaced all --text-invert-* tokens with --text-* tokens - Fixed typo: --text-invert-stronger doesn't exist in theme system - Toast now adapts to light/dark theme like rest of UI Before: Toast always dark in light mode, light in dark mode After: Toast follows theme - light bg in light mode, dark bg in dark mode ### What does this PR do? Fixes #7831 ### How did you verify your code works? First I hardcoded in `packages/app/src/pages/layout.tsx` `updateAvailable = true` to force the toast to appear. Then I ran: cd packages/desktop bun run tauri dev <img width="1250" height="881" alt="Screenshot_20260111_143508" src="https://github.com/user-attachments/assets/f3eb6b2b-68cd-4e0d-b2a4-945a148e8e69" /> <img width="1248" height="879" alt="Screenshot_20260111_143425" src="https://github.com/user-attachments/assets/f7744116-df58-4340-9fba-bb2fb00d421c" />
yindo added the pull-request label 2026-02-16 18:17:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12528