# Epic Games DESIGN.md

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

Epic's EGS design language — a deep-near-black storefront canvas with translucent white tonal fills, a single electric-sky-blue accent, and compact Inter typography. Boxy 8–10px corners, carousel hero art, and dense game-cover grids put key art and price first.

- Website: https://epicgames.com
- Primary color: Cyan `#33BFFF`
- Fonts: Inter, Recursive Mono
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/epic-games

## Palette preview

- `error`: `#fd5e5e`
- `outline`: `#ffffff`
- `primary`: `#33bfff`
- `success`: `#5fe367`
- `surface`: `#101014`
- `backdrop`: `#000000`
- `on-error`: `#331313`
- `secondary`: `#ffffff`

## Typography preview

- `body-lg`: Inter
- `code-md`: Recursive Mono

---

## Overview

The Epic Games Store is a dark-cinema retail environment: a near-black `#101014` canvas where game key art, cover thumbnails, and video heroes are the color. UI chrome recedes into translucent white fills — `rgba(255,255,255,0.10–0.15)` — so the interface feels like a projection booth: functional, dim, and invisible until needed. The single saturated accent, electric sky blue `#33BFFF`, marks commerce actions ("Download", discount badges) and nothing else.

The audience is PC gamers and developers; the tone is utilitarian and dense — a 100px double-decker header (brand row + search/nav row), a full-bleed rotating hero of key art with a white "Play Now" pill, then tightly packed cover grids. Elevation is expressed through stacking order and translucency rather than shadows; hierarchy is expressed through fill opacity, not hue.

## Colors

The system is a 6-step neutral ramp from `#101014` to `#404044` plus alpha-based fills, one accent, and a small semantic set.

