MozaikaLive decode

Magic Patterns — decoded design system

magicpatterns.com · light · modern · custom · deep decode — measured live

Magic Patterns's design system, decoded live by Mozaika: measured color roles, type scale, buttons with real hover/focus states, motion and the brand's own tokens.

Open in Mozaika →

This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/decode/magicpatterns.com.

Decoded design system

Magic Patterns's decoded design system: background #FCFCFD, text #1C2024, accent #1C2024, link #EDF2FE, primary #395AC7; type scale h1 60px / h2 56px / body 16px; 4px spacing base; 6px base radius. The single interactive/action color is #1C2024 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FCFCFD
surface#EEEEEF
border#DADBDC
text#1C2024
text_muted#717376
primary#395AC7
accent#1C2024
link#EDF2FE
secondary#107D98
button_bg#1C2024
button_text#FCFCFD

Using these colors

Typography

Spacing

Radii

Shadows (elevation)

Motion

Micro-interactions run at 100ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).

Native design tokens

TokenValue
--card-foreground#1c2024
--gray-1#fcfcfc
--gray-2#f9f9f9
--gray-3#f0f0f0
--gray-4#e8e8e8
--gray-5#e0e0e0
--gray-6#d9d9d9
--gray-7#cecece
--gray-8#bbbbbb
--gray-9#8d8d8d

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: div.aurora-shader-reveal-layspan.aurora-shader-glow×2 → ul.relativespan.aurora-mesh-blob-a×2 → span.aurora-mesh-blob-b×2 → span.aurora-mesh-blob-c×2

Scroll reveal: 7 elements rest at opacity 0, translateY(33px), animate in over 300ms.

Stagger: div ×4 — 400ms apart.

Overlay recipe (measured)

palette panel: rgba(0, 0, 0, 0) · radius 0px

Input (measured)

height 62px · radius 0px

Responsive (measured)

Install it

Drop this measured system into any shadcn/Tailwind project in one command:

npx shadcn add mozaika.design/r/decode/magicpatterns.com

registry item · or query it over MCP: get_design_system("Magic Patterns")

Export: DESIGN.md

# Magic Patterns — Design System

> light, modern, medium, custom — deep decode (measured live)

## Colors

| Role | Value |
|------|-------|
| bg | `#FCFCFD` |
| surface | `#EEEEEF` |
| border | `#DADBDC` |
| text | `#1C2024` |
| text_muted | `#717376` |
| primary | `#395AC7` |
| accent | `#1C2024` |
| link | `#EDF2FE` |
| secondary | `#107D98` |
| button_bg | `#1C2024` |
| button_text | `#FCFCFD` |

**Using these colors**

- **Action color** `#1C2024` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `button_bg` are all `#1C2024` — one role, not several (your action color).
- **accent** `#1C2024` — THE accent / action color — interactive & must-notice only (buttons, links, focus, one key highlight); never large fills or backgrounds. Scarcity is what makes it read as designed.
- **primary** `#395AC7` — a brand color — but the call-to-action uses #1C2024, not this.
- **link** `#EDF2FE` — fails contrast on the background (~1.1:1) — this is a dark UI color, NOT a readable link; use the text or action color for links (verify against the reference).
- **secondary** `#107D98` — optional secondary accent — LOW decode confidence; use rarely (a status color or a single decorative moment) or omit it entirely. Prefer one accent unless the reference clearly shows two.
- **Page coverage** (full-page screenshot pixels): `#F1F6FE` 69.3% · `#92CED9` 12.9% · `#B3E0E1` 11.3% · `#7BA6BE` 6.5%

## Typography

- Heading: **system sans** _(free fallback: Newsreader)_
- Body: **system sans** _(free fallback: Newsreader)_

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 60px / 500 · lh 60px · tracking -1.2px |
| h2 | 56px / 500 · lh 59px · tracking -1.12px |
| h3 | 48px / 500 · lh 60px · tracking -0.48px |
| body | 16px / 600 · lh 26px |
| small | 14px / 400 · lh 20px |
| eyebrow | 12px / 600 · tracking 1.68px |

- Weight ladder: 400 · 500 · 600 — use these exact measured weights, not the 400/600 defaults.

> **Fonts —** system sans may be proprietary — safe free fallback: Newsreader (Google Fonts).

## Spacing
- base unit: 4px (inferred from the measured scale)
- measured scale: 2px, 4px, 6px, 8px, 10px, 12px, 14px, 16px, 20px, 24px — snap all gaps/padding to these
- section rhythm: 128px top/bottom padding per section (measured)

