Railway — decoded design system
Railway's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/railway.app.
Decoded design system
Railway's decoded design system: background #13111C, text #FFFFFF, link #F7F7F8, primary #F7F7F8; type scale h1 54px / h2 36px / body 16px; 8px spacing base; 8px base radius. The single interactive/action color is #553F83 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #13111C |
| surface | #211F29 |
| border | #36343E |
| text | #FFFFFF |
| text_muted | #A5A4A8 |
| primary | #F7F7F8 |
| link | #F7F7F8 |
| button_bg | #553F83 |
| button_text | #FFFFFF |
Using these colors
- Action color
#553F83— the single interactive color; only on things you click or must notice, never large fills. primary,linkare all#F7F7F8— one role, not several (the action color).
Typography
- Heading: IBM Plex Serif
- Body: Inter
- h1: 54px
- h2: 36px
- body: 16px
Spacing
- base unit: 8px
- scale: 4px, 6px, 8px, 12px, 16px, 24px, 32px, 40px, 64px, 80px
Radii
- base: 8px
- button: 8px
Motion
Micro-interactions run at 150ms (dominant) with ease-out.
- durations: 150ms · 200ms · 3000ms
- easings:
ease-out·ease-in-out - animated properties: transform, opacity, background-color, color
Native design tokens
| Token | Value |
|---|---|
--osano-clear-dialog-background | rgba(24,13,67,0) |
--osano-button-border-color | #33323e |
--osano-button-background-color | #59497a |
--osano-button-foreground-color | #FFFFFF |
--osano-dialog-background-color | #13111c |
--osano-dialog-foreground-color | #FFFFFF |
--osano-info-dialog-overlay-color | rgba(0,0,0,0.45) |
--osano-link-color | #ffffff |
--osano-toggle-off-track-color | #535361 |
--osano-toggle-off-thumb-color | #FFFFFF |
…and 110 more measured on the page.
Button states (measured)
- primary focus: outline
1px auto rgb(16, 16, 16)
Layout (measured)
- container max-width:
1696px - nav: 32px relative
- common grid: 3 columns
Motion choreography (measured)
Load order: div.flex → div.osano-cm-info-dialog__in → div.osano-cm-window__dialog → button.osano-cm-dialog__close → button.osano-cm-dialog__close → button.osano-cm-dialog__close
Scroll reveal: 23 elements rest at opacity 0, translateY(24px), animate in over 3000ms.
Overlay recipe (measured)
dialog panel: #000000 · radius 12px · enter 200ms linear
Responsive (measured)
- breakpoints: 768px
- mobile (390px): hero 40px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/railway.app
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/railway.theme.ts https://mozaika.design/api/astryx/decode/railway.app.ts
registry item · astryx theme · or query it over MCP: get_design_system("Railway")
Export: DESIGN.md
# Railway — Design System > dark — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#13111C` | | surface | `#211F29` | | border | `#36343E` | | text | `#FFFFFF` | | text_muted | `#A5A4A8` | | primary | `#F7F7F8` | | link | `#F7F7F8` | | button_bg | `#553F83` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#553F83` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `primary`, `link` are all `#F7F7F8` — one role, not several. - **Page coverage** (full-page screenshot pixels): `#13111C` 58.6% · `#202A39` 34.2% · `#49485C` 7.2% ## Typography - Heading: **IBM Plex Serif** _(free fallback: Newsreader)_ - Body: **Inter** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 54px / 500 · lh 60px · tracking -1.96px | | h2 | 36px / 400 · lh 48px · tracking -0.72px | | h3 | 20px / 400 · lh 28px | | body | 16px / 500 · lh 24px | | small | 14px / 500 · lh 20px | - Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** IBM Plex Serif may be proprietary — safe free fallback: Newsreader (Google Fonts). Inter — free, on Google. ## Spacing - base unit: 8px (inferred from the measured scale) - measured scale: 4px, 6px, 8px, 12px, 16px, 24px, 32px, 40px, 64px, 80px — snap all gaps/padding to these - section rhythm: 96px top/bottom padding per section (measured) ## Radius - base: 8px - button: 8px - card: 4px - pill: 9999px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#553F83` / `#FFFFFF` | 1px solid rgba(255, 255, 255, 0.15) | 8px | 12px 24px 12px 24px | 500 20px / -0.2px | none | | secondary | `rgba(0, 0, 0, 0)` / `#F7F7F8` | none | 6px | 0px 12px 0px 12px | 500 14px | none | **States (measured, not guessed)** - primary focus: outline `1px auto rgb(16, 16, 16)` - secondary hover: background `rgba(255, 255, 255, 0.05)` - transition: `filter 0.15s cubic-bezier(0.4, 0, 0.2, 1)` ## Motion - durations: 150ms (dominant) · 200ms · 3000ms - easings: `ease-out` (dominant) · `ease-in-out` - animated properties: transform, opacity, background-color, color Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion. ## Their own tokens (verbatim from :root) | Token | Value | |-------|-------| | `--osano-clear-dialog-background` | `rgba(24,13,67,0)` | | `--osano-button-border-color` | `#33323e` | | `--osano-button-background-color` | `#59497a` | | `--osano-button-foreground-color` | `#FFFFFF` | | `--osano-dialog-background-color` | `#13111c` | | `--osano-dialog-foreground-color` | `#FFFFFF` | | `--osano-info-dialog-overlay-color` | `rgba(0,0,0,0.45)` | | `--osano-link-color` | `#ffffff` | | `--osano-toggle-off-track-color` | `#535361` | | `--osano-toggle-off-thumb-color` | `#FFFFFF` | | `--osano-toggle-on-track-color` | `#13111c` | | `--osano-toggle-on-thumb-color` | `#13111c` | _…and 108 more measured on the page._ Prefer these names when extending their system — it's the brand's actual vocabulary. ## Layout (measured) - container max 1696px · common grid: 3-col - nav: 32px relative | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 124 | 1716 | 3 | — | 0/16 | 9/83/9 | | 1840 | 1712 | — | — | 0/0 | — | | 3552 | 765 | — | — | 0/0 | — | | 4317 | 761 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `div.flex` @0ms → `div.osano-cm-info-dialog__in` @1685ms → `div.osano-cm-window__dialog` @1857ms → `button.osano-cm-dialog__close` @1858ms → `button.osano-cm-dialog__close` @1858ms → `button.osano-cm-dialog__close` @1858ms - `div.bg-pink-200` — transform translateX(-48.1765%)→translateX(-47.1923%) — 150ms cubic-bezier(0, 0, 0.2, 1) - `circle.animate-pulse-station` ×5 — opacity 1→0.1 · transform scale(0)→scale(1) — 3000ms cubic-bezier(0.25, 0.1, 0.25, 0.8) · loops - scroll reveal: 23 elements rest at opacity 0, translateY(24px), animate in over 3000ms (6 revealed during the drive). - overlay dialog (auto-opened): panel #000000 · r 12px · border 1px solid rgba(255, 255, 255, 0.1) · shadow rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.1) 0px 4px 6px -4px - enter: opacity from 0 · 200ms linear Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #A667E4 · underline ## Responsive (measured) - breakpoints: 768px - mobile (390px): hero 40px · body 16px · nav: inline ## How to apply Paste the Tailwind `@theme` (or CSS variables) as your base, then build each section to its spec — verify every color, radius, and font against these tokens. Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/decode/railway.app
An automated reading of Railway's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with railway.app. No screenshots stored. Removal requests: hello@mozaika.design.