Railway — Design System
Railway is infrastructure told as a night-train story: a deep aubergine #13111C sky, painterly mountain vistas behind the deploy card, and IBM Plex Serif headlines (54px/500) that give a devops tool the voice of a novel. Inter carries the 18px body while glowing track-lines and canvas-drawn diagrams animate the scroll into a continuous journey. Buttons stay quiet and borderless; the romance is in the atmosphere, not the chrome — a rare serif-led, illustration-first take on developer clouds.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/railway.
Tokens
Railway's decoded design system: background #13111C, text #ECECEE, accent #553F83, link #291839, primary #1F132A; type scale h1 54px / h2 40px / body 18px; 8px spacing base; 6px 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 | #201E28 |
| border | #33313B |
| text | #ECECEE |
| text_muted | #99989E |
| primary | #1F132A |
| accent | #553F83 |
| link | #291839 |
| secondary | #553F83 |
| 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. accent,secondary,button_bgare all#553F83— one role, not several (the action color).- accent
#553F83— THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - primary
#1F132A— a brand color — but the call-to-action uses #553F83, not this. - link
#291839— fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference).
Typography
- Heading: IBM Plex Serif
- Body: Inter
- h1: 54px
- h2: 40px
- body: 18px
Spacing
- base unit: 8px
- scale: 4px, 6px, 8px, 12px, 16px, 24px, 32px, 40px, 64px, 80px
Radii
- base: 6px
- 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×2 → 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
Per-section tokens (18)
- Hero — dark · bg #18212F · text #524B57 · 1 col · left
- Hero — dark · bg #13111B · text #4C4756 · 2 col · split
- Logo Wall — dark · bg #2B3437 · text #56545A · 1 col · left
- Pricing / Plans — dark · bg #181623 · text #585577 · 3 col · split
- Feature — dark · bg #1A2131 · text #0D0C13 · 1 col · left
- Pricing / Plans — dark · bg #13111B · text #595662 · 1 col · center
- Feature — dark · bg #13111B · text #323940 · 2 col · split
- Comparison — dark · bg #181623 · text #414350 · 1 col · left
- Feature — dark · bg #13111B · text #4E5658 · 1 col · left
- Feature — dark · bg #181623 · text #4B4A54 · 2 col · split
- Feature — dark · bg #1E2B2E · text #11101A · 1 col · left
- Testimonial / Social Proof — dark · bg #13111B · text #353642 · 1 col · center
- Feature — dark · bg #13111B · text #2D3039 · 1 col · left
- CTA / Sign-up — dark · bg #13111B · text #423054 · 3 col · split
- Testimonial / Social Proof — dark · bg #251823 · text #524750 · 1 col · left
- FAQ — dark · bg #181623 · text #D6D7D7 · 1 col · left
- Stats / Metrics — dark · bg #13111B · text #27262D · 3 col · split
- Footer — dark · bg #13111B · text #585663 · 2 col · split
Export: DESIGN.md
# Railway — Design System > dark, modern, medium, tailwind — deep decode (measured live) Railway is infrastructure told as a night-train story: a deep aubergine #13111C sky, painterly mountain vistas behind the deploy card, and IBM Plex Serif headlines (54px/500) that give a devops tool the voice of a novel. Inter carries the 18px body while glowing track-lines and canvas-drawn diagrams animate the scroll into a continuous journey. Buttons stay quiet and borderless; the romance is in the atmosphere, not the chrome — a rare serif-led, illustration-first take on developer clouds. ## Colors | Role | Value | |------|-------| | bg | `#13111C` | | surface | `#201E28` | | border | `#33313B` | | text | `#ECECEE` | | text_muted | `#99989E` | | primary | `#1F132A` | | accent | `#553F83` | | link | `#291839` | | secondary | `#553F83` | | 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. - `accent`, `secondary`, `button_bg` are all `#553F83` — one role, not several (your action color). - **accent** `#553F83` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. - **primary** `#1F132A` — a brand color — but the call-to-action uses #553F83, not this. - **link** `#291839` — fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). - **Page coverage** (full-page screenshot pixels): `#13111C` 60.2% · `#222B3A` 33.2% · `#4E4B61` 6.6% ## 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: 6px - 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`×2 @0ms → `div.osano-cm-info-dialog__in` @2114ms → `div.osano-cm-window__dialog` @2211ms → `button.osano-cm-dialog__close` @2211ms → `button.osano-cm-dialog__close` @2211ms → `button.osano-cm-dialog__close` @2211ms - `div.bg-pink-200` — transform translateX(-40.9257%)→translateX(-39.9615%) — 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 (7 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/ds/railway
Export: Tailwind v4 (@theme)
@theme {
/* action color #553F83 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #13111C;
--color-surface: #201E28;
--color-border: #33313B;
--color-text: #ECECEE;
--color-text-muted: #99989E;
--color-primary: #1F132A; /* a brand color — but the call-to-action uses #553F83, not this. */
--color-accent: #553F83; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--color-link: #291839; /* fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--color-secondary: #553F83; /* same color as the action (see accent). */
--color-button-bg: #553F83; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FFFFFF;
/* fonts: IBM Plex Serif may be proprietary — safe free fallback: Newsreader (Google Fonts). Inter — free, on Google. */
--font-heading: "IBM Plex Serif", "Newsreader", Georgia, 'Times New Roman', serif;
--font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
/* measured weights: 400, 500, 600, 700 — use these, not 400/600 */
--text-hero: 54px; --font-weight-hero: 500; --leading-hero: 60px; --tracking-hero: -1.96px;
--text-h2: 36px; --font-weight-h2: 400; --leading-h2: 48px; --tracking-h2: -0.72px;
--text-h3: 20px; --font-weight-h3: 400; --leading-h3: 28px;
--text-body: 16px; --font-weight-body: 500; --leading-body: 24px;
--text-small: 14px; --font-weight-small: 500; --leading-small: 20px;
--radius-base: 6px;
--radius-button: 8px;
--radius-card: 4px;
--radius-pill: 9999px;
--outline-focus: 1px auto rgb(16, 16, 16); /* measured focus ring */
--ease-brand: ease-out;
--duration-fast: 150ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 200ms;
--duration-slow: 3000ms;
--section-y: 96px; /* per-section vertical padding (measured) */
--spacing: 8px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 4, 6, 8, 12, 16, 24, 32, 40, 64, 80px */
}Export: CSS variables
:root {
/* action color #553F83 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #13111C;
--surface: #201E28;
--border: #33313B;
--text: #ECECEE;
--text-muted: #99989E;
--primary: #1F132A; /* a brand color — but the call-to-action uses #553F83, not this. */
--accent: #553F83; /* THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed. */
--link: #291839; /* fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference). */
--secondary: #553F83; /* same color as the action (see accent). */
--button-bg: #553F83; /* primary-button fill — the main call-to-action color. */
--button-text: #FFFFFF;
--font-heading: "IBM Plex Serif", "Newsreader", Georgia, 'Times New Roman', serif;
--font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
--text-hero: 54px; --weight-hero: 500; --leading-hero: 60px; --tracking-hero: -1.96px;
--text-h2: 36px; --weight-h2: 400; --leading-h2: 48px; --tracking-h2: -0.72px;
--text-h3: 20px; --weight-h3: 400; --leading-h3: 28px;
--text-body: 16px; --weight-body: 500; --leading-body: 24px;
--text-small: 14px; --weight-small: 500; --leading-small: 20px;
--radius: 6px;
--radius-button: 8px;
--radius-card: 4px;
--radius-pill: 9999px;
--focus-ring: 1px auto rgb(16, 16, 16);
--ease: ease-out;
--duration-fast: 150ms;
--duration-base: 200ms;
--duration-slow: 3000ms;
--section-y: 96px;
}
/* their own tokens, verbatim from the site's :root */
:root {
--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;
}
/* fonts: IBM Plex Serif may be proprietary — safe free fallback: Newsreader (Google Fonts). Inter — free, on Google. */