Design SystemJan 2025

McDonald's Styleguide

A comprehensive design system showcasing colors, typography, spacing, shadows, radius, and iconography

Tools

React, Tailwind CSS, TypeScript

Type

Design System

Colors

Primary Colors

McDonald's Red
#DA291C
rgb(218, 41, 28)
Primary brand color, CTAs, alerts
McDonald's Gold
#FFC72C
rgb(255, 199, 44)
Secondary brand, highlights, accents
Iconic Green
#234E33
rgb(35, 78, 51)
Sustainability, fresh, natural themes

Neutral Colors

Black
#000000
rgb(0, 0, 0)
Primary text, headings
Dark Gray
#292929
rgb(41, 41, 41)
Secondary text, body copy
Medium Gray
#6B6B6B
rgb(107, 107, 107)
Placeholder text, disabled states
Light Gray
#F0EFF2
rgb(240, 239, 242)
Backgrounds, dividers

Semantic Colors

Success
#27AE60
rgb(39, 174, 96)
Success states, confirmations
Warning
#F2994A
rgb(242, 153, 74)
Warning messages, cautions
Error
#EB5757
rgb(235, 87, 87)
Error states, destructive actions
Info
#2F80ED
rgb(47, 128, 237)
Informational messages, links

Typography

Font Family

PRIMARY FONT

Speedee

Custom typeface inspired by the Golden Arches. Friendly, characterful, and highly legible.

FALLBACK STACK

Speedee, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif

Type Scale

Aa

Display

48px / 56px · Weight 700

Aa

Heading 1

36px / 44px · Weight 700

Aa

Heading 2

28px / 36px · Weight 600

Aa

Heading 3

22px / 28px · Weight 600

Aa

Body Large

18px / 28px · Weight 400

Aa

Body

16px / 24px · Weight 400

Aa

Body Small

14px / 20px · Weight 400

Aa

Caption

12px / 16px · Weight 400

Spacing

Spacing Scale

4xs
2px(0.125rem)
3xs
4px(0.25rem)
2xs
8px(0.5rem)
xs
12px(0.75rem)
sm
16px(1rem)
md
24px(1.5rem)
lg
32px(2rem)
xl
48px(3rem)
2xl
64px(4rem)
3xl
96px(6rem)

Shadows

Elevation Scale

Small

shadow-sm

Cards, buttons

Medium

shadow-md

Dropdowns, popovers

Large

shadow-lg

Modals, dialogs

XL

shadow-xl

Elevated panels

2XL

shadow-2xl

Floating elements

Inner

shadow-inner

Pressed states, inputs

Border Radius

Radius Scale

0px

None

rounded-none

4px

Small

rounded-sm

8px

Medium

rounded-md

12px

Large

rounded-lg

16px

XL

rounded-xl

24px

2XL

rounded-2xl

32px

3XL

rounded-3xl

9999px

Full

rounded-full

Layout

Grid System

12-Column Grid

1
2
3
4
5
6
7
8
9
10
11
12

GUTTER

24px

MARGIN

24px (mobile) / 48px (desktop)

MAX WIDTH

1200px

Breakpoints

Mobile

0 - 639px

sm:

Tablet

640 - 1023px

md:

Desktop

1024 - 1279px

lg:

Wide

1280px+

xl:

Iconography

Icon Sizes

12pxXS
16pxSM
20pxMD
24pxLG
32pxXL
48px2XL

Icon Guidelines

Do

  • • Use consistent stroke width (1.5px or 2px)
  • • Maintain optical alignment within bounding box
  • • Use rounded corners for friendly appearance
  • • Ensure icons are legible at small sizes

Don't

  • • Mix different icon styles in the same context
  • • Use icons smaller than 12px
  • • Add excessive detail that doesn't scale
  • • Use icons without sufficient contrast