# Roblox DESIGN.md

> Public preview. The complete DESIGN.md source (all 102 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A dual-context design language — cinematic dark marketing pages with huge Builder Extended headlines and photo/video heroes, and a clean light discovery app of white grids, black filter pills, and 8px-rounded game tiles. One electric platform-blue (#335FFF) carries all primary actions; tinted alpha fills replace grays.

- Website: https://roblox.com
- Primary color: Indigo `#335FFF`
- Fonts: Builder Sans, Builder Extended
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/roblox

## Palette preview

- `error`: `#fd7968`
- `primary`: `#335fff`
- `secondary`: `#272930`
- `fill-faint`: `#1b254b`
- `on-primary`: `#f7f7f8`
- `fill-subtle`: `#1b254b`
- `on-secondary`: `#ffffff`
- `primary-hover`: `#1446ff`

## Typography preview

- `body-lg`: Builder Sans
- `headline-lg`: Builder Extended

---

## Overview

Roblox runs a dual-context identity. Marketing surfaces (landing, about, giftcards) are cinematic and dark — near-black `#121215` stages, full-bleed game photography fogged at the edges, enormous Builder Extended headlines, and a single electric blue CTA. The product surfaces (charts/discovery) flip to a utilitarian light mode — pure white grids of square game tiles, black pill filters, and tiny icon metrics — letting thousands of user-generated thumbnails supply the color.

The brand's personality is "infinite playground meets infrastructure": playful but engineered. The ROBLOX wordmark (with its tilted-square O) is the only logo; everything else is either user content or quiet chrome. Depth comes from photography and layering — there are almost no shadows and almost no borders.

## Colors

- **Platform Blue / Primary (#335FFF):** The one action color in both modes — "Create account", "Sign up", "Join now" buttons. Officially `extended-blue-700` in a ten-step ramp (`#EBF1FF` → `#00145C`); hover steps to `blue-800` `#1446FF`, links on dark use `blue-200`-family `#C8DEFE`.
- **Onyx ramp (dark mode):** `#121215` base, `#131316` page, `#191A1F`/`#202227` elevated cards. The dark palette is a true near-black, never tinted.
- **Paper ramp (light mode):** `#FFFFFF` page, `#F7F7F8` subtle fills, ink `#202227` text, `#494D5A` secondary.
- **Alpha fills instead of grays:** On dark, surfaces and secondary buttons use `#D0D9FB` at 12% (a cold indigo-tinted glass); on light, fills and the search bed use navy `#1B254B` at 8–12%. These tinted fills are the signature "gray."
- **Text ramp on dark:** `#F7F7F8` headings, `#D5D7DD` body, `#BCBEC8` captions — cool-toned off-whites, never pure white.
- **Inverse pills:** Filter chips on the light app are dark `#272930` blocks with white text — a dramatic inversion that doubles as the selected state.
- **Hairlines:** Borders are rare and always tinted alpha — 1px `#494D5A` on the light outline button, `#D0D9FB` at 12–40% on dark offer cards and the language switcher.

## Typography

Two proprietary families share the system. **Builder Extended** — a wide, engineered grotesque — owns all marketing headlines at 600–700 weight with slightly negative tracking (-0.02em) and near-1.0 line heights. **Builder Sans** owns product UI, body copy, and labels.

- **Display (dark marketing):** 62–64px Builder Extended, white or `#D5D7DD`, often a short punchline ("Play, create, have fun.", "Roblox Gift Cards").
- **Headlines:** 40px section heads on marketing pages; 32px/600 card-group titles; the light app's h1 is Builder Sans 32px/**800**.
- **Titles:** Section rows ("Top Trending", "Up-and-Coming") use 20px/700 with a trailing info icon; card sub-titles 24px/700.
- **Body:** 16px/400 at 1.6 on dark (`#D5D7DD`), 1.4–1.6 on light; descriptions are plain Builder Sans.
- **Labels:** Buttons and pills are 16px/600 at 48px height (14px/600 at 32–40px); stats captions run 12–14px/500-600.
- **Overline:** 16px/600 uppercase, tracked +0.04em, `#BCBEC8` — used sparingly on marketing pages.

## Layout

- **Marketing:** Edge-to-edge hero media under a ~56px floating dark header (wordmark left, text links center, outlined/ghost CTA right). Content sections stack in 1260–1390px containers with 40px+ vertical rhythm; feature rows split ~50/50 text-media.
- **Discovery app:** A white header (logo, text nav, search input, blue Sign up + outlined Log in buttons) over a full-bleed white canvas; horizontal-scrolling tile rails of ~240px cards at ~14px gaps; section headers pair a 20px/700 title with a right-aligned "See All →" 16px/500 link.
- **Grid:** Cards are square-ish thumbnails with title and a two-icon stat row (👍 rating %, 👤 players) beneath — chromeless, no borders.
- **Max widths:** 1390px marketing, ~1260px commerce; dense app grid fills the viewport.

## Elevation & Depth

The system is nearly shadowless. Depth is photographic — fogged heroes, dimmed gradients behind white headline type — and tonal, via the onyx surface ramp. Bordered cards appear only on commerce pages: a 1px `#D0D9FB` at 12% hairline around 12px-radius offer cards. Overlays and dropdowns sit on `surface-elevated-high` `#202227`.

## Shapes

- **8px (md) is the system radius:** Every button, every game tile, every input, and most cards.
- **12px (lg):** Marketing offer/feature cards with hairline borders.
- **16px (xl):** Large media containers on marketing pages.
- **Full:** Pills — filter chips, genre tags, search-adjacent controls — plus avatar circles.
- **4px (sm):** Tiny utility controls (skip-links, tag close buttons).

## Motion & Micro-interaction

Roblox motion is engineered and nearly instant: state changes run `0.1s cubic-bezier(0,0,1,1)` on color/background/border — hovers snap rather than float. Content reveals use slower `opacity 0.5s ease` fades (images, rails). Carousel and rail movement uses `transform 0.1–0.3s` with standard easing. The vocabulary is minimal: snap-fast feedback, gentle content fade, and nothing else — no bounces, no looping decoration.

## Voice & Content Strategy

- **Tone of voice:** Short, rhythmic, optimistic. Marketing headlines are comma-punched fragments — "Play, create, have fun." — and value props state the platform plainly: "This is where games are discovered, built, and experienced." "Roblox is the ultimate virtual universe…" runs longer but stays declarative.
- **Capitalization:** Sentence case in chrome; the wordmark is all-caps ROBLOX. User-generated game titles keep their own styling (emoji, caps, brackets).
- **Terminology:** Canonical nouns — "experiences" (never "games" in product copy), "Robux" (currency), "Gift Cards", "Charts". Metrics are icon-led: 👍 percentage + 👤 player count, no words.
- **Button grammar:** Two-word verbs — "Create account", "Join now", "Sign up", "Log in", "See All". Filters are bare nouns ("Computer", "United States").
- **Section grammar:** Rails are ranked lists — "Top Trending", "Up-and-Coming", "Top Playing Now" — each with a single trailing "See All" link.

## Components

- **Buttons (`button-primary`, `button-primary-hover`, `button-secondary-dark`, `button-outline`):** 8px-radius rectangles, 48px on marketing (32–40px in-app). Primary is solid `#335FFF` with `#F7F7F8` text; dark-mode secondary is the indigo glass fill; the light app uses a 1px `#494D5A` outline with `#6A6F81` text for "Log in".
- **Filter pills (`chip-filter`, `chip-genre-dark`):** 32px full-radius pills — dark `#272930` with white text on the light charts page (device/region selectors), indigo-glass with `#F7F7F8` text on dark pages (genre chips). Selected genre chips invert to solid white + ink text.
- **Search (`input-search`):** 8px-radius input on an 8% navy fill; 16px regular, magnifier adornment; no visible border until focus.
- **Game tile (`card-game`):** A chromeless square thumbnail (8px radius), 16px title, and a compact stat row — the atomic unit of the discovery grid.
- **Offer card (`card-offer`):** 12px-radius elevated container with a 12% indigo hairline border, product image, 24px title, and 14px body — the commerce molecule.
- **Nav (`nav-link`, `nav-link-dark`):** 14–16px regular text links; light header uses ink text, dark headers `#D5D7DD` with a hairline bottom rule on the active tab.
- **Stat (`stat-metric`):** Icon + `#494D5A`/`#D5D7DD` compact label — rating percentage and player count under every tile.

## Do's and Don'ts

- Do run exactly two themes — dark for marketing/editorial surfaces, light for discovery — and never mix them within a page.
- Don't add shadows, gradients-as-chrome, or borders to game tiles; art and 14px gutters do the separation.
- Do reserve `#335FFF` for the single primary action per view; secondaries on dark are indigo glass, on light are hairline outlines.
- Don't use pure `#FFFFFF` text on dark or pure `#000000` on light — the ramps (`#F7F7F8`/`#202227`) are deliberately softened.
- Do keep all interactive corners at 8px; reserve pills for filter chips and full-radius controls only.
- Don't set marketing headlines in Builder Sans — the wide Builder Extended face is the editorial voice; Builder Sans is product chrome.
- Do keep motion nearly instant (100ms state changes) — sluggish hovers feel wrong in this system.
- Don't localize stat grammar — the 👍%/👤 icon-metrics appear under every game tile with no text labels.
- Do center short punchline headlines over fogged photography on dark pages; left-align dense grids on light pages.
- Don't invent extra accent hues — blue is the only color the chrome owns; everything else belongs to user-generated art.
- Don't read alpha-fill components in isolation — the `#D0D9FB`-at-12% and `#1B254B`-at-8% beds sit on `#121215`/`#FFFFFF` respectively, where their text lands well above AA; the raw pair ratio is a false negative.
