MozaikaDesign system

LlamaIndex — Design System

light · modern · medium · custom · confidence 92% · deep decode

The full decoded design system for LlamaIndex: color roles, type scale, spacing, radii and paste-ready DESIGN.md / Tailwind / CSS exports.

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/ds/llamaindex.

Tokens

LlamaIndex's decoded design system: background #FFFFFF, text #000000, accent #000000, link #212D3A, primary #0000EE; type scale h1 56px / h2 56px / body 16px; 8px spacing base; 8px base radius. The single interactive/action color is #000000 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#FFFFFF
surface#EFEFEF
border#D8D8D8
text#000000
text_muted#606060
primary#0000EE
accent#000000
link#212D3A
secondary#FFC0CB
button_bg#000000
button_text#F5F5F5

Using these colors

Typography

Spacing

Radii

Motion

Micro-interactions run at 75ms (dominant) with ease.

Native design tokens

TokenValue
--hsf-default-button__color#FFFFFF
--hsf-default-button__background-color#FF5C35
--hsf-default-richtext__color#212D3A
--hsf-default-heading__color#212D3A
--hsf-default-background__border-color#FFFFFF
--hsf-default-progressbar-text__color#212D3A
--hsf-default-progressbar-progressLine__background-color#018184
--hsf-default-progressbar-progressLine__border-color#959494
--hsf-default-progressbar-trackLine__background-color#D9D9D9
--hsf-default-erroralert__color#E51520

…and 66 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: a.AnnouncementBara.AnnouncementBardiv.LogosGroup×4 → div.LogosGroup×2

Scroll reveal: 9 elements rest at opacity 0, translateY(65px), animate in over 0.35s ease-out.

Responsive (measured)

Per-section tokens (15)

Export: DESIGN.md

# LlamaIndex — Design System

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

## Colors

| Role | Value |
|------|-------|
| bg | `#FFFFFF` |
| surface | `#EFEFEF` |
| border | `#D8D8D8` |
| text | `#000000` |
| text_muted | `#606060` |
| primary | `#0000EE` |
| accent | `#000000` |
| link | `#212D3A` |
| secondary | `#FFC0CB` |
| button_bg | `#000000` |
| button_text | `#F5F5F5` |

**Using these colors**

- **Action color** `#000000` — 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 `#000000` — one role, not several (your action color).
- **accent** `#000000` — 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** `#0000EE` — a brand color — but the call-to-action uses #000000, not this.
- **link** `#212D3A` — inline text links and link-styled controls.
- **secondary** `#FFC0CB` — 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): `#FFFFFF` 59.2% · `#B5B2E2` 15.6% · `#FBA67A` 9.5% · `#FCA6CC` 6.2%

## Typography

- Heading: **Inter**
- Body: **Inter**
- Mono: **IBMPlexMono**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 79px / 500 · lh 87px · tracking -2.36px |
| h2 | 63px / 500 · lh 69px · tracking -1.88px |
| h3 | 55px / 500 · lh 60px · tracking -1.64px |
| body | 16px / 500 |
| small | 14px / 400 |
| eyebrow | 12px / 400 · tracking 0.48px |

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

> **Fonts —** Inter — free, on Google.

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

## Radius
- base: 8px
- button: 0px
- card: 12px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#FFFFFF` / `#000000` | 1px solid rgb(231, 231, 231) | 0px | 8px 24px 8px 24px | 400 12px / 0.48px | none |
| secondary | `#FFFFFF` / `#000000` | none | 0px | — | — | none |

**States (measured, not guessed)**

- primary hover: background `#E7E7E7`
- primary focus: outline `1px auto rgb(16, 16, 16)`
- transition: `background 0.075s ease`

## Motion
- durations: 75ms (dominant) · 350ms · 150ms
- easings: `ease` (dominant) · `ease-out`
- animated properties: background, color, opacity, transform

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 |
|-------|-------|
| `--hsf-default-button__color` | `#FFFFFF` |
| `--hsf-default-button__background-color` | `#FF5C35` |
| `--hsf-default-richtext__color` | `#212D3A` |
| `--hsf-default-heading__color` | `#212D3A` |
| `--hsf-default-background__border-color` | `#FFFFFF` |
| `--hsf-default-progressbar-text__color` | `#212D3A` |
| `--hsf-default-progressbar-progressLine__background-color` | `#018184` |
| `--hsf-default-progressbar-progressLine__border-color` | `#959494` |
| `--hsf-default-progressbar-trackLine__background-color` | `#D9D9D9` |
| `--hsf-default-erroralert__color` | `#E51520` |
| `--hsf-default-infoalert__color` | `#253342` |
| `--hsf-default-field-label__color` | `#212D3A` |

_…and 64 more measured on the page._

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

