Ruby On Rails дизайн-система DESIGN.md и гайдлайн
Developer ToolsFreev1.0.0 (Актуальная)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.
Руководство по дизайну
Overview
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.
Colors
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.
- Rails Red
#D30001: The entire brand. Allh1/h2/h3headlines, inline links, the logo disc, primary buttons, card flags, and every hover accent. It is the only hue allowed to shout. - Dark Plum
#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). - Blush
#F0E7E9: The page canvas — everything sits on it. Also the resting color of interactive chips: nav links and the version badge deepen to#DCD3D5/#E6DDDFon hover while their text flips to red. - White
#FFFFFF: Reserved for content panels, cards, the nav bar, and text/icons sitting on red or plum. - Warm Gray
#5A5153: Secondary text — excerpts, captions, footer links, muted metadata. - Hairline
#261B23at 10%: The only border the system uses — 1–3px rules between posts, card outlines, and the pre-armed0 0 0 3pxring on interactive blocks. - Status pastels (seen in the benchmark table):
#DFF6E5/#137333success,#FFF3CD/#8A5A00warning,#FDE2E1/#B3261Eerror — always as tinted background + dark text pill pairs. - Code palette (prose-only): inside
code-surfacewindows, a Monokai family — base#F8F8F2, keywords cyan#9DECFC, strings yellow#FFF5AB, names green#D0FF71, literals purple#CFB7FD, operators pink#FF699B, comments gray#B4B4B3.
Typography
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).
- Headlines: Calibre 700 with negative tracking (
-0.01em), almost always inprimaryred 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. - Titles: bold 26–36px used for feature names ("Active Records make modeling easy."), post titles, and card headlines. Post titles double as red underlined links.
- Subtitles/ledes: the only 400-weight large text — 39px/44px on desktop (26px/29px mobile), in plum, pairing a bold opening clause with regular continuation ("Ruby on Rails scales from PROMPT to IPO. Token-efficient code that's easy for agents to write…").
- Body: 21px/26px on desktop, 18px/24px mobile — unusually large for body copy, matching the oversized type hierarchy.
- Labels: 600 weight, 14–23px. True uppercase appears on card flags
(
label-sm, 0.1em tracking) and small overlines (~12px,#968D8F). - Code: IBM Plex Mono 13px/23px, always on the dark plum surface — never rendered in red.
Layout
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.
- Sections stack with 80px vertical padding (
section), growing to 120px for top/bottom bookends; the blush canvas runs edge to edge. - Grids are simple: 2-column card grids on the homepage features, 3-column card rows, a 4-column logo wall (2 columns mobile, 5px gaps wrapped in 10px cell padding), and a 1:3 date-to-content split on the news index.
- Separators are 3px plum-10% rules (
outline), never 1px grays — thick enough to read as a design element. - The nav is 132px tall and perfectly symmetric: four links each side of a centered 112px red logo disc. On mobile it collapses to a hamburger whose overlay drops with the big panel shadow.
- Breakpoints observed: 768px, 1024px (main desktop step), and minor 600/800px tweaks.
Elevation & Depth
Flat base, floating panels. The blush canvas is unadorned; hierarchy is built by lifting white surfaces above it.
- Hero panels (
.heading--frame-white,.coreblocks, methodology cards):0 15px 70px 5px rgba(38,27,35,0.15)+ a0 1px 1pxcontact line — a very large, very soft plum shadow that keeps the tint warm. - Cards: a small resting shadow (
0 3px 15px 2pxat 5%) plus a0 0 0 3pxring at 10% ink. On hover the ring turns solid#D30001and the card translates −3px — depth is signaled by the ring, not by a bigger shadow. - Logo wall cells rest flat on blush (
#F0E7E9), hover to white + red ring- lift. The 3px ring is pre-applied in transparent red so the transition only animates color.
- Code windows get only the
0 1px 1pxcontact shadow — they stay flat against the canvas.
Shapes
Soft, generous radii, scaled by element size — small elements get small radii, pills are reserved for true pills.
- 3px — tiny red flag labels on cards ("LEARNING", "01").
- 4px — inline code chips.
- 6px — nav/filter chips and the version badge (the only "button" that isn't a pill).
- 8px — the workhorse radius: cards, code windows, video frames, logo cells, dropdown panels.
- 12px — large hero panels and framed content blocks.
- 22px — buttons: technically ~half their 44px height, i.e. a true pill that still reads slightly squarer than full-circle ends.
- 999px / 100% — metric pills in data tables, the logo disc, and avatars.
Motion & Micro-interaction
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.
Voice & Content Strategy
- Tone of voice: Confident, warm, and a little wry. Short declarative claims, often with a clever kicker — "Accelerate your agents with convention over configuration.", "You're in good company.", "Optimized for happiness.", "We make Rails better."/"You can make it better."
- Capitalization: Sentence case on all headings — and they end with a period. Button labels use plain verb phrases ("Contribute on GitHub", "Read the most recent benchmark report", "See more posts…"), never exclamation points.
- Signature constructions: bold lead-in clause + regular continuation ("Rails is a full-stack framework. It ships with all the tools…"); "Meet the X" / "Read the X ›" trailing-arrow text links ("Meet the Rails team ›", "Read the Rails Doctrine ›"); version callouts in badge form ("Rails 8.1.4.1 — released November 4, 2026").
- Terminology: "Rails" (never "RoR"), "convention over configuration", "The Rails Doctrine", "The Rails Core team", "The Committers", "The Alumni". Numbers get spelled warmth: "Over six thousand people", "More than 7,000 people".
- Dates: full month name — "November 13, 2026".
Components
Buttons
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.
Navigation
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.
Links
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.
Cards & flags
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.
Data & status
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
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.
People & logos
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.
Do's and Don'ts
- Do reserve Rails Red for headlines, links, and interactive surfaces — one red focal point per view.
- Don't let red body copy or red code exist; prose text is always plum or warm gray, code lives only on the dark plum surface.
- Do end centered section headlines with a period and keep them sentence case.
- Don't use hairlines under 3px for structural separators — the thick 10%-ink rule is intentional, not a mistake.
- Do hover-invert red elements to Dark Plum (buttons, logo, links) and give neutral elements a blush chip + red text (nav, filter).
- Don't animate anything but color, background, shadow, and transform — and always on the single 250ms quint ease-out.
- Do use the red ring + −3px lift for hover on cards and logo cells; don't enlarge the shadow instead.
- Don't apply pill radius to cards or panels —
fullis for buttons, metric badges, avatars, and the logo disc only; content surfaces stop at 12px. - Do keep the canvas blush and let white panels float on it — never put blush panels on white.
- Don't add a dark theme; the site is light-only, and code windows already provide the dark counterpoint.
- Do treat the badge's red-on-
#DCD3D5hover 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.
Как использовать DESIGN.md Ruby On Rails с ИИ-агентом
Получите DESIGN.md Ruby On Rails
Скачайте его с этой страницы, загрузите https://www.designmdpro.app/websites/ruby-on-rails.md или вызовите инструмент get_design_md со slug «ruby-on-rails» на MCP-сервере DesignMD Pro.
Сохраните как DESIGN.md в корне проекта
Положите файл рядом с AGENTS.md или CLAUDE.md, чтобы Claude Code, Cursor, Codex и другие ИИ-агенты могли его найти.
Попросите агента следовать спецификации
Например: «Сделай страницу настроек по дизайн-системе Ruby On Rails из DESIGN.md — используй её цвета, типографику и токены отступов».
ИИ-промпт в стиле Ruby On Rails
Создай адаптивную посадочную страницу в визуальном стиле 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?
Основной брендовый цвет Ruby On Rails — Малиновый (#D30001). Всего в его DESIGN.md определено 21 цветовых токенов.
Какой шрифт использует Ruby On Rails?
Основные шрифты Ruby On Rails — Calibre и IBM Plex Mono.
Какая есть бесплатная альтернатива Calibre?
Calibre — коммерческий шрифт. Близкая бесплатная альтернатива в Google Fonts — Figtree.
Как использовать дизайн-токены Ruby On Rails в Tailwind CSS или shadcn/ui?
Скачайте этот DESIGN.md и вставьте его в генератор темы Tailwind или генератор темы shadcn, чтобы получить готовую тему с основным цветом Ruby On Rails (#D30001) и остальными токенами.
Является ли этот DESIGN.md Ruby On Rails официальным?
Нет. DesignMD Pro извлёк его с публичного сайта rubyonrails.org. Проект не связан с Ruby On Rails и не одобрен им.
Когда последний раз обновлялся DESIGN.md Ruby On Rails?
Версия 1.0.0 была зафиксирована 20 ноября 2026 г..
Ruby On Rails и его товарные знаки принадлежат их законным владельцам. DesignMD Pro — независимый проект, не связанный с Ruby On Rails и не одобренный им; этот DESIGN.md извлечён с публичного сайта исключительно в справочных целях.