MozaikaDesign system

Grafana — Design System

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

Grafana wears geometric Poppins at 60px/600 like a friendly observability mascot — round, open, nothing like a terminal — over a soft #F4F4F6 canvas with Inter at 16px doing the reading. Dashboards supply the color riot (that's the product's job), #1B55F5 buttons at 8px radius supply the action, and the footer signs off with a donut pun. Open-source seriousness with a grin.

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/grafana.

Tokens

Grafana's decoded design system: background #111217, text #CCCCDC, accent #F9A825, link #6E9FFF, primary #CCCCDC; type scale h1 28px / h2 18px / body 14px; 8px spacing base; 6px base radius. The single interactive/action color is #F9A825 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.

Color roles

RoleValue
bg#111217
surface#1C1D22
border#2D2D34
text#CCCCDC
text_muted#848591
primary#CCCCDC
accent#F9A825
link#6E9FFF
secondary#F9A825
button_bg#F9A825
button_text#000000

Using these colors

Typography

Spacing

Radii

Shadow

rgba(0, 0, 0, 0.2) 0px 2px 5px 0px

Shadows (elevation)

Motion

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

Native design tokens

TokenValue
--background#fff
--foreground#000
--card#fff
--card-foreground#000
--primary#2a68fb
--primary-foreground#fff
--secondary#e6e6ea
--secondary-foreground#000
--muted#f9f9fa
--muted-foreground#67677e

…and 110 more measured on the page.

Button states (measured)

Layout (measured)

Motion choreography (measured)

Load order: svg.fs-spinnerimg.css-w4f5xk×3 → div.css-zc7ygf×3 → svg.css-13m5aqu-Iconsvg.css-ja70zl-Icon×2 → div.css-ieui7j-hover-contain×28

Responsive (measured)

Per-section tokens (14)

Export: DESIGN.md

# Grafana — Design System

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

Grafana wears geometric Poppins at 60px/600 like a friendly observability mascot — round, open, nothing like a terminal — over a soft #F4F4F6 canvas with Inter at 16px doing the reading. Dashboards supply the color riot (that's the product's job), #1B55F5 buttons at 8px radius supply the action, and the footer signs off with a donut pun. Open-source seriousness with a grin.

## Colors

| Role | Value |
|------|-------|
| bg | `#111217` |
| surface | `#1C1D22` |
| border | `#2D2D34` |
| text | `#CCCCDC` |
| text_muted | `#848591` |
| primary | `#CCCCDC` |
| accent | `#F9A825` |
| link | `#6E9FFF` |
| secondary | `#F9A825` |
| button_bg | `#F9A825` |
| button_text | `#000000` |

**Using these colors**

