Briefatto LabBriefatto Lab

DESIGN.md style file

Cloudflare DESIGN.md for your coding agent

This is a free DESIGN.md for the Cloudflare style: its colours, type, corner radii and spacing, extracted from the public site https://www.cloudflare.com in the format coding agents read before visual work. Put it at your project root and run npx briefatto-board install, and Claude Code, Codex, Cursor, Copilot, Gemini CLI or any coding agent follow it when they build UI.

Paste this into Claude Code, Codex, Cursor, Copilot, Gemini CLI or any coding agent. Your agent fetches the file and sets itself up.

prompt
Download https://briefatto.com/guides/cloudflare-design-md/DESIGN.md and save it as DESIGN.md in the project root. Then run `npx briefatto-board install` and follow the Briefatto Board skill for all visual work in this project.

Download DESIGN.mdMarkdown version

Updated www.cloudflare.com4 pages captured

Specimen · tokens.jsonwww.cloudflare.com

display · STK Bureau Sans · 56px / 500

Your product, in this style

body · STK Bureau Sans · 16px / 400

A clear place for your next idea. Explore a thoughtful interface with familiar details.

Get startedLearn more

surface · card 16px · control 33554400px

Aa Bb Cc 0123

The quick brown fox jumps over the lazy dog

  • primary
  • background
  • surface
  • foreground
  • muted
  • border
  • on-primary

7 colours5 type roles2 radii6 spacing steps

Briefatto BoardFree and open source, Apache-2.0

Blind-tested against Impeccable, Taste Skill and Hallmark

Automated tests, green CI

Claude Code, Codex, Cursor, Copilot, Gemini CLI, Windsurf and any agent that reads AGENTS.md

Use it in 30 seconds

Or by hand:

  1. Save the file below as DESIGN.md in your project root. Download DESIGN.md
  2. Run npx briefatto-board install. It adds the skill and a block to AGENTS.md and CLAUDE.md.
  3. Ask your agent for UI. It reads DESIGN.md before visual work, and board check tests what it renders.
shell
npx briefatto-board install
npx briefatto-board check

Colours (7)

Every colour below was read from the rendered pages of https://www.cloudflare.com, 4 pages captured. The line under each shows where it was found.

  • primaryrgb(255, 112, 56)www.cloudflare.com/ at 390×844
  • backgroundrgb(255, 255, 255)www.cloudflare.com/ at 1440×900
  • surfacergb(253, 253, 252)www.cloudflare.com/ at 1440×900
  • foregroundrgb(31, 31, 31)www.cloudflare.com/ at 1440×900
  • mutedoklab(0.268617 0.000012286 0.00000536442 / 0.7)www.cloudflare.com/ at 1440×900
  • borderoklab(0.268617 0.000012286 0.00000536442 / 0.1)www.cloudflare.com/ at 1440×900
  • on-primaryrgb(0, 0, 0)www.cloudflare.com/ at 1440×900

Contrast

  • foreground on background16.48:1AAA
  • on-primary on primary7.63:1AAA

Type, radii and spacing

Type

  • displayThe quick brown fox jumps over the lazy dogSTK Bureau Sans · 56px / 0.99 · 500 · -0.025em · fallback shown
  • headingThe quick brown fox jumps over the lazy dogSTK Bureau Sans · 32px / 1 · 500 · -0.025em · fallback shown
  • bodyThe quick brown fox jumps over the lazy dogSTK Bureau Sans · 16px / 1.2 · 400 · -0.002em · fallback shown
  • actionThe quick brown fox jumps over the lazy dogSTK Bureau Sans · 14px / 1.14 · 400 · -0.02em · fallback shown

Corner radii

  • 33554400pxcontrolwww.cloudflare.com/ at 1440×900
  • 16pxcardwww.cloudflare.com/ at 1440×900

Spacing

  • 4pxxs
  • 8pxsm
  • 16pxmd
  • 24pxlg
  • 32pxxl
  • 72pxsection

A card made from this file

Sample card rendered from the Cloudflare DESIGN.md: its background and text colours, font pairing and corner radius applied to a heading, a paragraph and a button.
A sample card rendered from the tokens in this file.

The full DESIGN.md

Download DESIGN.md164 lines of Markdown

DESIGN.md
---
version: alpha
name: "Cloudflare"
description: "Cloudflare's colours, type, radii, spacing and components as DESIGN.md tokens. Not affiliated with Cloudflare."
colors:
  primary: "rgb(255, 112, 56)"
  background: "rgb(255, 255, 255)"
  surface: "rgb(253, 253, 252)"
  foreground: "rgb(31, 31, 31)"
  muted: "oklab(0.268617 0.000012286 0.00000536442 / 0.7)"
  border: "oklab(0.268617 0.000012286 0.00000536442 / 0.1)"
  on-primary: "rgb(0, 0, 0)"