- **Epic Blue / Primary (#33BFFF):** The only saturated UI color — accent buttons ("Download"), discount badges, links and icons on dark. Hover `#69D0FF`; its on-color is a deep navy `#0A2633`, never white.
- **Fill-Strong White (#FFFFFF):** The actual primary CTA — "Play Now" / "Buy Now" buttons are solid white with near-black text. Hover dims to `#A6A6A6`.
- **Translucent fills:** `fill-subdued` `rgba(255,255,255,0.10)` and `fill-subtle` `rgba(255,255,255,0.15)` for secondary buttons, filter chips, and icon buttons; `fill-faint` `0.05` for input beds. Hover steps one tier brighter — feedback is a +5–10% alpha shift, never a color change.
- **Neutral surface ramp:** `#101014` base → `#18181C` → `#202024` (elevated cards/rails) → `#303034` → `#404044` (the search pill). Surfaces lift by lightening ~8% per tier.
- **Foreground:** `rgba(255,255,255,0.95)` primary text, `rgba(255,255,255,0.65)` secondary — alpha, not gray, so it works over art.
- **Semantics:** success `#5FE367` (free/owned labels), warning `#F7D82B`, error `#FD5E5E`; backdrop scrim `rgba(0,0,0,0.65)`.
- **Borders:** alpha whites — `0.35` strong, `0.15` subtle, `0.10` subdued; a 2px white focus ring with 6–14px focus radii.

## Typography

**Inter** is the single family for UI and body, with **Recursive Mono** for code. The EGS scale splits into heading, text, and ui tracks:

- **Headings (700 weight, tight tracking):** 4xl 64px → sm 16px; letter-spacing runs `-0.035em` at display sizes, easing to `-0.005em` at 16px. Store section titles are `heading-xl` 32px; hero captions use `heading-md` 20px/120%.
- **Text (400 weight):** 24/20/18/16/14/12px; tracking inverts with size — `-0.02em` at 24px growing to `+0.03em` at 12px. Descriptions and card prices sit at `text-md` 16px/165%.
- **UI labels (500 weight):** 16/14/12/10px with `+0.01–0.04em` tracking and 120–150% line heights — every button, chip, and tab uses this 14px `ui-md` grammar.
- **Weights:** 400 regular, 500 medium (all controls), 700 bold (headings), 900 black reserved for identity moments. No italics, no uppercase transforms in chrome.

## Layout

- **Header (100px):** A two-row fixed header — top row carries the Epic Games mark, `STORE` wordmark, "Support" / "Distribute" links, language globe, "Sign in" (fill-subdued pill) and the blue "Download" button; the second row holds a left-aligned search pill (gray `#404044`, full radius) and "Discover / Browse / News" text tabs.
- **Hero:** Full-width edge-to-edge key-art carousel with a centered caption stack — game name (20px/700), one line of copy (16px, 65% white), and a 48px white "Play Now" pill.
- **Grid:** Cover cards run a dense repeating grid at ~16px gutters inside a 1600px max canvas; game cards are chromeless — art, title, price/discount badge only.
- **Spacing:** A rem scale anchored on 8px — common gaps 4/8/10/16/20; section padding 32–64px.

## Elevation & Depth

Depth is **alpha stacking**, not shadows. The base `#101014` lifts to `#18181C`/`#202024`/`#303034` per tier; overlays and sheets sit on translucent "material" fills (`#101014` at 85%, `#202024` at 70%) over a `rgba(0,0,0,0.65)` backdrop. The one shadow in the system — `0 0 6px rgba(0,0,0,0.6)` — belongs only to floating carousel arrows. Borders are hairline alpha whites; focus is a crisp 2px white ring.

## Shapes

Corners are boxy and product-like — the system deliberately avoids pill-softness except on inputs and icon buttons.

- **10px (xl):** All solid buttons ("Play Now", "Download") — `action-radius-object-5xl`.
- **8px (lg):** Cards, cover art containers, filter chips.
- **4–6px (sm/md):** Badges, small tiles, inputs' inner frames.
- **Full:** The search pill, circular icon buttons (30px wishlist hearts), and avatar dots.

## Motion & Micro-interaction

Motion is quick and fades-first: `opacity 0.15s ease-in-out` handles most state changes; `transform 0.2s ease` and `color 0.2s ease` cover hovers; structural shifts use `0.3s cubic-bezier(0.16,1,0.3,1)` (a long-tail expo curve) — notably the wishlist "added" checkmark that expands its container width. Named keyframes mark real choreography: `enter`/`exit`, `slide-up`, `slide-in-from-right`, `thumbnail-pop` (cover hover scale), `badge-pop`, `digit-roll-in/out` (price/count flips), `toast-enter/exit`. Nothing decorative loops; hero autoplay is the only ambient motion.

## Voice & Content Strategy

- **Tone of voice:** Terse and commerce-direct. Headlines are game names, not slogans — "Fortnite Treasure Hunters", "Black Friday Sale". Descriptions run one sentence: "Adventure awaits! Cross paths with the Straw Hats and A$AP Rocky's Crew this week, with new Crews landing in the weeks to come."
- **Capitalization:** Sentence case everywhere; game titles keep official stylization (A$AP Rocky, Riichi City). No all-caps UI chrome except the `STORE` wordmark.
- **Button grammar:** Two-word action verbs — "Play Now", "Buy Now", "Sign in", "Add to Cart". The header CTA is a bare "Download".
- **Commerce copy:** Prices lead; discounts are badge-first (`-50%`), free items say "Free Now" / "Free Games". Promos get a single-line title, no paragraphs.
- **Metadata:** Game cards carry title + price only; genres and ratings live on detail pages, not browse surfaces.

## Components

- **Buttons:** `button-primary` is the signature move — solid white, near-black text, 10px radius, 48px tall (40px compact) — inverting the dark UI so the main action is literally the brightest object on screen. `button-secondary` uses `fill-subdued` 10%-alpha beds. `button-accent` is Epic Blue for store-launcher actions ("Download"); its text is dark navy `#0A2633`, never white.
- **Search (`input-search`):** A 40px full-radius pill on `surface-elevated-peak` `#404044` with a leading magnifier — the only gray-filled control, kept visually distinct from translucent fills.
- **Game card (`card-game`):** Chromeless 8px-radius cover art (2:3 or 16:9), title in 14px/500, price or "Free" below; discount shown as a blue `badge-discount` square. No borders, no shadows — hover is a `thumbnail-pop` scale.
- **Filter chip (`chip-filter`):** `fill-subtle` 8px-radius 40px controls for sort/filter rows; selected state lifts fill and adds a leading check.
- **Nav (`nav-link`):** Quiet 16px regular text tabs; the active tab is pure white, inactives dim toward 65%.
- **Badges (`badge-discount`, `badge-free`):** Small 4px-radius solid squares — blue for discounts, green for free/owned — with 12px labels.
- **Backdrop (`modal-backdrop`):** `rgba(0,0,0,0.65)` scrim under sheets/modals; surfaces above it use material translucency.

## Do's and Don'ts

- Do keep the canvas at `#101014` or the neutral-ramp elevations — never introduce a second hue into surfaces.
- Don't use the Epic Blue accent for primary CTAs inside the storefront; the "Play Now" / "Buy Now" pattern is white fill-strong. Blue is reserved for launcher/account actions, links, and discount badges.
- Do express hover as an alpha step (+5–10% white on fills, white→`#A6A6A6` on strong buttons) rather than a hue shift.
- Don't put white text on the blue accent — use the navy `#0A2633` on-color.
- Do keep corners boxy (8–10px on cards and buttons); reserve full pills for search, icon buttons, and avatars.
- Don't stack translucent fills over busy key art without a scrim — caption areas get `rgba(0,0,0,0.65)` or material fills so 95%-white text stays legible.
- Do keep secondary text at 65% white alpha — solid grays (`#808080`-style) look dirty on the ramp.
- Don't add borders around game cards or images; separation comes from the 16px grid gap and the art itself.
- Do write CTAs as two-word verb phrases and keep promo copy to a single sentence.
- Don't exceed weight 700 in UI chrome (900 is identity-only), and never letterspace body text tighter than `-0.02em`.
- Don't judge translucent controls in isolation — `fill-subdued`/`fill-subtle` beds always sit on `#101014`, where 95%-white text lands at ~15:1 effective contrast; the raw alpha pair reads false-fail.
