Railway DESIGN.md

Brands

Deployment platform design with dark command-center surfaces, violet infrastructure accents, and fast project-to-production workflows.

Raw DESIGN.md

At a glance

Group
Brands
Main color
#8b5cf6Purple design systems
Fonts
InterSF Mono

Colors in this file

  • #ffffff

    Unnamed

  • #0b0d12

    background

  • #8b5cf6

    background

  • #2a2f3a

    Unnamed

  • #151821

    background

  • #ec4899

    Unnamed

  • #22c55e

    Unnamed

  • #f59e0b

    Unnamed

  • #94a3b8

    Unnamed

  • #d1d5db

    Unnamed

Deployment platform design with dark command-center surfaces, violet infrastructure accents, and fast project-to-production workflows.

1. Visual Theme & Atmosphere

Railway should feel like deploy infrastructure with the friction removed. The product centers projects, environments, services, deployments, variables, logs, databases, and templates.

  • Mood: fast, technical, compact, operational, developer-native
  • Density: medium-to-high in dashboard surfaces
  • Character: dark panels, violet action accents, deployment timelines, terminal/log surfaces

2. Color Palette & Roles

TokenHexRole
--railway-black#0B0D12Primary dark background
--railway-panel#151821Dashboard panel
--railway-violet#8B5CF6Primary accent and active state
--railway-pink#EC4899Gradient/support accent
--railway-green#22C55ESuccessful deploy / healthy service
--railway-yellow#F59E0BBuild / warning state
--surface-card#FFFFFFLight docs and cards
--border-dark#2A2F3ADark dividers
--text-muted#94A3B8Secondary dashboard text

Use dark surfaces for product dashboards and violet for deployment actions. Status colors must map directly to build/deploy state.

3. Typography Rules

css--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, monospace;
ElementSizeWeightLine Height
Hero Display58px7001.05
Page Title38px7001.12
Section Title28px6501.2
Panel Title18px6501.3
Body16px4001.6
Log Text13px5001.55
Label13px6001.35

4. Component Stylings

css.button-primary {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #8B5CF6;
  border-radius: 10px;
  background: #8B5CF6;
  color: #FFFFFF;
  font: 600 14px/1 Inter, sans-serif;
}

.service-card {
  border: 1px solid #2A2F3A;
  border-radius: 14px;
  background: #151821;
  color: #FFFFFF;
  padding: 16px;
}

.log-panel {
  border-radius: 14px;
  background: #0B0D12;
  color: #D1D5DB;
  padding: 16px;
  font: 500 13px/1.55 "SF Mono", monospace;
}

.input {
  min-height: 42px;
  border: 1px solid #2A2F3A;
  border-radius: 10px;
  background: #0B0D12;
  color: #FFFFFF;
  padding: 0 14px;
}

5. Layout Principles

TokenValueUsage
--space-28pxLogs and rows
--space-416pxDashboard panels
--space-524pxProject groups
--space-848pxMarketing sections

Organize around project, environment, service, deployment, variables, and metrics. Keep build logs and status visible.

6. Depth & Elevation

css.shadow-panel { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24); }
.shadow-overlay { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34); }

Use dark tonal separation before heavy shadow. Elevation should clarify active deployment and modal states.

7. Do's and Don'ts

Do make deploy state obvious. Do show logs, variables, and service health clearly. Do not hide failed builds. Do not overdecorate infrastructure screens.

8. Responsive Behavior

BreakpointMin WidthBehavior
Mobile0pxStack project panels and logs
Tablet768pxTwo-column service/dashboard views
Desktop1200pxFull project sidebar, service grid, and log panels

Log panels should scroll horizontally when needed.

9. Agent Prompt Guide

Design like Railway: dark deployment dashboard, violet primary actions, compact service cards, visible build logs, status-driven colors, and fast project-to-production flow.

Use it with your agent

Save the file as DESIGN.md in your project root, then ask your agent to follow it for UI work. Or let the agent fetch it over MCP.

Download

curl -o DESIGN.md https://www.uiskillbook.com/design-md/railway.md

MCP server

https://www.uiskillbook.com/mcp

MCP tool call

get_design_md({ "slug": "railway" })