typography:
  display:
    fontFamily: '"STK Bureau Sans", sans-serif'
    fontSize: 56px
    fontWeight: 500
    lineHeight: 0.99
    letterSpacing: -0.025em
  display-mobile:
    fontFamily: '"STK Bureau Sans", sans-serif'
    fontSize: 40px
    fontWeight: 600
    lineHeight: 0.99
    letterSpacing: -0.025em
  heading:
    fontFamily: '"STK Bureau Sans", sans-serif'
    fontSize: 32px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.025em
  body:
    fontFamily: '"STK Bureau Sans", sans-serif'
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.2
    letterSpacing: -0.002em
  action:
    fontFamily: '"STK Bureau Sans", sans-serif'
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.14
    letterSpacing: -0.02em
rounded:
  control: 33554400px
  card: 16px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 32px
  section: 72px
components:
  primary-button:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    rounded: "{rounded.control}"
  card:
    backgroundColor: "{colors.surface}"
    textColor: "{colors.foreground}"
    rounded: "{rounded.card}"
    padding: "{spacing.lg}"
    typography: "{typography.body}"
  caption:
    textColor: "{colors.muted}"
  separator:
    backgroundColor: "{colors.border}"
---

# Cloudflare DESIGN.md

## Overview

A modern infrastructure site uses clean white surfaces, medium-weight geometric headlines, a vivid orange introductory field, and faint technical grid framing. Dense product information stays quiet and highly structured.

