Skip to content

The open conversation stands out in the rail - #348

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

mattshax merged 1 commit into
mainfrom
rail-contrast

Conversation

@mattshax

Copy link
Copy Markdown
Member

The open row used the shared pale pill (#e1f2fb on a white rail) and was hard to find at a glance. It now gets color-mix(in oklab, var(--pw-navy) 14%, var(--pw-rail-bg)) plus a 3px inset accent bar on the leading edge (dark: --pw-link at 22% and a --pw-link bar), so the mark holds under any deployment accent. Sidenav, Library tree, and Help keep the shared pill.

Also: in dark mode rail rows rendered in the link blue from the global [data-theme='dark'] a rule; rail links now use --pw-text like the Library tree. Checked in both themes in headless Chrome.

The open row used the shared pale pill (#e1f2fb on a white rail), which
was hard to find at a glance in a long list. It now takes a stronger
tint of the accent and a 3px accent bar on its leading edge, which
carries the mark even where the tint is subtle, in either theme and under
any deployment accent. Other active states (sidenav, Library tree, Help)
keep the shared pill.

In dark mode the rows also rendered in the link blue, from the global
rule that colors every link; rail rows are navigation, so they now use
the text color like the Library tree.
@mattshax
mattshax merged commit b9defdb into main Sep 25, 2026
2 checks passed
@mattshax
mattshax deleted the rail-contrast branch September 25, 2026 18:39
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