- **Action color** `#F9A825` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds.
- `accent`, `secondary`, `button_bg` are all `#F9A825` — one role, not several (your action color).
- **accent** `#F9A825` — 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** `#CCCCDC` — ≈ the text color — a foreground/text color, not an action color (action = #F9A825).
- **link** `#6E9FFF` — inline text links and link-styled controls.
- **Page coverage** (full-page screenshot pixels): `#181B1F` 49.5% · `#1E2A39` 17.1% · `#727285` 14.2% · `#F5E7CF` 10.7%

## Typography

- Heading: **Inter**
- Body: **Inter**

| Role | Size / weight · line-height · tracking |
|------|------------------------------------------|
| hero | 28px / 500 · lh 32px · tracking -0.25px |
| h2 | 18px / 400 · lh 20px |
| h3 | 17px / 400 · lh 20px |
| body | 14px / 400 · lh 22px · tracking 0.15px |
| small | 13px / 400 · lh 20px · tracking 0.15px |

- Weight ladder: 400 · 500 · 600 · 700 — 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: 3px, 4px, 8px, 10px, 12px, 15px, 16px, 20px, 24px, 28px — snap all gaps/padding to these

## Radius
- base: 6px
- button: 8px
- card: 6px

## Buttons

| Button | Fill / text | Border | Radius | Padding | Font | Shadow |
|--------|-------------|--------|--------|---------|------|--------|
| primary | `#F9A825` / `#000000` | none | 8px | 8px 16px 8px 16px | 700 14px / 0.14994px | rgba(0, 0, 0, 0.2) 0px 2px 5px 0px |
| secondary | `#D0E5C2` / `#2E2E38` | none | 8px | — | — | none |

**States (measured, not guessed)**

- primary hover: background `#FFCC00`
- primary focus: outline `2px dotted rgba(0, 0, 0, 0)`
- transition: `background-color 0.2s ease`

## Shadows (elevation)
- card: `rgba(0, 0, 0, 0.3) 0px 4px 12px 0px`
- button: `rgba(0, 0, 0, 0.2) 0px 2px 5px 0px`

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

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 |
|-------|-------|
| `--background` | `#fff` |
| `--foreground` | `#000` |
| `--card` | `#fff` |
| `--card-foreground` | `#000` |
| `--primary` | `#2a68fb` |
| `--primary-foreground` | `#fff` |
| `--secondary` | `#e6e6ea` |
| `--secondary-foreground` | `#000` |
| `--muted` | `#f9f9fa` |
| `--muted-foreground` | `#67677e` |
| `--accent` | `#ff671d` |
| `--accent-foreground` | `#fff` |

_…and 108 more measured on the page._

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

## Layout (measured)
- nav: 852px relative

| Section (y) | Height | Cols | Gap | Pad y | Split |
|---|---|---|---|---|---|
| 48 | 852 | — | — | 0/0 | — |

## Motion choreography (measured)
Load order: `svg.fs-spinner` @0ms → `img.css-w4f5xk`×3 @1501ms → `div.css-zc7ygf`×3 @1501ms → `svg.css-13m5aqu-Icon` @2441ms → `svg.css-ja70zl-Icon`×2 @2670ms → `div.css-ieui7j-hover-contain`×28 @4358ms

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

## Components (measured)
- link: #38BDF8 · underline — hover #0EA5E9

## Responsive (measured)
- breakpoints: 330px · 527px · 544px · 549px · 769px · 930px
- mobile (390px): hero 28px · body 14px · 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/grafana

Export: Tailwind v4 (@theme)

@theme {
  /* action color #F9A825 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --color-bg: #111217;
  --color-surface: #1C1D22;
  --color-border: #2D2D34;
  --color-text: #CCCCDC;
  --color-text-muted: #848591;
  --color-primary: #CCCCDC;  /* ≈ the text color — a foreground/text color, not an action color (action = #F9A825). */
  --color-accent: #F9A825;  /* 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: #6E9FFF;  /* inline text links and link-styled controls. */
  --color-secondary: #F9A825;  /* same color as the action (see accent). */
  --color-button-bg: #F9A825;  /* primary-button fill — the main call-to-action color. */
  --color-button-text: #000000;
  /* 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;
  /* measured weights: 400, 500, 600, 700 — use these, not 400/600 */
  --text-hero: 28px; --font-weight-hero: 500; --leading-hero: 32px; --tracking-hero: -0.25px;
  --text-h2: 18px; --font-weight-h2: 400; --leading-h2: 20px;
  --text-h3: 17px; --font-weight-h3: 400; --leading-h3: 20px;
  --text-body: 14px; --font-weight-body: 400; --leading-body: 22px; --tracking-body: 0.15px;
  --text-small: 13px; --font-weight-small: 400; --leading-small: 20px; --tracking-small: 0.15px;
  --radius-base: 6px;
  --radius-button: 8px;
  --radius-card: 6px;
  --shadow-card: rgba(0, 0, 0, 0.3) 0px 4px 12px 0px;
  --color-btn-hover: #FFCC00;  /* measured primary hover fill */
  --outline-focus: 2px dotted rgba(0, 0, 0, 0);  /* measured focus ring */
  --ease-brand: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;  /* use: duration-[var(--duration-fast)] */
  --duration-base: 250ms;
  --duration-slow: 300ms;
  --spacing: 8px;  /* measured base — drives the p-*/gap-* scale. steps seen on the page: 3, 4, 8, 10, 12, 15, 16, 20, 24, 28px */
}

Export: CSS variables

:root {
  /* action color #F9A825 — the one interactive color; buttons/links/emphasis only, never large fills. */
  --bg: #111217;
  --surface: #1C1D22;
  --border: #2D2D34;
  --text: #CCCCDC;
  --text-muted: #848591;
  --primary: #CCCCDC;  /* ≈ the text color — a foreground/text color, not an action color (action = #F9A825). */
  --accent: #F9A825;  /* 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: #6E9FFF;  /* inline text links and link-styled controls. */
  --secondary: #F9A825;  /* same color as the action (see accent). */
  --button-bg: #F9A825;  /* primary-button fill — the main call-to-action color. */
  --button-text: #000000;
  --font-heading: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: "Inter", system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-hero: 28px; --weight-hero: 500; --leading-hero: 32px; --tracking-hero: -0.25px;
  --text-h2: 18px; --weight-h2: 400; --leading-h2: 20px;
  --text-h3: 17px; --weight-h3: 400; --leading-h3: 20px;
  --text-body: 14px; --weight-body: 400; --leading-body: 22px; --tracking-body: 0.15px;
  --text-small: 13px; --weight-small: 400; --leading-small: 20px; --tracking-small: 0.15px;
  --radius: 6px;
  --radius-button: 8px;
  --radius-card: 6px;
  --shadow-card: rgba(0, 0, 0, 0.3) 0px 4px 12px 0px;
  --btn-bg-hover: #FFCC00;
  --focus-ring: 2px dotted rgba(0, 0, 0, 0);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 200ms;
  --duration-base: 250ms;
  --duration-slow: 300ms;
}

/* their own tokens, verbatim from the site's :root */
:root {
  --background: #fff;
  --foreground: #000;
  --card: #fff;
  --card-foreground: #000;
  --primary: #2a68fb;
  --primary-foreground: #fff;
  --secondary: #e6e6ea;
  --secondary-foreground: #000;
  --muted: #f9f9fa;
  --muted-foreground: #67677e;
  --accent: #ff671d;
  --accent-foreground: #fff;
}
/* fonts: Inter — free, on Google. */