Grafana DESIGN.md

Brands

Observability-platform design with dark dashboards, strong signal color, and reusable interface logic. Grafana’s Saga system emphasizes accessibility, flexibility, coherence, and patterns that scale across dense…

Raw DESIGN.md

At a glance

Group
Brands
Main color
#f05a28Orange design systems
Fonts
InterRoboto Mono

Colors in this file

  • #f05a28

    background

  • #2f3840

    Unnamed

  • #f4f5f8

    Unnamed

  • #181b1f

    background

  • #1f242a

    background

  • #d44a1a

    Unnamed

  • #ffe8de

    Unnamed

  • #111217

    Unnamed

  • #b6bdc6

    Unnamed

  • #5794f2

    Unnamed

Observability-platform design with dark dashboards, strong signal color, and reusable interface logic. Grafana’s Saga system emphasizes accessibility, flexibility, coherence, and patterns that scale across dense monitoring products.

1. Visual Theme & Atmosphere

Overall Aesthetic

Grafana is about operational signal made usable. The design needs to support dashboards, logs, traces, alerts, and configuration views without losing clarity or becoming visually chaotic.

Mood & Feeling

  • Technical: built for engineers and operators
  • Signal-rich: hierarchy must make important values pop quickly
  • Coherent: reusable patterns matter across many plugins and products
  • Accessible: Saga explicitly includes accessibility as a core principle
  • Flexible: components need to adapt to many contexts

Design Density

Medium-high density. Grafana screens frequently carry charts, filters, tabs, lists, and metrics, so the structure must stay disciplined.

Visual Character

  • Dark theme as a dominant product mood
  • Orange used as a strong but selective brand cue
  • Data-dense panels and compact controls
  • Clear use of semantic status colors for health and severity

2. Color Palette & Roles

Core Brand Colors

TokenHexRole
--grafana-orange#F05A28Signature brand accent
--grafana-orange-dark#D44A1AHover / stronger emphasis
--grafana-orange-soft#FFE8DESoft brand surface

Dark Theme Foundation

TokenHexRole
--dark-1#111217Main background
--dark-2#181B1FSecondary surface
--dark-3#1F242APanel and card surface
--dark-border#2F3840Border and divider
--text-light#F4F5F8Primary text on dark
--text-muted#B6BDC6Secondary text

Semantic / Signal Colors

TokenHexRole
--blue#5794F2Links and chart support
--green#73BF69Healthy / success state
--yellow#FADE2AWarning / degraded state
--red#E24D42Error / critical state

Color Usage Rules

  • Let charts and semantic colors communicate state.
  • Use orange as a brand marker and selective action signal.
  • Keep dark surfaces consistent so data remains readable.

3. Typography Rules

Font Stack

css/* Saga-style product typography */
--font-sans: Inter, 'Helvetica Neue', Arial, sans-serif;
--font-mono: 'Roboto Mono', 'SF Mono', Menlo, monospace;

Type Scale

ElementSizeWeightLine HeightLetter SpacingUsage
Page Title32px7001.15-0.015emDashboard or route title
Section Title24px6001.2-0.01emSection header
Card Title18px6001.30Panel title
Body14px4001.50Standard UI text
Small Body12px4001.450Dense metadata
Label12px5001.30.01emButtons and controls
Code12px4001.450Query, metric, and technical values

Typography Philosophy

Grafana typography should feel compact, readable, and operational. The goal is to make dense data work feel manageable.

Practical Rules

  • Keep panel titles short and literal.
  • Use type hierarchy to distinguish key metrics from supporting labels.
  • Reserve monospace for query, code, and technical identifiers.

4. Component Stylings

Buttons

Primary Button

css.button-primary {
  background: #F05A28;
  color: #FFFFFF;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #F05A28;
  border-radius: 6px;
  font: 500 14px/1 Inter, sans-serif;
}

Secondary Button

css.button-secondary {
  background: #1F242A;
  color: #F4F5F8;
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid #2F3840;
  border-radius: 6px;
}

Inputs

Text Input

css.input {
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  background: #181B1F;
  color: #F4F5F8;
  border: 1px solid #2F3840;
  border-radius: 6px;
  font: 400 14px/1.2 Inter, sans-serif;
}

Dashboard Panels

Panel

css.panel {
  background: #1F242A;
  color: #F4F5F8;
  border: 1px solid #2F3840;
  border-radius: 12px;
  padding: 16px;
}

Metric Card

css.metric-card {
  background: #181B1F;
  border-radius: 12px;
  padding: 16px;
}

5. Layout Principles

Layout Rules

Saga emphasizes reusable templates for common page types such as forms, dashboards, objects, and lists.

TokenValueUsage
--space-14pxFine alignment
--space-28pxTight grouping
--space-416pxCore spacing
--space-524pxSection spacing
button-sm24pxSmall button height
button-md32pxStandard button height
button-lg48pxLarge button height

Layout Guidance

  • Reuse dashboard and form templates before inventing new structures.
  • Keep panel groupings explicit and easy to scan.
  • Use stack and grid primitives to maintain order across varied data content.
  • Match action hierarchy to severity and frequency.

6. Depth & Elevation

Surface Hierarchy

LevelTreatmentUse
Base darkdark application backgroundMain shell
Panelbordered dark cardDashboard or form unit
Metric surfaceinset dark cardFocused metric block
Overlayelevated dark surfaceModal or expanded view

Shadow System

css.shadow-panel {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.shadow-overlay {
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

Depth Rules

  • Use contrast, borders, and spacing before stronger shadow.
  • Keep overlays clearly elevated and focused.
  • Avoid introducing unnecessary visual noise in data-heavy contexts.

7. Do's and Don'ts

Do

  • Use orange as a selective brand cue.
  • Keep dashboards and forms highly structured.
  • Reuse Saga templates and patterns.
  • Use semantic colors to communicate health and severity clearly.
  • Maintain accessibility in dense product surfaces.

Don't

  • Use orange on every major control.
  • Overcrowd dashboards with too many equal-priority panels.
  • Introduce arbitrary component variations across similar screens.
  • Let data-rich views lose hierarchy.

8. Responsive Behavior

Responsive Rules

  • Collapse panel grids into stacks before readability suffers.
  • Preserve readable chart titles, filters, and actions on smaller screens.
  • Use larger button sizes only when emphasis or touch contexts require it.
  • Keep lists and form objects clear when columns collapse.

Mobile Character

Grafana mobile views should still feel operational and coherent. Simplification is expected, but the information architecture and signal clarity must survive.

9. Agent Prompt Guide

Quick Reference

  • Mood: technical, signal-rich, coherent
  • Primary accent: Grafana orange #F05A28
  • Core surfaces: dark dashboards with bordered panels
  • Typography: compact Inter-style UI text
  • Layout: reusable dashboard, form, and object templates

Prompt Snippet

textDesign this interface in the style of Grafana’s Saga design system. Use dark dashboard surfaces, Grafana orange (#F05A28) as a selective brand accent, compact readable typography, and highly reusable page templates for panels, forms, and objects. The result should feel operational, accessible, and coherent in dense monitoring contexts.

Use it with your agent

Save the file as DESIGN.md in your project root, then ask your agent to follow it for UI work. Or let the agent fetch it over MCP.

Download

curl -o DESIGN.md https://www.uiskillbook.com/design-md/grafana.md

MCP server

https://www.uiskillbook.com/mcp

MCP tool call

get_design_md({ "slug": "grafana" })