Built from [/](https://www.cloudflare.com/) and [/plans/](https://www.cloudflare.com/plans/), captured on 2026-11-21 UTC at 1440×900 and 390×844. The front matter holds the computed values as portable tokens.

## Colors

| Token | Computed value | Role |
| --- | --- | --- |
| primary | `rgb(255, 112, 56)` | Priority actions and selected emphasis |
| background | `rgb(255, 255, 255)` | Page canvas |
| surface | `rgb(253, 253, 252)` | Panels and cards |
| foreground | `rgb(31, 31, 31)` | Primary text |
| muted | `oklab(0.268617 0.000012286 0.00000536442 / 0.7)` | Supporting text |
| border | `oklab(0.268617 0.000012286 0.00000536442 / 0.1)` | Quiet separators and outlines |
| on-primary | `rgb(0, 0, 0)` | Text on the primary action |

Keep the page ground and text pairing stable. Give the primary color a clear job in actions, selection, or links; use surface changes and thin rules to organize secondary content. Alpha colors retain the captured opacity and must be composited over the intended background.

## Typography

| Role | First family | Size | Weight | Leading | Tracking |
| --- | --- | --- | --- | --- | --- |
| display | "STK Bureau Sans" | 56px | 500 | 0.99 | -0.025em |
| display-mobile | "STK Bureau Sans" | 40px | 600 | 0.99 | -0.025em |
| heading | "STK Bureau Sans" | 32px | 500 | 1 | -0.025em |
| body | "STK Bureau Sans" | 16px | 400 | 1.2 | -0.002em |
| action | "STK Bureau Sans" | 14px | 400 | 1.14 | -0.02em |

Keep display, reading, and action roles distinct. The heading sample is the recurring section role, while display records the first prominent headline. Use the mobile display value at narrow widths; allow natural line wrapping and preserve the reading measure. The display transformation is `none` and its font style is `normal`; preserve these in CSS.

Font loading:

```css
@font-face { font-family: "STK Bureau Sans"; src: url("https://www.cloudflare.com/fonts/STKBureauSans-Book.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "STK Bureau Sans"; src: url("https://www.cloudflare.com/fonts/STKBureauSans-Book-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "STK Bureau Sans"; src: url("https://www.cloudflare.com/fonts/STKBureauSans-Regular.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face{font-family:STK Bureau Sans;src:url("https://www.cloudflare.com/fonts/STKBureauSans-Book.otf")format("opentype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:STK Bureau Sans;src:url("https://www.cloudflare.com/fonts/STKBureauSans-Book-Italic.otf")format("opentype");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:STK Bureau Sans;src:url("https://www.cloudflare.com/fonts/STKBureauSans-Regular.otf")format("opentype");font-weight:500;font-style:normal;font-display:swap}
```

The full fallback stacks are in the front matter.

## Layout

Use a compact header, a broad orange hero, and generous white reading chapters aligned to faint grid lines. Pricing uses a centered introduction, a compact category selector, four comparable desktop plans, and a long factual comparison table; mobile stacks the plans.

Spacing scale: xs 4px, sm 8px, md 16px, lg 24px, xl 32px, section 72px. Use smaller steps within a control and larger steps between content groups.

The sampled header is fixed, 72px high, with 0px left and 0px right padding. The sampled nav is relative, 36px high, with 0px left and 0px right padding.

Measured desktop grid tracks: `453.359px 477.266px 453.375px` with gap `12px`; `399.328px 399.328px 399.344px` with gap `normal`; `746px 160px` with gap `24px 48px`. Build them as a fluid grid. Sampled container maximum widths: `100%`, `1080px`.

At narrow widths, keep the content order, let columns stack, wrap action groups, and give navigation a compact treatment. Recreate the observed desktop and mobile differences, with breakpoints chosen for your layout.

## Elevation & Depth

The sampled surface shadow is `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(255, 255, 255, 0.2) 1px 6px 6px 0px inset, rgba(255, 255, 255, 0.35) 0px 0px 0px 0px inset, rgba(0, 0, 0, 0.02) 0px 4px 12px 0px, rgba(0, 0, 0, 0.02) 0px 0px 0px 0px, rgba(0, 0, 0, 0.03) 0px 2px 12px 0px`. Keep most reading surfaces quiet. Use borders and surface contrast for grouping; reserve stronger depth for floating controls or intentional feature panels.

## Shapes

Controls use `33554400px`; the reusable card treatment uses `16px`. Treat the very large computed control radius as a full-pill strategy, not an element size. Small content panels use a quieter shape, while the large framing grid remains visually open.

## Components

Use pill-like actions, a contrasting white action on the orange hero, compact orange active selectors, and restrained plan panels. Keep fine grid and separator treatments lighter than the text hierarchy.

- **Primary and secondary actions:** use primary/on-primary for the priority action and a surface/foreground or outlined treatment for the supporting action. The sampled action has height 50px, horizontal padding 24px / 24px, and gap 8px. Keep labels short and allow enough hit area for touch.
- **Cards:** group one heading, supporting text, and a clear next step. Preserve the hierarchy and spacing; avoid making every element a nested card.
- **Navigation:** retain the captured information hierarchy and distinguish navigation links from the main call to action. Provide a visible keyboard focus treatment.
- **Forms:** build fields from the action typography, control radius, and separator color. Add persistent labels, useful errors, and clear disabled/focus states.

**Imagery and iconography.** Use original abstract network diagrams, point grids, and restrained technical illustrations. The orange atmosphere can be suggested with original CSS geometry; do not reproduce maps, product screens, or the cloud mark.

**Motion.** Observed CSS transition declarations include `color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to 0.2s`, `color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to 0.3s`, `width, color, background-color, border-color, transform, translate 0.3s`, `border-color, color 0.2s`. Use restrained feedback and respect reduced-motion preferences.

**Voice.** Confident, factual, and explicit about the next step.

## Do's and Don'ts

- Do preserve the palette roles, type hierarchy, and relationship between dense controls and larger section spacing.
- Do keep content readable at both captured widths and provide focus, error, loading, and reduced-motion behavior for any new interface.
- Do use simple geometric placeholders for imagery.
- Don't reproduce the logo, brand illustrations, product screenshots, or marketing text.
- Don't let added decoration compete with the site's defining typography, content rhythm, and action hierarchy.

---

Made with [Briefatto Board](https://github.com/Briefatto/briefatto-board). Run `npx briefatto-board install` and your coding agent reads this file before visual work and checks every piece it renders.

Questions and answers

What is the Cloudflare DESIGN.md?

A style file extracted from the public website of Cloudflare (https://www.cloudflare.com), free to use for your own product.

How do I use it with Claude Code / Cursor?

Save the file as DESIGN.md in your project root and run npx briefatto-board install. That adds a block to AGENTS.md and CLAUDE.md, which Claude Code, Codex, Cursor, Copilot, Gemini CLI and other agents read, telling the agent to read DESIGN.md before any visual work. Run board check on what it renders.

Can I change it to my own brand?

Yes. It is a plain Markdown file: replace the colours, fonts, radii and spacing with your own, or run npx briefatto-board adopt . on your own site and let the agent write yours. Then freeze it with npx briefatto-board freeze . so every session uses the same version.

Where do the values in the Cloudflare file come from?

Each colour, font, radius and spacing value was read from the rendered pages of https://www.cloudflare.com (4 pages captured) on 2026-11-21, and the evidence for each is listed on this page.

One guide. Every agent.

Briefatto Board is free and open source under Apache-2.0. One command adds the skill and the pointer your agent reads.

npx briefatto-board install