Trainline
Trainline
trainline

Trainline's design system uses #00a88f as its primary color and Inter for typography, with 4px corner radius. Trainline is Europe's leading independent rail and coach booking platform, and its interface reflects a practical, optimistic approach to travel — clean, confident, and task-focused.

Primary
#00a88f
Typography
Inter
Radius
4px
Design System
Trainline logo

Trainline

Trainline is Europe's leading independent rail and coach booking platform, and its interface reflects a practical, optimistic approach to travel — clean, confident, and task-focused. The homepage opens on a white canvas (#ffffff) with a prominent booking form using soft grey input fields (#f2f4f4) and an eye-catching teal primary CTA (#00a88f — "Find c

01

Color Palette

Brand

Accent

Neutrals

02

Typography

Type Scale

Rendered in system-ui to clearly show scale & weight.

display48px · 600 · 1.25
Design at scale
32px32px · 600 · 1.25
Section heading
heading-lg24px · 600 · 1.4
Subheading
body16px · 400 · 1.5
Body text. The quick brown fox jumps over the lazy dog. Designed for readable line-height in long-form content.
small12px · 400 · 1.5
Supporting text
caption12px · 400 · 1.5
Caption · timestamp · 2026
label10px · 500 · 1.5
BADGE / LABEL

Fonts

Primary
Inter
Open · OFL
Designed by Rasmus Andersson. Variable font with full weight range.
Install via Google Fonts
Display
TLCircular
Brand-only
Not in the OMD font registry. Likely a brand-proprietary typeface — check the brand's own design site for source/availability.
Not publicly distributed.
03

Spacing & Shape

Spacing

PurposeValuePreview
Densitycomfortable
Base unit8px
Section gap32px
Card padding16px
Element gap12px

Border Radius

ElementValuePreview
cookieSharp2px
allStandard4px
inputsStandard4px
cardsStandard4px
signPill26px
fullFull9999px

Elevation

Subtle
Default
Elevated
Floating
Modal
04

Guidelines

Do and Don't guidelines parsed from DESIGN.md.

Do

  • Use teal (#00a88f) exclusively for the primary booking CTA — it is the highest-priority action signal
  • Use navy (#2332c4) for in-flow interactive actions within the search and booking journey
  • Use TLCircular for all marketing and feature headings — it defines the brand personality
  • Use system fonts for all transactional UI, form fields, and body text — speed and native legibility matter
  • Keep border-radius at 4px for buttons and inputs — professional, not playful
  • Use #f2f4f4 for input field backgrounds — the soft grey creates calm focus without distraction
  • Use #192325 (deep ink) for primary text — warmer and more distinctive than pure black
  • Use full-width warning banners (#fdf7c9) for service disruption — highly visible but low-alarm

Don't

  • n't use teal for secondary or tertiary actions — dilutes the single booking CTA signal
  • n't use rounded/pill borders on booking inputs or main content cards — 4px is the standard
  • n't substitute the system font for body text with TLCircular — TLCircular is for brand/marketing moments only
  • n't add decorative gradients or heavy shadows — Trainline is clean and functional
  • n't use pure black (#000000) for headings — use ink (#192325) for the brand-warm tone
  • n't use the warning yellow (#fdf7c9) outside of genuine service disruption alerts
  • n't hide the primary teal CTA in complex layouts — it should be the visual focal point
05

Components

Buttons

button-primary
Background#00a88f
Text#ffffff
Radius4px
Padding10px 12px
Font16px / 600 TLCircular
Use: Primary booking CTA — 'Find cheap tickets'
button-action
Background#2332c4
Text#ffffff
Radius4px
Padding8px 16px
Font14px / 400 system-ui
Use: Search/change action button on results surface
button-secondary
Background#ffffff
Text#192325
Border1px solid #d0d4d5
Radius4px
Padding8px 16px
Font16px / 700 system-ui
Use: Secondary white outlined CTAs — 'Buy now', 'Buy your Railcard'
button-sign-in
Background#e7ebeb
Text#192325
Radius26px
Padding2px 8px 2px 16px
Font16px / 600 system-ui
Use: Sign-in pill button in nav

Inputs

input-station
Background#f2f4f4
Text#000000
Border2px solid transparent
Radius4px
Padding16px 16px 16px 96px
Font16px / 400 system-ui
Use: Station autocomplete inputs — departure and arrival
input-date
Background#f2f4f4
Text#000000
Radius4px
Padding16px
Font16px / 600 system-ui
Use: Date/time selector field

Cards

card-feature
card-feature
Background#ffffff
Radius4px
Use: Feature promotional cards — Season Ticket, Railcard promotions

Badges

badge
badge-warning
Background#fdf7c9
Text#502e00
Radius0px
Use: Service disruption banner at top of page

Tabs

TabTabTab
tab-nav
Text#192325
Font14px / 600 system-ui
Activetext #192325 highlighted
Use: Top nav items

Related design systems