Magic Patterns — Design System
Magic Patterns prototypes in the system stack: -apple-system at 72px/700 in ink #1C2024 on near-white, zero-radius text CTAs, and generated UI mockups as the only imagery. For an AI tool that designs product interfaces, shipping no webfont reads as a thesis — the design energy belongs in the output, not the shell.
This is a static, crawlable rendering for search & AI engines. The interactive version — filters, live decode console, copy & export — is at https://mozaika.design/ds/magic-patterns.
Tokens
Magic Patterns's decoded design system: background #FCFCFD, text #000000, accent #1C2024, link #EDF2FE, primary #395AC7; type scale h1 72px / h2 60px / 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
| Role | Value |
|---|---|
| bg | #FCFCFD |
| surface | #ECECED |
| border | #D6D6D7 |
| text | #000000 |
| text_muted | #5F5F60 |
| primary | #395AC7 |
| accent | #1C2024 |
| link | #EDF2FE |
| secondary | #107D98 |
| button_bg | #1C2024 |
| button_text | #FCFCFD |
Using these colors
- Action color
#1C2024— the single interactive color; only on things you click or must notice, never large fills. accent,button_bgare all#1C2024— one role, not several (the 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.
Typography
- Heading: system sans
- Body: system sans
- h1: 72px
- h2: 60px
- body: 16px
Spacing
- base unit: 4px
- scale: 2px, 4px, 6px, 8px, 10px, 12px, 14px, 16px, 20px, 24px
Radii
- base: 6px
- button: 8px
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
Micro-interactions run at 100ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 100ms · 300ms · 150ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease-in-out - animated properties: opacity, background-color, border-color, color
Native design tokens
| 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 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: background
oklch(0.27 0.031 198.6) - primary focus: outline
2px solid rgba(0, 0, 0, 0)
Layout (measured)
- container max-width:
1152px - nav: 56px
- common grid: 3 columns
Motion choreography (measured)
Load order: div.aurora-shader-reveal-lay → span.aurora-shader-glow×2 → ul.relative → span.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)
- breakpoints: 520px · 640px · 768px · 1024px · 1280px · 1640px
- mobile (390px): hero 40px · nav hamburger
Per-section tokens (8)
- Hero — light · bg #FFFFFF · text #A1A3A5 · 3 col · split
- Logo Wall — dark · bg #000000 · text #FFFFFF · 1 col · left
- Feature — light · bg #FFFFFF · text #B9BDC4 · 1 col · left
- Gallery / Showcase — light · bg #FFFFFF · text #000101 · 1 col · left
- Testimonial / Social Proof — light · bg #FFFFFF · text #AFAFAF · 1 col · left
- FAQ — light · bg #FFFFFF · text #8B8D8D · 1 col · left
- CTA / Sign-up — light · bg #FFFFFF · text #1C2023 · 1 col · left
- Footer — light · bg #F3F3F5 · text #C9CBD0 · 1 col · left
Export: DESIGN.md
# Magic Patterns — Design System > light, modern, medium, custom — deep decode (measured live) Magic Patterns prototypes in the system stack: -apple-system at 72px/700 in ink #1C2024 on near-white, zero-radius text CTAs, and generated UI mockups as the only imagery. For an AI tool that designs product interfaces, shipping no webfont reads as a thesis — the design energy belongs in the output, not the shell. ## Colors | Role | Value | |------|-------| | bg | `#FCFCFD` | | surface | `#ECECED` | | border | `#D6D6D7` | | text | `#000000` | | text_muted | `#5F5F60` | | 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. --- > **Decoded with Mozaika** — measured live, not guessed. Full decoded design system + one-command install: mozaika.design/ds/magic-patterns
Export: Tailwind v4 (@theme)
@theme {
/* action color #1C2024 — the one interactive color; buttons/links/emphasis only, never large fills. */
--color-bg: #FCFCFD;
--color-surface: #ECECED;
--color-border: #D6D6D7;
--color-text: #000000;
--color-text-muted: #5F5F60;
--color-primary: #395AC7; /* a brand color — but the call-to-action uses #1C2024, not this. */
--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. */
--color-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). */
--color-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. */
--color-button-bg: #1C2024; /* primary-button fill — the main call-to-action color. */
--color-button-text: #FCFCFD;
/* fonts: system sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */
--font-heading: "system sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "system sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
/* measured weights: 400, 500, 600 — use these, not 400/600 */
--text-hero: 60px; --font-weight-hero: 500; --leading-hero: 60px; --tracking-hero: -1.2px;
--text-h2: 56px; --font-weight-h2: 500; --leading-h2: 59px; --tracking-h2: -1.12px;
--text-h3: 48px; --font-weight-h3: 500; --leading-h3: 60px; --tracking-h3: -0.48px;
--text-body: 16px; --font-weight-body: 600; --leading-body: 26px;
--text-small: 14px; --font-weight-small: 400; --leading-small: 20px;
--text-eyebrow: 12px; --font-weight-eyebrow: 600; --tracking-eyebrow: 1.68px;
--radius-base: 6px;
--radius-button: 8px;
--radius-card: 16px;
--radius-pill: 9999px;
--shadow-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;
--shadow-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;
--color-btn-hover: oklch(0.27 0.031 198.6); /* measured primary hover fill */
--outline-focus: 2px solid rgba(0, 0, 0, 0); /* measured focus ring */
--ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 100ms; /* use: duration-[var(--duration-fast)] */
--duration-base: 150ms;
--duration-slow: 300ms;
--section-y: 128px; /* per-section vertical padding (measured) */
--spacing: 4px; /* measured base — drives the p-*/gap-* scale. steps seen on the page: 2, 4, 6, 8, 10, 12, 14, 16, 20, 24px */
}Export: CSS variables
:root {
/* action color #1C2024 — the one interactive color; buttons/links/emphasis only, never large fills. */
--bg: #FCFCFD;
--surface: #ECECED;
--border: #D6D6D7;
--text: #000000;
--text-muted: #5F5F60;
--primary: #395AC7; /* a brand color — but the call-to-action uses #1C2024, not this. */
--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. */
--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. */
--button-bg: #1C2024; /* primary-button fill — the main call-to-action color. */
--button-text: #FCFCFD;
--font-heading: "system sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--font-body: "system sans", "Newsreader", system-ui, -apple-system, 'Segoe UI', sans-serif;
--text-hero: 60px; --weight-hero: 500; --leading-hero: 60px; --tracking-hero: -1.2px;
--text-h2: 56px; --weight-h2: 500; --leading-h2: 59px; --tracking-h2: -1.12px;
--text-h3: 48px; --weight-h3: 500; --leading-h3: 60px; --tracking-h3: -0.48px;
--text-body: 16px; --weight-body: 600; --leading-body: 26px;
--text-small: 14px; --weight-small: 400; --leading-small: 20px;
--text-eyebrow: 12px; --weight-eyebrow: 600; --tracking-eyebrow: 1.68px;
--radius: 6px;
--radius-button: 8px;
--radius-card: 16px;
--radius-pill: 9999px;
--shadow-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;
--shadow-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;
--btn-bg-hover: oklch(0.27 0.031 198.6);
--focus-ring: 2px solid rgba(0, 0, 0, 0);
--ease: cubic-bezier(0.4, 0, 0.2, 1);
--duration-fast: 100ms;
--duration-base: 150ms;
--duration-slow: 300ms;
--section-y: 128px;
}
/* their own tokens, verbatim from the site's :root */
:root {
--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;
}
/* fonts: system sans may be proprietary — safe free fallback: Newsreader (Google Fonts). */