# Grafana DESIGN.md

> Public preview. The complete DESIGN.md source (all 109 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

Grafana Labs' marketing system (the "gmui" token layer) pairs Poppins display headlines with Inter UI text, an electric blue action color set against the signature Grafana orange, soft pastel-rainbow gradient heroes, large 24px-radius pastel cards, and a complete 50–950 gray scale.

- Website: https://grafana.com
- Primary color: Indigo `#1B55F5`
- Fonts: Inter, Poppins
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/grafana

## Palette preview

- `error`: `#c72f07`
- `outline`: `#d8d8df`
- `primary`: `#1b55f5`
- `surface`: `#ffffff`
- `tertiary`: `#3fc6eb`
- `secondary`: `#ff671d`
- `on-primary`: `#ffffff`
- `on-surface`: `#000000`

## Typography preview

- `body-lg`: Inter
- `title-lg`: Poppins

---

## Overview

Grafana Labs' site is a friendly, open-source-flavored counterpoint to the stereotypically dark observability UI: bright white canvases, a soft **pastel rainbow hero gradient** (`#F7BFA3 → #E6B3E6 → #A3D8F7 → #7BE7E7`), big rounded 24px pastel cards, and a saturated electric-blue action color. The personality is optimistic and community-driven — "Built on open source. Driven by community." — aimed at engineers but deliberately approachable, with customer logo walls, event cards, and dashboard screenshots floating on white space.

The token layer (`--gmui-*` custom properties) is a mature semantic system: full 50–950 ramps for gray, blue, orange, green, purple, amber and red, mapped to surface/text/border roles with light and `.dark` scopes. Poppins does display duty; Inter does everything else.

## Colors

- **Action Blue `#1B55F5` (primary, `blue-600`):** All primary CTAs — "Sign up", "Get started free", "Start free" — plus links and selected states. Hover/active steps down to `#1440E1` (`blue-700`, also used as the button's 1px bottom-edge border).
- **Grafana Orange `#FF671D` (secondary, `orange-500`):** The brand mark and warm accent — logo, AI sparkle glyphs, announcement dot, the "Built on open source" band. Darker steps `#F04306`/`#C72F07` serve hover and error-adjacent roles.
- **Gray ramp:** `gray-50 #F9F9FA` → `gray-100 #F4F4F6` (page tint, secondary buttons) → `gray-200 #E6E6EA` / `gray-300 #D8D8DF` (borders) → `gray-600 #67677E` (muted text/nav) → `gray-800 #454554` (body) → `gray-900 #2E2E38` → `gray-950 #17171C` (dark buttons, dark cards, footer).
- **Pastel tints:** blue `#EAF0FF`/`#D1E3F7`, orange `#FFE8DD`, purple `#F9E8FF`, green `#D1F0E1`/`#D0E5C2` — the signature card fills that give the site its candy-colored warmth.
- **Accent pops:** `#FBE136` yellow and `#3FC6EB` cyan appear in illustrations and the rainbow gradient.
- **Text:** near-black `#000000` headlines, `#454554` body, `#67677E` secondary.

## Typography

Two families: **Poppins** (loaded at 500/600) for all display and heading work, **Inter** (400–700, with a tuned "Inter Fallback") for UI, body, nav, and buttons.

- **Display:** Poppins 60px/600 at 1.25 line-height, −0.025em tracking ("AI for observability. Observability for AI.")
- **Headlines:** Poppins 600 across 48/36/30/24px, all ~1.13–1.25 line-height; large sizes carry −0.025em tracking.
- **Body:** Inter 16–18px/400 at 1.5 line-height in `#454554`.
- **UI labels:** Inter 14px/500–600 for buttons and nav; a compact 13px/500 cut with −0.01em tracking for dense menus.
- Headings are pure black — the system never uses colored or weighted-gradient headlines.

## Layout

Centered **1280px** containers on a 4px-base spacing scale (8/12/16/20/32/64/96). Heroes are single-column centered stacks; feature sections alternate text and product screenshots in two-column rows. Marketing sections breathe — 64–96px vertical padding — while pricing uses three equal rounded cards on a `gray-100` wash. The nav is a slim 44–78px bar with left logo, center dropdowns, right utilities.

## Elevation & Depth

Depth is gentle and modern: components carry a **ring shadow** — `0 0 0 1px oklab(0 0 0 / 0.05)` plus a soft `0 1px 3px rgba(0,0,0,0.1)` — rather than borders or heavy drops. Elevated CTAs get a whisper `0 1px 2px rgba(0,0,0,0.05)`. The one flourish is the orange brand glow (`rgba(255,141,54,0.4)` blur) behind hero artwork. Dashboard screenshots provide "real" depth via their own dark UI.

## Shapes

Generously rounded: **8px** on buttons and inputs, **24px** (`rounded-xxl`) on feature/event/pricing cards — the defining shape signature — **12–16px** on menus and mid-size containers, and fully-rounded pills for tag chips, notification dots, and the "Ask AI" prompt icons. Nothing is sharp-cornered except full-width color bands.

## Motion & Micro-interaction

- **State changes** (button fills, link hovers) are quick — ~100–150ms ease transitions on color/background.
- **Logo marquees** scroll continuously via a `marquee` keyframe (`translateX(-100% - gap)`, linear, infinite) that pauses on hover and disables under `prefers-reduced-motion`.
- Announcement bar and "Ask AI" afford subtle entrance fades; the rainbow gradient itself is static.
- Honored restraint: `prefers-reduced-motion` kills the marquee and non-essential animation.

## Voice & Content Strategy

- **Tone:** Plainspoken, clever, triadic — "See clearly. Act faster. Spend smarter.", "Send more, charge more is broken. We are changing it.", "Plug in, not lock in." Confident slogans built from short parallel clauses.
- **Capitalization:** Sentence case everywhere — headlines, buttons ("Get started free", "Compare plans"), and nav. No ALL-CAPS shouting.
- **CTA grammar:** Outcome verb phrases — "Get started free", "Start free", "Sign up", "Compare plans", "Contact us". Secondary links use "Learn more →" with an arrow.
- **Terminology:** "Grafana Cloud" for the product, "Free Forever plan" for the tier; observability vocabulary ("telemetry", "silos", "full-stack") kept concrete.

## Components

- **Button — primary (`button-primary`):** `#1B55F5` fill, white 16–18px/600 label, 8px radius, 12px/20px padding (44–48px tall), hairline `#1440E1` border and a 5% ring shadow. Hover → `#1440E1`.
- **Button — secondary (`button-secondary`):** `gray-100` fill with `gray-900` text, same geometry — the quiet sibling ("Compare plans").
- **Button — dark (`button-dark`):** `gray-950` fill, `gray-50` text — used for "Contact us" on pricing cards.
- **Button — link (`button-link`):** borderless blue text with a trailing arrow; the lowest-emphasis action.
- **Input (`input-default`):** white field, 1px `gray-300` border, 8px radius, 12px padding, 50px tall, Inter 16px — plus the rounded "Ask AI" variant with a sparkle glyph.
- **Feature card (`card-feature`):** 24px radius, pastel tint fills (blue/orange/purple/green), black text — used for events, reports, and case-study tiles.
- **Dark card (`card-dark`):** `gray-950` fill, 24px radius, light text — for video/demo promos.
- **Nav (`nav-link`):** Inter 13–14px/500 `gray-600` items with dropdown carets; logo is the orange Grafana swirl + "Grafana Labs".
- **Chip (`chip-tag`):** `gray-100` pill/rounded tag ("Always free", "Self-serve", "Full service") labeling pricing tiers.

## Do's and Don'ts

- Do use Poppins 600 with negative tracking for display and headings; keep Inter for everything at 18px and below.
- Do make the primary CTA electric blue `#1B55F5` — never orange; the orange is brand/illustration only.
- Do round cards to 24px and fill them with the pastel tint palette; mix tints across a card row for the rainbow feel.
- Don't use heavy drop shadows — the 1px ring shadow plus soft 1px/3px drop is the entire elevation model.
- Do keep headlines in sentence case and pure black; resist uppercase, gradients, or colored display text.
- Don't place light text on the pastel tints — they are light-mode surfaces for black copy only.
- Do alternate white and `gray-100` section backgrounds; reserve `gray-950` bands for demo/dashboard showcases.
- Do pause marquees on hover and honor `prefers-reduced-motion`.
