Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(desktop): make file preview modal fully opaque via proper token utility

6 months ago

2151177
Authored
Max Weinbach4/15/2026, 10:55:18 PM
The previous !bg-background approach failed because app-surface-overlay sets the background shorthand which overrides background-color regardless of !important. Add an app-surface-opaque utility class that uses --surface-window (fully opaque) on the background shorthand so it properly overrides the semi-transparent app-surface-overlay from DialogContent.

Made-with: Cursor

Parent3eaaf2c

2 files changed
  • apps/desktop/src/styles/token-utilities.css+5−0
  • apps/desktop/src/ui/FilePreviewModal.tsx+1−1