Skip to content

style(composer): unify chat composer surface with message stream#26

Merged
setkyar merged 5 commits into
mainfrom
chore/update
Jun 1, 2026
Merged

style(composer): unify chat composer surface with message stream#26
setkyar merged 5 commits into
mainfrom
chore/update

Conversation

@setkyar
Copy link
Copy Markdown
Contributor

@setkyar setkyar commented May 31, 2026

Summary

  • Replace the darker --chrome-bg band behind the chat composer with --body-bg so the message stream and composer share one continuous surface, removing the hard horizontal seam.
  • Make the input shell the only visible frame: softer 10px corner radius plus a faint resting shadow, with a lighter focus shadow.
  • Trim composer top padding (18px → 14px) now that the band is gone.
  • Affects the live session view only; the export snapshot has no composer.

Testing

  • make build

setkyar added 5 commits June 1, 2026 00:09
Drop the darker --chrome-bg band behind the composer in favor of
--body-bg so the message stream and composer share one surface with no
hard seam. The input shell becomes the only visible frame: softer 10px
radius and a faint resting shadow.
Turn the git branch + PR row into a full-bleed footer dock with a
chrome surface and top border anchored to the bottom of the reading
column. Add a soft elevation to the content column so it reads as a
raised panel against the darker chrome, especially when framed by both
sidebars.
- Add display_override: [window-controls-overlay, standalone] to manifest
  so installed PWA defaults to WCO compact mode on Chrome/Edge
- Draw session and index headers into the OS title bar via env(titlebar-area-*)
  with full-width border-bottom and content inset past traffic lights /
  Chrome buttons on both sides
- Match Chrome's control strip (left/right of our header) by setting
  theme-color and documentElement.style.backgroundColor to chrome-bg in WCO
  mode and body-bg in standalone mode — eliminates the colour seam
- Use @media (display-mode: standalone) to give standalone-without-WCO a
  distinct solid body-bg header that merges with the OS title bar
- Inline background-color set in <head> before CSS loads to prevent
  white/grey flash during navigation; updates on theme switch and WCO
  geometry changes
- Add @view-transition { navigation: auto } to theme.css for smooth 120ms
  cross-fade between index and session pages (Chrome 126+)
Detail page now defaults to the nord theme and shows the scratchpad
sidebar by default. Existing user preferences in localStorage still win.
@setkyar setkyar merged commit 350fd78 into main Jun 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant