opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix(ui): install toast text not visible in light mode

Open fgonzalezurriola opened this issue 3 days ago • 5 comments

  • 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

fgonzalezurriola avatar Jan 11 '26 17:01 fgonzalezurriola