- Vendor the 36 OpenCode theme palettes into the shared package, synced
from the pinned OpenCode release tag via pnpm themes:sync.
- Add a colorTheme user preference across the settings schema, defaults,
and the assistant internal API.
- Extend palettes with success, warning, info, and diff colors, and add a
resolver that maps palettes to CSS tokens and applies them to the DOM.
- Apply the theme app-wide through a ThemeProvider context, adopting the
tokens in message, repo, session, and settings components, agent
colors, git status styles, and diff viewers.
- Add a theme picker to General settings and make model quick-select
follow the active theme (fixes#355).
* fix: add iOS safe-area-inset-top support for fullscreen overlays
- Add pt-safe CSS utility class for safe-area-inset-top
- Create FullscreenSheet component with built-in safe-area support
- Add fullscreen prop to DialogContent for fullscreen dialogs
- Update FileBrowserSheet to use FullscreenSheet
- Update MobileFilePreviewModal to use FullscreenSheet
- Add pt-safe to SettingsDialog mobile view
Fixes status bar overlap on iOS devices with notch/Dynamic Island
* fix: add pt-safe to main page headers
- Header.tsx (main repos page)
- SessionDetailHeader.tsx (session page)
* docs: add TDD refactoring plan for iOS safe area
* remove plan file from repo
* refactor: centralize iOS safe area handling with PageHeader component
- Add PageHeader component with pt-safe, sticky, z-10, border-b styling
- Add TDD test infrastructure (vitest config, testing-library, jsdom)
- Refactor Header, SessionDetailHeader, RepoDetailHeader, Workspace to use PageHeader
- Fix missing pt-safe on RepoDetailHeader and Workspace pages
- All header safe area styling now has single fix point
* fix: add pt-safe to remaining fullscreen dialogs and sheets
- GitChangesSheet, FilePreviewDialog: add fullscreen prop
- ModelSelectDialog, RepoMcpDialog: add pt-safe class
- EditSessionTitleDialog: add pt-safe on mobile
* fix: use mobile-first positioning for large dialogs
Dialogs need top-0 positioning on mobile for pt-safe to work.
Centered dialogs don't benefit from safe area padding.
* fix: add mobileFullscreen prop to DialogContent
- Fullscreen on mobile with pt-safe, centered on desktop
- Simplifies large dialog styling
* fix: use inline styles for iOS safe area to fix CSS cascade issues
- Convert pt-safe/pb-safe to @utility directives with iOS 11 fallback
- Use inline styles on DialogContent for reliable safe-area padding
- Position close button with calc(env(safe-area-inset-top) + 1rem)
- Add 10 tests for DialogContent safe-area behavior
* refactor: extract ListToolbar and Header components for reuse
- Add ListToolbar component for search/select all/delete UI
- Add Header compound component (Header.Root, Header.Title, etc.)
- Update SessionList and RepoList to use ListToolbar
- Mobile delete: deletes selected or all if none selected
- Cancel delete now clears selection
- Remove unused layout components
---------
Co-authored-by: Chris Scott <99081550+chriswritescode-dev@users.noreply.github.com>