---
version: alpha
name: LEGO
description: "Light interface measured from lego.com: Cera Pro type, vivid amber accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#141414"
  on-background: "#141414"
  on-surface-strong: "#000000"
  surface-container-low: "#FFFFFFF0"
  surface-container: "#F2F2F2"
  outline: "#0000000F"
  outline-variant: "#00000026"
  primary: "#FFD400"
  on-primary: "#000000"
  secondary: "#005AD2"
  tertiary: "#F47D20"
  error: "#BD0000"
typography:
  headline-display:
    fontFamily: Cera Pro
    fontSize: 37px
    fontWeight: 700
    lineHeight: 1.35
  headline-lg:
    fontFamily: Cera Pro
    fontSize: 30px
    fontWeight: 700
    lineHeight: 1.35
  headline-md:
    fontFamily: Cera Pro
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.55
  body-md:
    fontFamily: Cera Pro
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: Cera Pro
    fontSize: 19px
    fontWeight: 700
    lineHeight: 1.5
  body-sm:
    fontFamily: Cera Pro
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.36
    letterSpacing: 0.01em
  caption:
    fontFamily: Cera Pro
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.75
    letterSpacing: 0.01em
  label-lg:
    fontFamily: Cera Pro
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.5
  label-md:
    fontFamily: Cera Pro
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.5
    letterSpacing: 0.01em
  label-sm:
    fontFamily: Cera Pro
    fontSize: 12px
    fontWeight: 500
    lineHeight: 1.75
    letterSpacing: 0.01em
  headline-lg-mobile:
    fontFamily: Cera Pro
    fontSize: 22px
    fontWeight: 700
    lineHeight: 1.35
rounded:
  sm: 4px
  md: 8px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 32px
  xl: 40px
  gutter: 12px
  margin: 32px
  container: 1600px
components:
  button-primary:
    backgroundColor: "{colors.tertiary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.full}"
    padding: 0px 16px
    height: 40px
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.full}"
    padding: 0px
    height: 44px
  button-ghost:
    backgroundColor: "{colors.background}"
    textColor: "{colors.error}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.full}"
    padding: 0px 16px
    height: 40px
  input-field:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 0px
  link:
    textColor: "{colors.on-surface}"
---

# LEGO Design System

## Overview

LEGO describes itself as: “Explore the world of LEGO® through games, videos, products and more! Shop awesome LEGO® building toys and brick sets and find the perfect gift for your kid” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#141414)** text, and **Vivid Amber (#FFD400)** as the main accent.

Type is set in **Cera Pro**. Headlines run large; body text is 16px. Depth comes from hairline borders and inset highlights rather than drop shadows. Controls are pill-shaped.

Measured from [lego.com/en-us](https://www.lego.com/en-us?age-gate=grown_up) (the site sent our reader to its /en-us version; lego.com was asked for) on December 5, 2026 at 1440×900 and 390×844 from 395 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 12 roles, plus gradient stops #FAC400.

- **White (#FFFFFF):** Page background, seen 31 times. Token `background`, CSS `--ds-halloween-2026-expression-content-default`.
- **Charcoal (#141414):** Primary text and headings, seen 78 times. Token `on-surface`, CSS `--ds-despicable-me-4-expression-surface-inverse`.
- **Near Black (#000000):** Headings and emphasis, seen 20 times. Token `on-surface-strong`, CSS `--ds-k-pop-demon-hunters-expression-content-inverse`.
- **White 94% (#FFFFFFF0):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Mist (#F2F2F2):** Cards and panels, seen 19 times. Token `surface-container`.
- **Near Black 6% (#0000000F):** Borders and dividers, seen 20 times. Token `outline`.
- **Near Black 15% (#00000026):** Secondary dividers, seen 3 times. Token `outline-variant`.
- **Vivid Amber (#FFD400):** Brand color on large areas, seen 8 times. Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Blue (#005AD2):** Accent on large areas, seen 1 time. Token `secondary`.
- **Vivid Orange (#F47D20):** Secondary buttons, seen 19 times. Token `tertiary`.
- **Dark Red (#BD0000):** Errors and destructive states, seen 3 times. Token `error`, CSS `--ds-color-text-negative`.

## Typography

**Cera Pro** carries the whole interface. Fallback stack: `Cera Pro`.

- **headline-display:** Cera Pro 37px at weight 700, line height 1.35. Page title (h1).
- **headline-lg:** Cera Pro 30px at weight 700, line height 1.35 (22px on mobile). Section headings (h2).
- **headline-md:** Cera Pro 20px at weight 700, line height 1.55. Sub-section headings.
- **body-md:** Cera Pro 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Cera Pro 19px at weight 700, line height 1.5. Lead paragraphs.
- **body-sm:** Cera Pro 14px at weight 400, line height 1.36, tracking 0.01em. Secondary and small text.
- **caption:** Cera Pro 12px at weight 400, line height 1.75, tracking 0.01em. Captions and fine print.
- **label-lg:** Cera Pro 16px at weight 500, line height 1.5. Large buttons and tabs.
- **label-md:** Cera Pro 14px at weight 500, line height 1.5, tracking 0.01em. Buttons, navigation and labels.
- **label-sm:** Cera Pro 12px at weight 500, line height 1.75, tracking 0.01em. Small labels and badges.

## Layout

Spacing is mostly on a 4px grid (89% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 16px, lg 32px, xl 40px.
- **Gaps:** 12px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1600px.
- **Page margin:** 32px on each side of full-width sections.

## Elevation & Depth

The design avoids drop shadows. Layers are separated by tonal surface steps (#FFFFFFF0 → #F2F2F2) and hairline rings:

- `rgb(176, 176, 176) 0px 0px 0px 1px inset`

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **full (9999px):** 180 elements.
- **sm (4px):** 28 elements.
- **md (8px):** 12 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Add to Bag”):** #F47D20 fill, #000000 text, 16px/500, 999px radius, padding 0px 16px.
- **button-outline (“PlayStation™ Add to Wishlist”):** #F2F2F2 fill, #141414 text, 16px/500, 999px radius, padding 0px.
- **button-ghost (“Holiday”):** #FFFFFFF0 fill, #BD0000 text, 16px/500, 999px radius, padding 0px 16px.
- **input-field (“Search”):** transparent fill, #141414 text, 16px/400, padding 0px.
- **link:** transparent fill, #141414 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FFFFFFF0, #F2F2F2.
- Do keep text in 2 levels: #141414, #000000.
- Do use #FFD400 as the brand accent: header, logo and key highlights.
- Do reuse the measured spacing steps (8px, 16px, 32px).
- Do make buttons and chips fully rounded (9999px); most other elements use 4px corners.
- Don't add drop shadows for depth; use hairline rings and tonal surfaces.
- Don't introduce new font families beyond Cera Pro.
- Don't use #FFD400 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.3s, 0.2s, 0.24s, 0.16s.

- **Easing:** `ease-out`, `ease`, `cubic-bezier(0.4, 0, 1, 1)`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/lego.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
