Play — decoded design system
Play'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/play.grafana.org.
Decoded design system
Play'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
| 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; only on things you click or must notice, never large fills. accent,secondary,button_bgare all#F9A825— one role, not several (the 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.
Typography
- Heading: Inter
- Body: Inter
- h1: 28px
- h2: 18px
- body: 14px
Spacing
- base unit: 8px
- scale: 3px, 4px, 8px, 10px, 12px, 15px, 16px, 20px, 24px, 28px
Radii
- base: 6px
- button: 8px
Shadow
rgba(0, 0, 0, 0.2) 0px 2px 5px 0px
Shadows (elevation)
- card:
rgba(0, 0, 0, 0.3) 0px 4px 12px 0px
Motion
Micro-interactions run at 250ms (dominant) with cubic-bezier(0.4, 0, 0.2, 1).
- durations: 250ms · 200ms · 300ms
- easings:
cubic-bezier(0.4, 0, 0.2, 1)·ease - animated properties: background-color, color, border-color, opacity
Button states (measured)
- primary hover: background
#FFCC00 - primary focus: outline
2px dotted rgba(0, 0, 0, 0)
Layout (measured)
- nav: 852px relative
Motion choreography (measured)
Load order: svg.fs-spinner → img.css-w4f5xk×3 → div.css-zc7ygf×3 → svg.css-13m5aqu-Icon → svg.css-ja70zl-Icon×2 → div.css-ieui7j-hover-contain×28
Responsive (measured)
- breakpoints: 330px · 527px · 544px · 549px · 769px · 930px
- mobile (390px): hero 28px · nav inline
Install it
Drop this measured system into any shadcn/Tailwind project in one command:
npx shadcn add mozaika.design/r/decode/play.grafana.org
Or as a Meta Astryx theme — a ready defineTheme file with the measured hover/press states baked in:
curl -o src/themes/play.theme.ts https://mozaika.design/api/astryx/decode/play.grafana.org.ts
registry item · astryx theme · or query it over MCP: get_design_system("Play")
Export: DESIGN.md
# Play — Design System > dark, modern, medium, custom — deep decode (measured live) ## 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 | **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. ## 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/decode/play.grafana.org
An automated reading of Play's publicly-visible CSS (colors, fonts, spacing, motion) — not affiliated with play.grafana.org. No screenshots stored. Removal requests: hello@mozaika.design.