## Radius
- base: 6px
- button: 8px
- card: 16px
- pill: 9999px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `oklch(0.1818 0.031 198.6)` / `oklch(1 0 89.9)` | none | 8px | 0px 16px 0px 16px | 500 14px | none |
| secondary | `rgba(0, 0, 0, 0)` / `#1C2024` | none | 6px | 0px 0px 0px 0px | 400 16px | none |

**States (measured, not guessed)**

- primary hover: background `oklch(0.27 0.031 198.6)`
- primary focus: outline `2px solid rgba(0, 0, 0, 0)`
- transition: `color 0.1s cubic-bezier(0.4, 0, 0.2, 1)`

## Shadows (elevation)
- subtle: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`
- card: `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 22, 23, 0.12) 0px 0px 0px 1px`

## Motion
- durations: 100ms (dominant) · 300ms · 150ms
- easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `ease-in-out`
- animated properties: opacity, background-color, border-color, color

Micro-interactions use the dominant duration + easing; nothing on the page animates slower than the longest duration above — don't invent springier motion.

## Their own tokens (verbatim from :root)

| Token | Value |
|-------|-------|
| `--card-foreground` | `#1c2024` |
| `--gray-1` | `#fcfcfc` |
| `--gray-2` | `#f9f9f9` |
| `--gray-3` | `#f0f0f0` |
| `--gray-4` | `#e8e8e8` |
| `--gray-5` | `#e0e0e0` |
| `--gray-6` | `#d9d9d9` |
| `--gray-7` | `#cecece` |
| `--gray-8` | `#bbbbbb` |
| `--gray-9` | `#8d8d8d` |
| `--gray-10` | `#838383` |
| `--gray-11` | `#646464` |

_…and 108 more measured on the page._

Prefer these names when extending their system — it's the brand's actual vocabulary.

## Layout (measured)
- container max 1152px · common grid: 3-col
- nav: 56px

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 892 | 1040 | 6 | 24 | 128/128 | — |
| 1932 | 1024 | 3 | 24 | 128/128 | — |
| 2956 | 978 | — | — | 128/128 | — |
| 3935 | 789 | — | — | 128/128 | — |
| 4724 | 503 | — | — | 0/128 | — |

## Motion choreography (measured)
Load order: `div.aurora-shader-reveal-lay` @0ms → `span.aurora-shader-glow`×2 @0ms → `ul.relative` @0ms → `span.aurora-mesh-blob-a`×2 @0ms → `span.aurora-mesh-blob-b`×2 @0ms → `span.aurora-mesh-blob-c`×2 @0ms
- `div.rt-Box` — opacity 0→1 · transform translateY(10px)→translateY(0px) — 1400ms cubic-bezier(0.22, 1, 0.36, 1) (delay 900ms)
- `span.aurora-shader-glow` ×2 — opacity 0.6→0.6 · transform translate(-50%, -50%) scale(1)→translate(-50%, -50%) scale(1) — 4000ms ease-in-out · loops
- `div.h-6` ×4 — opacity 0.4→0.4 — 4500ms ease-in-out · loops
- `div.absolute` ×3 — opacity 0→0 — 3200ms ease-in-out · loops
- `span.aurora-mesh-blob-a` ×2 — transform none→translate(70%, 48%) scale(1.2) — 11000ms ease-in-out · loops
- `span.aurora-mesh-blob-b` ×2 — transform none→translate(-78%, 40%) scale(0.8) — 14000ms ease-in-out · loops
- stagger: `div` ×4 — 400ms apart
- scroll reveal: 7 elements rest at opacity 0, translateY(33px), animate in over 300ms (0 revealed during the drive).
- overlay palette (auto-opened): panel rgba(0, 0, 0, 0) · r 0px
  - exit: transform+opacity from translateY(0px) scale(1),1 · 100ms linear

Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography.

## Components (measured)
- input: h 62px · r 0px · bg rgba(0, 0, 0, 0) · placeholder rgba(0, 22, 23, 0.3)

## Responsive (measured)
- breakpoints: 520px · 640px · 768px · 1024px · 1280px · 1640px
- mobile (390px): hero 40px · body 16px · nav: hamburger

## How to apply
Paste the Tailwind `@theme` (or CSS variables) as your base, then build each
section to its spec — verify every color, radius, and font against these tokens.
Hover/focus states, shadows and motion timings above are measured from the live page — match them exactly, don't re-guess them.
Mozaika is an MCP-native design-reference library for AI coding agents: real products decoded into measured design systems, full-page screens, sliced sections with per-section specs, and ordered user flows. Connect your agent over MCP.

An automated reading of Magic Patterns's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with magicpatterns.com. No screenshots stored. Removal requests: hello@mozaika.design.