## Layout (measured)
- container max 700px · common grid: 3-col
- nav: 52px sticky · bg #FFFFFF

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 110 | 1552 | 3 | — | 48/48 | 3/94/3 |
| 1662 | 1501 | 3 | — | 0/0 | 3/94/3 |
| 3164 | 191 | 3 | — | 0/0 | 3/94/3 |
| 3354 | 945 | 3 | — | 0/0 | 3/94/3 |
| 4427 | 1435 | 3 | — | 0/0 | 3/94/3 |

## Motion choreography (measured)
Load order: `a.AnnouncementBar` @0ms → `a.AnnouncementBar` @0ms → `div.LogosGroup`×4 @95ms → `div.LogosGroup`×2 @95ms
- scroll reveal: 9 elements rest at opacity 0, translateY(65px), animate in over 0.35s ease-out (5 revealed during the drive).

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

## Components (measured)
- link: #F5F5F5 · no underline

## Responsive (measured)
- breakpoints: 400px · 500px · 600px · 700px · 768px · 800px
- mobile (390px): hero 33px · body 16px · nav: inline

## 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/llamaindex

Export: Tailwind v4 (@theme)

@theme {
  /* action color #000000 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #FFFFFF;
  --color-surface: #EFEFEF;
  --color-border: #D8D8D8;
  --color-text: #000000;
  --color-text-muted: #606060;
  --color-primary: #0000EE;  /* a brand color — but the call-to-action uses #000000, not this. */
  --color-accent: #000000;  /* 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: #212D3A;  /* inline text links and link-styled controls. */
  --color-secondary: #FFC0CB;  /* 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: #000000;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #F5F5F5;
  /* fonts: Inter — free, on Google. */
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "IBMPlexMono", ui-monospace, monospace;
  /* measured weights: 400, 500 — use these, not 400/600 */
  --text-hero: 79px; --font-weight-hero: 500; --leading-hero: 87px; --tracking-hero: -2.36px;
  --text-h2: 63px; --font-weight-h2: 500; --leading-h2: 69px; --tracking-h2: -1.88px;
  --text-h3: 55px; --font-weight-h3: 500; --leading-h3: 60px; --tracking-h3: -1.64px;
  --text-body: 16px; --font-weight-body: 500;
  --text-small: 14px; --font-weight-small: 400;
  --text-eyebrow: 12px; --font-weight-eyebrow: 400; --tracking-eyebrow: 0.48px;
  --radius-base: 8px;
  --radius-button: 0px;
  --radius-card: 12px;
  --color-btn-hover: #E7E7E7;  /* measured primary hover fill */
  --outline-focus: 1px auto rgb(16, 16, 16);  /* measured focus ring */
  --ease-brand: ease;
  --duration-fast: 75ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 150ms;
  --duration-slow: 350ms;
  --section-y: 100px;  /* per-section vertical padding (measured) */
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 6, 8, 12, 13, 14, 16, 20, 24, 32, 40px */
}

Export: CSS variables

:root {
  /* action color #000000 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #FFFFFF;
  --surface: #EFEFEF;
  --border: #D8D8D8;
  --text: #000000;
  --text-muted: #606060;
  --primary: #0000EE;  /* a brand color — but the call-to-action uses #000000, not this. */
  --accent: #000000;  /* 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: #212D3A;  /* inline text links and link-styled controls. */
  --secondary: #FFC0CB;  /* 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: #000000;  /* primary-button fill — the main call-to-action color. */
  --button-text: #F5F5F5;
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: "IBMPlexMono", ui-monospace, monospace;
  --text-hero: 79px; --weight-hero: 500; --leading-hero: 87px; --tracking-hero: -2.36px;
  --text-h2: 63px; --weight-h2: 500; --leading-h2: 69px; --tracking-h2: -1.88px;
  --text-h3: 55px; --weight-h3: 500; --leading-h3: 60px; --tracking-h3: -1.64px;
  --text-body: 16px; --weight-body: 500;
  --text-small: 14px; --weight-small: 400;
  --text-eyebrow: 12px; --weight-eyebrow: 400; --tracking-eyebrow: 0.48px;
  --radius: 8px;
  --radius-button: 0px;
  --radius-card: 12px;
  --btn-bg-hover: #E7E7E7;
  --focus-ring: 1px auto rgb(16, 16, 16);
  --ease: ease;
  --duration-fast: 75ms;
  --duration-base: 150ms;
  --duration-slow: 350ms;
  --section-y: 100px;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --hsf-default-button__color: #FFFFFF;
  --hsf-default-button__background-color: #FF5C35;
  --hsf-default-richtext__color: #212D3A;
  --hsf-default-heading__color: #212D3A;
  --hsf-default-background__border-color: #FFFFFF;
  --hsf-default-progressbar-text__color: #212D3A;
  --hsf-default-progressbar-progressLine__background-color: #018184;
  --hsf-default-progressbar-progressLine__border-color: #959494;
  --hsf-default-progressbar-trackLine__background-color: #D9D9D9;
  --hsf-default-erroralert__color: #E51520;
  --hsf-default-infoalert__color: #253342;
  --hsf-default-field-label__color: #212D3A;
}
/* fonts: Inter — free, on Google. */