Skip to content

feat: Style tweaks for the route schedule page headers - #3477

Draft
joshlarson wants to merge 3 commits into
mainfrom
jdl/feat/schedule_page_header_style_tweaks
Draft

feat: Style tweaks for the route schedule page headers#3477
joshlarson wants to merge 3 commits into
mainfrom
jdl/feat/schedule_page_header_style_tweaks

Conversation

@joshlarson

Copy link
Copy Markdown
Contributor

Scope

Asana Ticket: 💈 Visual styling tweaks

Implementation

I did this in three commits:

  1. Just the plain old CSS stuff - the font size and padding changes.
  2. Refactor to create a HEEx component file, currently just for the <h1>{route_header_text}</h1>, but I imagine that we may want to eventually use it for the whole schedule route header.
  3. Add the mode icon to the appropriate routes/modes.

Screenshots

Subway
Screenshot 2026-09-04 at 5 46 49 PM

Commuter Rail
Screenshot 2026-09-04 at 5 47 31 PM

Silver Line Bus
Screenshot 2026-09-04 at 5 48 15 PM

Non-Silver Line Bus
Screenshot 2026-09-04 at 5 50 46 PM

Ferry
Screenshot 2026-09-04 at 5 52 36 PM

How to test

Look at the various route pages linked above, as well as any other route pages you can think of.

Note

I'm not sure I love the wrapping behavior for bus routes with long names. It's not new, but the combination of the bottom-padding change and the fact that the bus route ID and the route description are the same font size now make the wrapping look more wrong (IMO). I'm interested in ideas for how to make that look better, and will likely explore those before merging.

Screenshot 2026-09-04 at 5 51 33 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-green Deploy to dev-green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant