Ruby On Rails sistem desain & panduan gaya DESIGN.md
Developer ToolsGratisv1.0.0 (Terbaru)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.
Panduan Desain
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.
Cara menggunakan DESIGN.md Ruby On Rails dengan agen AI
Dapatkan DESIGN.md Ruby On Rails
Unduh dari halaman ini, ambil https://www.designmdpro.app/websites/ruby-on-rails.md, atau panggil alat get_design_md dengan slug "ruby-on-rails" dari server MCP DesignMD Pro.
Simpan sebagai DESIGN.md di root proyek Anda
Letakkan file ini di sebelah AGENTS.md atau CLAUDE.md agar Claude Code, Cursor, Codex, dan agen coding lain dapat menemukannya.
Minta agen Anda mengikutinya
Misalnya: "Buat halaman pengaturan mengikuti sistem desain Ruby On Rails di DESIGN.md — gunakan token warna, tipografi, dan spasinya."
Prompt AI bergaya Ruby On Rails
Buat halaman landing responsif dengan gaya visual Ruby On Rails (rubyonrails.org), mengikuti sistem desain DESIGN.md-nya.
## Warna
- 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
## Tipografi
- 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
## Radius sudut
- lg: 8px
- md: 6px
- sm: 4px
- xl: 12px
- xs: 3px
- xxl: 22px
## Spasi
- lg: 30px
- md: 20px
- sm: 10px
- xl: 40px
- xs: 4px
- xxl: 60px
- base: 10px
- gutter: 30px
## Komponen
- 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
## Aturan
- Gunakan hanya warna di atas untuk latar belakang, teks, garis batas, dan aksen; jangan membuat warna baru.
- Terapkan gaya tipografi di atas untuk seluruh teks serta pertahankan hierarki ukuran dan ketebalannya.
- Ambil radius sudut dan spasi dari skala di atas agar komponen terlihat konsisten.
DESIGN.md lengkap: https://www.designmdpro.app/websites/ruby-on-rails.mdSesuaikan di generator prompt v0 →Pertanyaan yang sering diajukan
Apa warna utama Ruby On Rails?
Warna merek utama Ruby On Rails adalah Merah tua (#D30001). File DESIGN.md-nya mendefinisikan total 21 token warna.
Font apa yang digunakan Ruby On Rails?
Jenis huruf utama Ruby On Rails adalah Calibre dan IBM Plex Mono.
Apa alternatif gratis untuk Calibre?
Calibre adalah jenis huruf komersial. Alternatif gratis yang mirip di Google Fonts adalah Figtree.
Bagaimana cara menggunakan token desain Ruby On Rails di Tailwind CSS atau shadcn/ui?
Unduh DESIGN.md ini dan tempel ke generator tema Tailwind atau generator tema shadcn untuk mendapatkan tema siap pakai dengan warna utama Ruby On Rails #D30001 beserta token lainnya.
Apakah DESIGN.md Ruby On Rails ini resmi?
Tidak. DesignMD Pro mengekstraknya dari situs web publik rubyonrails.org. Proyek ini tidak berafiliasi dengan atau didukung oleh Ruby On Rails.
Kapan DESIGN.md Ruby On Rails terakhir diperbarui?
Versi 1.0.0 diambil pada 20 November 2026.
Ruby On Rails dan merek dagangnya adalah milik masing-masing pemiliknya. DesignMD Pro adalah proyek independen, tidak berafiliasi dengan atau didukung oleh Ruby On Rails; DESIGN.md ini diekstrak dari situs web publik hanya sebagai referensi.