Grafana — decoded design system
Grafana'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.
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/grafana.com.
Decoded design system
Grafana's decoded design system: background #F4F4F6, text #000000, accent #1B55F5, link #1B55F5, primary #FAD8AC; type scale h1 60px / h2 48px / body 16px; 4px spacing base; 0px base radius. The single interactive/action color is #1B55F5 — used only on interactive or must-notice elements (buttons, links, key highlights), never on large fills.
Color roles
| Role | Value |
|---|---|
| bg | #F4F4F6 |
| surface | #E5E5E7 |
| border | #CFCFD1 |
| text | #000000 |
| text_muted | #5C5C5D |
| primary | #FAD8AC |
| accent | #1B55F5 |
| link | #1B55F5 |
| secondary | #67677E |
| button_bg | #1B55F5 |
| button_text | #FFFFFF |
Using these colors
- Action color
#1B55F5— the single interactive color; only on things you click or must notice, never large fills. accent,link,button_bgare all#1B55F5— one role, not several (the action color).- accent
#1B55F5— 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
#FAD8AC— a brand color — but the call-to-action uses #1B55F5, not this. - secondary
#67677E— 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: Poppins
- Body: Inter
- h1: 60px
- h2: 48px
- body: 16px
Spacing
- base unit: 4px
- scale: 4px, 8px, 10px, 12px, 14px, 16px, 20px, 24px, 32px, 48px
Radii
- base: 0px
- button: 8px
Shadow
rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, 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
Motion
Micro-interactions run at 150ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 150ms · 300ms · 200ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·linear - animated properties: opacity, color, filter, transform
Native design tokens
| 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 |
…and 110 more measured on the page.
Button states (measured)
- primary hover: border
1px solid rgb(20, 64, 225)· background#1440E1
Layout (measured)
- container max-width:
1280px - nav: 45px
Motion choreography (measured)
Load order: div.absolute×5 → div.motion-reduce:animate-no×78 → div.flex×6 → button.inline-flex×2 → div.otFlat
Scroll reveal: 2 elements rest at translateY(-35px).
Responsive (measured)
- breakpoints: 426px · 448px · 550px · 600px · 640px · 768px
- mobile (390px): hero 48px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/grafana.com
registry item · or query it over MCP: get_design_system("Grafana")
Export: DESIGN.md
# Grafana — Design System > light, professional, medium, tailwind — deep decode (measured live) ## Colors | Role | Value | |------|-------| | bg | `#F4F4F6` | | surface | `#E5E5E7` | | border | `#CFCFD1` | | text | `#000000` | | text_muted | `#5C5C5D` | | primary | `#FAD8AC` | | accent | `#1B55F5` | | link | `#1B55F5` | | secondary | `#67677E` | | button_bg | `#1B55F5` | | button_text | `#FFFFFF` | **Using these colors** - **Action color** `#1B55F5` — the single interactive color; it appears only on things you click or must notice (buttons, key highlights), never on large fills or backgrounds. - `accent`, `link`, `button_bg` are all `#1B55F5` — one role, not several (your action color). - **accent** `#1B55F5` — 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** `#FAD8AC` — a brand color — but the call-to-action uses #1B55F5, not this. - **secondary** `#67677E` — 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): `#F4F4F6` 69.8% · `#DED2DE` 13.7% · `#D5E8F2` 9.8% · `#8D8AA9` 6.7% ## Typography - Heading: **Poppins** - Body: **Inter** | Role | Size / weight · line-height · tracking | |------|------------------------------------------| | hero | 60px / 600 · lh 75px · tracking -1.5px | | h2 | 48px / 600 · lh 54px · tracking -1.2px | | h3 | 36px / 600 · lh 41px | | body | 16px / 500 · lh 24px | | small | 14px / 600 · lh 20px | - Weight ladder: 400 · 500 · 600 · 700 — use these exact measured weights, not the 400/600 defaults. > **Fonts —** Poppins — free, on Google. Inter — free, on Google. ## Spacing - base unit: 4px (inferred from the measured scale) - measured scale: 4px, 8px, 10px, 12px, 14px, 16px, 20px, 24px, 32px, 48px — snap all gaps/padding to these - section rhythm: 64px top/bottom padding per section (measured) ## Radius - base: 0px - button: 8px - card: 12px - pill: 9999px - sharp: 2px ## Buttons | Button | Fill / text | Border | Radius | Padding | Font | Shadow | |--------|-------------|--------|--------|---------|------|--------| | primary | `#1B55F5` / `#FFFFFF` | 1px solid rgb(27, 85, 245) | 8px | 7px 14px 9px 14px | 500 14px | rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, 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 | | secondary | `rgba(0, 0, 0, 0)` / `#67677E` | 1px solid rgba(0, 0, 0, 0) | 8px | 8px 12px 8px 12px | 500 11px | none | **States (measured, not guessed)** - primary hover: border `1px solid rgb(20, 64, 225)` · background `#1440E1` - secondary hover: color `#000000` - transition: `all 0.15s cubic-bezier(0.4, 0, 0.2, 1)` ## Motion - durations: 150ms (dominant) · 300ms · 200ms - easings: `cubic-bezier(0.4, 0, 0.2, 1)` (dominant) · `linear` - animated properties: opacity, color, filter, 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 | |-------|-------| | `--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) - container max 1280px - nav: 45px | Section (y) | Height | Cols | Gap | Pad y | Split | |---|---|---|---|---|---| | 45 | 374 | — | — | 32/0 | — | | 525 | 160 | — | — | 0/0 | — | | 685 | 1640 | — | — | 0/0 | — | | 2325 | 720 | — | — | 0/0 | — | | 3045 | 982 | — | — | 0/0 | — | | 4027 | 192 | — | — | 0/0 | — | | 4219 | 450 | — | — | 0/0 | — | | 4669 | 624 | — | — | 0/0 | — | ## Motion choreography (measured) Load order: `div.absolute`×5 @0ms → ``×78 @0ms → `div.flex`×6 @1ms → `button.inline-flex`×2 @220ms → `div.otFlat` @660ms - scroll reveal: 2 elements rest at translateY(-35px) (2 revealed during the drive). Rebuild the timeline, not just the durations — order, delays and staggers above are the choreography. ## Components (measured) - link: #1B55F5 · no underline ## Responsive (measured) - breakpoints: 426px · 448px · 550px · 600px · 640px · 768px - mobile (390px): hero 48px · 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.
An automated reading of Grafana's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with grafana.com. No screenshots stored. Removal requests: hello@mozaika.design.