Skip to content

The conversations rail matches the Library rail under ai-chat 0.5 - #347

Merged
mattshax merged 1 commit into
mainfrom
rail-bg
Sep 25, 2026
Merged

mattshax merged 1 commit into
mainfrom
rail-bg

Conversation

@mattshax

Copy link
Copy Markdown
Member

An audit of the Studio's .chat-canvas rules against the ai-chat 0.5 DOM found two more 0.4-era selectors that stopped matching (after the rail highlight in #346):

  • Rail background. The rail is now aside.bg-(--theme-muted-panel-bg), not .theme-panel.border-r, so it lost --pw-rail-bg: identical in light, #2e3032 vs the Library rail's #232528 in dark.
  • Row size. Rows and actions are spans inside li, button, and a, not bare links, so they rendered at 14px instead of the Library tree's 13px.

Both rules now match either version. Measured in headless Chrome: rail #232528 in dark and white in light; rows and actions 13px; the Chats header stays 14px.

The audit's remaining unmatched selectors belong to states the check did not render (activity drawer open, a reply streaming, dark-only rules); their classes (max-h-20, border-l-2, transition-[width]) still ship in 0.5.

…hat 0.5

An audit of the Studio's rules against the ai-chat 0.5 markup found two
more selectors written for 0.4 that no longer matched. The rail is now an
aside on the muted-panel token rather than theme-panel border-r, so it
lost the Library rail's background: identical in light mode, #2e3032
against #232528 in dark. And its rows render as spans in li, button, and
a elements rather than bare links, so they grew from the Library tree's
13px to 14px. Both rules now match either version. Measured in a browser
after the change: the rail is #232528 in dark and white in light, rows
and actions are 13px, and the Chats header stays 14px.

The audit's other unmatched selectors apply only in states the check did
not render (the activity drawer open, a reply streaming, dark mode) and
their classes still ship in 0.5.
@mattshax
mattshax merged commit 599c7ac into main Sep 25, 2026
2 checks passed
@mattshax
mattshax deleted the rail-bg branch September 25, 2026 14:14
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