A bold, poster-like developer identity built on a single signature red: oversized, tightly tracked Calibre headlines in Rails Red sit centered over a warm blush canvas, paired with dark plum ink and dark translucent code windows set in IBM Plex Mono. Depth is flat-but-lifted — white cards and hero panels float on huge soft plum shadows, while interactivity is signaled by a signature 3px red ring plus a small lift, and red elements invert to dark plum on hover. Shapes stay soft and scaled (8px cards, 12px panels, pill buttons and metric badges, a circular logo disc), all animated by one quick 250ms ease-out.
Ruby On Rails 及其商標均歸各自所有者所有。DesignMD Pro 為獨立專案,與 Ruby On Rails 無任何關聯亦未獲其背書;此 DESIGN.md 擷取自公開網站,僅供參考。
Ruby on Rails' site is a developer-first marketing surface: bold, warm, and unapologetically red. Every page opens with a huge, centered, tightly tracked headline in Rails Red over a soft blush canvas, followed by a short lede and a single action. The mood is confident and community-proud with a streak of dry humor ("Rails scales from PROMPT to IPO", "Optimized for happiness"), and the current positioning leans hard into AI-assisted development while keeping the framework's two decades of credibility (a wall of famous logos, contributor counts, team photos) front and center.
Density is deliberately low: sections are poster-like — centered type, generous air, no sidebars, no carousels. Imagery is functional, not decorative: a product demo video, dark code windows with a Monokai-style syntax palette, grayscale-free company logos, and circular team portraits. Depth comes from white panels floating on the blush canvas with large, soft plum shadows, and interactivity is signaled by a signature 3px red ring plus a small lift rather than color alone.
The palette is a duotone of two anchors — Rails Red and Dark Plum — on a blush canvas, plus a pastel traffic-light set reserved for data.
#D30001: The entire brand. All h1/h2/h3 headlines,
inline links, the logo disc, primary buttons, card flags, and every hover
accent. It is the only hue allowed to shout.#261B23: Ink for all body copy and non-red headings; the
surface for code windows (at 90% alpha) and the inverse button color; also the
universal hover state for red elements (red buttons, red links, and the logo
all turn plum on hover).#F0E7E9: The page canvas — everything sits on it. Also the
resting color of interactive chips: nav links and the version badge deepen to
#DCD3D5 / #E6DDDF on hover while their text flips to red.#FFFFFF: Reserved for content panels, cards, the nav bar, and
text/icons sitting on red or plum.#5A5153: Secondary text — excerpts, captions, footer links,
muted metadata.#261B23 at 10%: The only border the system uses — 1–3px rules
between posts, card outlines, and the pre-armed 0 0 0 3px ring on
interactive blocks.#DFF6E5/#137333
success, #FFF3CD/#8A5A00 warning, #FDE2E1/#B3261E error — always as
tinted background + dark text pill pairs.code-surface windows, a Monokai
family — base #F8F8F2, keywords cyan #9DECFC, strings yellow #FFF5AB,
names green #D0FF71, literals purple #CFB7FD, operators pink #FF699B,
comments gray #B4B4B3.Everything is Calibre (self-hosted, weights 400/600/700) — a friendly grotesque whose tight spacing makes the giant red headlines read as confident posters rather than marketing banners. Code is IBM Plex Mono (400/500).
-0.01em), almost always
in primary red and centered. The display size runs 78px/72px on desktop and
steps down through 55/47/39px at smaller breakpoints and section depths;
mobile caps at 47px/43px.label-sm, 0.1em tracking) and small overlines (~12px, #968D8F).A single centered column on a fixed-max-width grid. The .container caps at
1440px; reading content narrows to ~1080px (posts, methodology) and
media widens to ~1280px. Symmetric side margins are 60px on desktop and
30px on mobile, with inner content sometimes inset a further 60px.
section), growing to 120px
for top/bottom bookends; the blush canvas runs edge to edge.outline), never 1px grays — thick
enough to read as a design element.Flat base, floating panels. The blush canvas is unadorned; hierarchy is built by lifting white surfaces above it.
.heading--frame-white, .core blocks, methodology cards):
0 15px 70px 5px rgba(38,27,35,0.15) + a 0 1px 1px contact line — a very
large, very soft plum shadow that keeps the tint warm.0 3px 15px 2px at 5%) plus a
0 0 0 3px ring at 10% ink. On hover the ring turns solid #D30001 and the
card translates −3px — depth is signaled by the ring, not by a bigger shadow.#F0E7E9), hover to white + red ring
0 1px 1px contact shadow — they stay flat
against the canvas.Soft, generous radii, scaled by element size — small elements get small radii, pills are reserved for true pills.
One transition to rule them all: 250ms cubic-bezier(0.33, 1, 0.68, 1) — a
quint-style ease-out — applied to color, background, box-shadow, and
transform on every interactive element. Links tint, chips blush, buttons swap
red↔plum, cards and logo cells gain a red ring and lift −3px. Nothing loops,
nothing parallaxes, nothing animates on scroll. The choreography is instant and
tactile: state changes complete in a quarter second, and the pre-applied
transparent ring means hover only ever animates color + transform, never layout.
button-primary is a 44px-tall red pill: Calibre 23px/600 white text on
#D30001 with ~22px horizontal inset. Hover swaps the whole button to dark
plum (text stays white) — the site's signature inversion. button-dark is the
same pill in plum and inverts to red on hover. button-badge (the version
pill) is the quieter variant: blush #F0E7E9, 6px radius, plum text, deepening
to #DCD3D5 with red text on hover. Text buttons (link-cta) are large bold
underlined phrases ending in ›, plum at rest, red on hover.
A 132px white bar, perfectly bilateral: four 23px/600 links per side around a
centered 112px red logo disc (logo-mark, which itself turns plum on hover).
Each link's label sits in a 6px-radius chip; hover fills the chip with blush
#F0E7E9 and turns the text red. The active page keeps red text.
link-inline is always primary red inside prose; underlined inside
post-style content blocks, hover turns it plum. Arrow-suffixed CTA links
(link-cta) are plum + 2px underline, hover to red.
card: white, 8px radius, resting 5% shadow + 3px ink-10% ring; hover swaps
the ring to solid red and lifts −3px. A floating card-flag — white 14px/600
uppercase text on a 3px-radius red tag with a trailing arrow notch — hangs off
the top edge of actionable cards and turns solid on hover.
Benchmark/status values are pastel pill pairs (badge-metric-*): success
green, warning amber, error red, each tinted background + dark text at
13px/700, 999px radius. filter-chips are full pills — white with a red
border and red 15px/700 label when selected, gray #5A5153 when not.
Table headers are 13px/700 plum; rows separate with the same 3px hairline
as post lists.
code-window: rgba(38,27,35,0.9) surface, 8px radius, IBM Plex Mono
13px/23px in #F8F8F2 with the Monokai accent palette, topped by a filename
bar (#DCD3D5 text over a fading plum gradient). code-inline uses the same
dark chip at 4px radius inside prose — code is always dark-on-dark, never red.
avatar: 90px circle with a 2px ink-15% border that turns red on hover, set
above a red name and gray "Country / Since YYYY" lines. Trusted-company logos
sit in blush 8px cells that lift to white + red ring on hover.
full is for buttons, metric
badges, avatars, and the logo disc only; content surfaces stop at 12px.#DCD3D5 hover as the site's own pairing — at
21px/600 it qualifies as WCAG large text (3.8:1 ≥ 3:1); don't "fix" it by
darkening the red.從本頁下載、存取 https://www.designmdpro.app/websites/ruby-on-rails.md,或透過 DesignMD Pro MCP 伺服器以 slug "ruby-on-rails" 呼叫 get_design_md 工具。
將檔案放在 AGENTS.md 或 CLAUDE.md 旁,讓 Claude Code、Cursor、Codex 與其他程式開發 Agent 能夠讀取。
例如:「請依照 DESIGN.md 中的 Ruby On Rails 設計系統建構設定頁面,使用其中的色彩、字型與間距 tokens。」
請依照 Ruby On Rails(rubyonrails.org) 的 DESIGN.md 設計系統,以相同的視覺風格建構一個響應式到達頁。 ## 色彩 - error: #B3261E - neutral: #5A5153 - outline: #261B23 - primary: #D30001 - surface: #F0E7E9 - secondary: #261B23 - on-primary: #FFFFFF - on-surface: #261B23 - surface-dim: #E6DDDF - code-surface: #261B23 - on-secondary: #FFFFFF - code-on-surface: #F8F8F2 - error-container: #FDE2E1 - success-container: #DFF6E5 - surface-container: #FFFFFF - warning-container: #FFF3CD ## 字型 - body-lg: "Calibre", 26px, weight 400, line-height 1.12, letter-spacing -0.006em - code-md: "IBM Plex Mono", 13px, weight 400, line-height 1.77 ## 圓角 - lg: 8px - md: 6px - sm: 4px - xl: 12px - xs: 3px - xxl: 22px ## 間距 - lg: 30px - md: 20px - sm: 10px - xl: 40px - xs: 4px - xxl: 60px - base: 10px - gutter: 30px ## 元件 - card: padding 30px, rounded 8px, backgroundColor #FFFFFF - avatar: size 90px, rounded 999px - link-cta: textColor #261B23, typography Calibre 31px - nav-link: rounded 6px, textColor #261B23, typography Calibre 23px - card-flag: padding 4px, rounded 3px, textColor #FFFFFF, typography Calibre 14px, backgroundColor #D30001 - logo-mark: size 112px, rounded 999px, backgroundColor #D30001 ## 規則 - 背景、文字、邊框與強調色僅使用上述色彩,請勿自行發明新顏色。 - 所有文字皆套用上述字型樣式,並維持其字級與字重層級。 - 圓角與間距請取自上述比例尺,確保各元件外觀一致。 完整 DESIGN.md:https://www.designmdpro.app/websites/ruby-on-rails.md在 v0 提示詞產生器中自訂 →
Ruby On Rails 的品牌主色為 深紅(#D30001),其 DESIGN.md 共定義了 21 個色彩 tokens。
Ruby On Rails 的主要字型為 Calibre 與 IBM Plex Mono。
Calibre 為商用字型。Google Fonts 上相近的免費替代字型為 Figtree。
下載這份 DESIGN.md 並貼入 Tailwind 主題產生器或 shadcn 主題產生器,即可取得包含 Ruby On Rails 主色 #D30001 與其餘 tokens 的現成主題。
不是。此檔案由 DesignMD Pro 擷取自公開的 rubyonrails.org 網站,與 Ruby On Rails 無任何關聯亦未獲其背書。
版本 1.0.0 擷取於 2026年11月20日。