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 服务器调用 get_design_md 工具(slug 为 "ruby-on-rails")。
把文件放在 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 Prompt 生成器中自定义 →
Ruby On Rails 的品牌主色是深红(#D30001),其 DESIGN.md 共定义了 21 个颜色 token。
Ruby On Rails 的主要字体是 Calibre 和 IBM Plex Mono。
Calibre 是商用字体,Google Fonts 上的相近免费替代有 Figtree。
下载这份 DESIGN.md,粘贴到 Tailwind 主题生成器或 shadcn 主题生成器,即可得到包含 Ruby On Rails 主色 #D30001 及其余 token 的可用主题。
不是。这份文件由 DesignMD Pro 从 rubyonrails.org 的公开页面提取,与 Ruby On Rails 无关联,也未获其认可。
当前版本 1.0.0 提取于 2026年11月20日。