Cloudflare Workers Platform — Design Reference
blueprint grid with an orange flare
Source: https://workers.cloudflare.com
Theme: light
Category: Infrastructure
Mood: light, minimal, technical, precise, typographic, airy
Captured: 2026-10-31
Overview
A near-white engineering canvas where everything is drawn with 1px hairlines and almost nothing is filled. Type is the structure: 56px grotesque headlines at 0.99 line-height with -1.4px tracking sit centred in generous whitespace, and the only loud element on the page is a single pill-shaped orange CTA. Dotted construction lines, corner ticks and schematic diagrams run behind the content, giving the page the feel of a technical drawing that happens to be a marketing site.
Technically it is achieved with a restrained monochrome ramp (#ffffff ground, #262626 text, #727272 secondary, #f0f0f0 borders) plus exactly one brand hue, #ff5e1f, used for the primary button, brand marks and one full-bleed orange CTA band. Layout is a 1200px container with cards as 12px-radius white rectangles on #f0f0f0 hairlines, 24px padding, no shadow; buttons are full pills; code and metadata switch to Apercu Mono Pro at 12px. Spacing follows a 4/8px rhythm (8, 12, 16, 24, 32, 40, 80). A dark twin (#151414 ground, #f0e3de text) keeps the same orange and the same geometry.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper White |
#ffffff |
--color-background |
Dominant page ground, nav bar, card fill |
| Bone |
#fdfdfc |
--color-surface-subtle |
Section bands and inline code chips that sit a hair off white |
| Warm Mist |
#f9f7f6 |
--color-surface-tint |
Recessed panels behind diagrams and pricing tables |
| Hairline Grey |
#f0f0f0 |
--color-border |
Every 1px rule: card outlines, table rows, ghost button borders, grid ticks |
| Graphite |
#262626 |
--color-foreground |
Headlines, body copy, nav links, dark CTA band backgrounds |
| Slate Grey |
#727272 |
--color-muted-foreground |
Secondary descriptions, card subtext, footer labels |
| Flare Orange |
#ff5e1f |
--color-primary |
Primary pill CTA fill, active tab, logo cloud, full-bleed closing band |
| Ember Hover |
#ff7038 |
--color-primary-hover |
Hover/lighter state of the orange CTA and gradient edges |
| Schematic Blue |
#0a95ff |
--color-accent |
Diagram selection boxes, Workers labels, isolate glyphs in hero illustration |
| Sky Tint |
#79b8ff |
--color-accent-subtle |
Light fills inside the hero schematic rectangles |
| Cream Glow |
#fffbf5 |
--color-accent-warm |
Warm highlight wash inside the orange CTA band |
| Violet Flag |
#9616ff |
--color-semantic-info |
Rare link/status accent in dense product grids |
Semantic roles
| Role |
Value |
| background |
#ffffff |
| surface |
#fdfdfc |
| surface raised |
#ffffff |
| border |
#f0f0f0 |
| text |
#262626 |
| text muted |
#727272 |
| primary |
#ff5e1f |
| primary text |
#ffffff |
| accent |
#0a95ff |
| success |
#0f9b6c |
| warning |
#ffb224 |
| danger |
#e5484d |
Tokens — Typography
- Display: STK Bureau Sans (400, 500) — fallbacks: Inter, Helvetica Neue, Arial, sans-serif. Primary face for everything: headlines at 500 with heavy negative tracking, body at 400. Never heavier than 500.
- Accent: FT Kunst Grotesk (400, 500) — fallbacks: Inter, Helvetica Neue, sans-serif. Corporate-page variant used on /about and some nav/footer text at the same sizes and tracking as the display face.
- Mono: Apercu Mono Pro (400, 500) — fallbacks: JetBrains Mono, SFMono-Regular, ui-monospace, monospace. Code blocks, terminal snippets, file-tab labels and diagram annotations at 12px.
| Role |
Size |
Line height |
Weight |
Letter spacing |
Family |
| Display / H1 |
56px |
0.99 |
500 |
-0.025em |
display |
| H2 Section |
48px |
1.0 |
500 |
-0.025em |
display |
| H3 |
32px |
1.0 |
500 |
-0.025em |
display |
| Lead |
19px |
1.21 |
400 |
-0.025em |
display |
| Card Title |
18px |
1.2 |
500 |
-0.025em |
display |
| Body |
16px |
1.2 |
400 |
-0.0025em |
display |
| UI / Button |
16px |
1.5 |
500 |
normal |
display |
| Small |
13px |
1.18 |
500 |
normal |
display |
| Mono Caption |
12px |
1.33 |
400 |
normal |
mono |
Tokens — Spacing & Layout
- Base unit: 4px
- Density: airy
- Container max width: 1200px
- Section gap: 80px
- Card padding: 24px
- Scale: 4px, 6px, 8px, 12px, 16px, 20px, 24px, 32px, 40px, 48px, 80px, 128px
Tokens — Radius
| Element |
Value |
| Chips, code tabs, inline tags |
3px |
| Code blocks, small panels |
6px |
| Secondary outline button (Load More) |
8px |
| Cards and feature tiles |
12px |
| Large media / image frames |
16px |
| Buttons, tabs, nav pills |
9999px |
Tokens — Shadows
| Name |
Value |
Usage |
| none |
none |
Default for cards, nav and buttons — depth comes from 1px #f0f0f0 hairlines, not shadow. |
| lifted |
0 4px 12px rgba(0,0,0,0.02), 0 2px 12px rgba(0,0,0,0.03), inset 1px 6px 6px rgba(255,255,255,0.2) |
Floating controls such as the pricing tab group and login pill — barely perceptible lift with an inner white sheen. |
| dropdown |
0 1px 3px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1) |
Nav mega-menu and popover panels. |
Components
Primary CTA (Start building for free) (button)
| Property |
Value |
| background |
#ff5e1f |
| color |
#ffffff |
| border |
1px solid #ff5e1f |
| radius |
9999px |
| padding |
14px 24px (compact variant 6px 12px) |
| font size |
16px |
| font weight |
500 |
| shadow |
none |
| hover |
background #ff7038, no movement |
Only one per viewport. Always a full pill; label is sentence case, never uppercase.
Secondary / ghost button (View docs) (button)
| Property |
Value |
| background |
transparent |
| color |
#262626 |
| border |
1px solid #f0f0f0 |
| radius |
9999px |
| padding |
14px 24px |
| font size |
16px |
| font weight |
500 |
| shadow |
none |
| hover |
border-color #262626 at 20%, background #fdfdfc |
Sits immediately right of the primary with an 8–12px gap; identical height so the pair reads as one control.
Segmented tab pill (button)
| Property |
Value |
| background |
transparent (active: #ff5e1f) |
| color |
#262626 (active: #ffffff) |
| border |
none; group wrapper 1px solid #f0f0f0, radius 9999px |
| radius |
9999px |
| padding |
10px 14px |
| font size |
16px |
| font weight |
500 |
| shadow |
group: 0 4px 12px rgba(0,0,0,0.02) |
| hover |
background #f9f7f6 |
Used for the pricing category switcher; each tab carries a 16px line icon before the label.
Hairline card (card)
| Property |
Value |
| background |
#ffffff |
| color |
#262626 |
| border |
1px solid #f0f0f0 |
| radius |
12px |
| padding |
24px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
border-color #262626, no lift |
~363px wide in a 3-up grid. Pattern: 20px line icon, 8px gap, 18px/500 title, 16px/#727272 description, then a 16px/500 'See solution ↗' link. On grid pages the cards share edges with the dotted construction grid and corner ticks.
Fixed top nav (nav)
| Property |
Value |
| background |
#ffffff |
| color |
#262626 |
| border |
none (page content separated by dotted grid lines) |
| radius |
0 |
| padding |
0 24px; height 72px |
| font size |
16px |
| font weight |
400 |
| shadow |
none |
| hover |
link colour #262626 with caret rotation on open |
Logo left, centred link cluster with chevron disclosure, right cluster of pill 'Login' (1px #f0f0f0 outline), pill 'Contact sales' and a 20px search glyph.
Mono code chip / file tab (badge)
| Property |
Value |
| background |
#fdfdfc |
| color |
#262626 |
| border |
none |
| radius |
6px |
| padding |
4px 8px |
| font size |
12px |
| font weight |
400 |
| shadow |
none |
| hover |
background #f9f7f6 |
Apercu Mono Pro labels for 'npx', 'index.ts', 'Expand all'; also used for diagram annotations in #0a95ff.
Orange closing band (other)
| Property |
Value |
| background |
#ff5e1f with #fffbf5 radial glow at the lower edge |
| color |
#ffffff |
| border |
none |
| radius |
0 |
| padding |
128px 24px |
| font size |
56px headline / 16px body |
| font weight |
500 |
| shadow |
none |
| hover |
n/a |
Full-bleed pre-footer with white outline product icons scattered at low opacity; CTAs invert to a white pill plus a white-outline ghost pill.
Layout
1200px centred container on a white ground. Pages are built as a visible construction grid: dotted vertical rules mark the container edges, 1px #f0f0f0 lines divide rows, and small square corner ticks sit at every grid intersection. Heroes are centred — illustration, 56px headline, 19px lead, then a two-button row — with roughly 80–128px of vertical air before the first content band. Below the fold everything snaps to a 3-column (desktop) hairline grid of cards and link lists; the dense product directory uses 3 columns of icon+label rows grouped under small category headings. Sections alternate white with faint #fdfdfc/#f9f7f6 bands, and the page closes with a full-bleed orange CTA above a tall multi-column footer.
Imagery
Two registers. First, blueprint schematics: thin dashed grey flow lines, dashed-outline boxes, #0a95ff selection handles and mono labels, used to diagram request paths and isolates — they read as a CAD canvas rather than illustration. Second, flat line icons (1.5px stroke, 20–24px) prefixing every card and directory row. Photography is rare and treated editorially: full-width 16px-radius crops (the lava-lamp wall) with saturated colour that contrasts against the otherwise monochrome page. Product diagrams use pale orange/red tints (#ff5e1f at low opacity) for 'Workers' versus grey for legacy.
Motion
Restrained and functional. Nav caret rotates on dropdown; mega-menus fade and slide a few pixels with a soft drop shadow. Buttons change fill from #ff5e1f to #ff7038 with ~150ms ease, no translate or scale. Diagram sections animate on scroll — dashed flow lines draw in, deployment rows flip from 'Updating' to 'Deployed'. Nothing bounces, nothing parallaxes.
Responsive
Below ~900px the centred nav links collapse into a hamburger at the far right; 'Login' stays as a visible pill alongside an enlarged 24px search glyph, and tapping the hamburger swaps it for a boxed close (X) button while a full-width panel pushes down over the page — menu links are large (18–20px) left-aligned rows with chevrons, not a side drawer. The hero stops centring: headline and lead go left-aligned, the headline drops to roughly 40–44px while keeping the -0.025em tracking, and the schematic illustration crops to the left edge so only part of the diagram shows. CTA buttons become full-width stacked pills with ~16px vertical padding and a 12px gap, the primary first. Grids collapse 3→1 column, card padding tightens from 24px to 16px, section gaps shrink from 80px to ~48px, and the dotted construction grid reduces to the two outer container rules plus horizontal dividers.
Do
- Build structure from 1px #f0f0f0 hairlines and dotted grid rules; reach for shadow only on floating menus.
- Keep exactly one #ff5e1f element per screen — the primary CTA — and leave everything else monochrome.
- Set headlines at 500 weight, line-height 0.99–1.0 and -0.025em tracking; let two-line 56px headings do the visual work.
- Pair every primary pill with a hairline-outlined ghost pill of identical height and 8–12px gap.
- Use Apercu Mono Pro at 12px for anything machine-flavoured: file names, commands, diagram labels, metrics.
- Give heroes 80–128px of vertical breathing room and centre the content column at 1200px max width.
Don't
- Don't use drop shadows or gradients to separate cards — borders and background steps only (#ffffff → #fdfdfc → #f9f7f6).
- Don't introduce a second saturated brand colour; #0a95ff belongs to schematic illustration, not UI chrome.
- Don't set headings above 500 weight or add positive letter-spacing — no uppercase tracked labels.
- Don't round buttons to 8–12px; interactive pills are fully rounded while containers stay at 12px.
- Don't fill large areas with orange except the single pre-footer CTA band.
- Don't crowd the grid — keep 24px card padding and 40–80px between sections even on dense directory pages.
Agent prompt
Reproduce a precise, airy developer-infrastructure marketing style: white (#ffffff) ground with faint surface steps #fdfdfc and #f9f7f6, graphite text #262626, secondary text #727272, and every division drawn as a 1px #f0f0f0 hairline plus dotted construction rules with small square corner ticks at grid intersections. One brand colour only: #ff5e1f (hover #ff7038) for the single primary CTA, active tabs, logo and the full-bleed pre-footer band; #0a95ff appears solely inside blueprint-style diagrams. Typography is STK Bureau Sans (fallback Inter) at weights 400/500 — H1/H2 56px/0.99 line-height/-1.4px tracking at 500, H3 48px, sub-head 32px, lead 19px/1.21/-0.48px, body 16px/1.2, UI 16px/500 — with Apercu Mono Pro (fallback JetBrains Mono) at 12px for code chips, file tabs and diagram labels. Layout: 1200px centred container, centred heroes (illustration → 56px headline → 19px lead → pill button pair), 3-up hairline card grids below, 80px section gaps, 128px for the orange closing band. Components: primary button = #ff5e1f fill, white 16px/500 label, radius 9999px, 14px 24px padding, no shadow; secondary = transparent with 1px #f0f0f0 border, same pill and size; cards = #ffffff, 1px #f0f0f0, radius 12px, 24px padding, no shadow, icon + 18px/500 title + 16px #727272 copy + 'See solution ↗' link; fixed 72px white nav with centred chevron links and right-side pill Login / Contact sales / search icon. Spacing on a 4px base (8/12/16/24/32/40/80). Motion limited to colour fades and a 150ms CTA hover. Provide a dark twin: background #151414, elevated #191817/#2a2927, text #f0e3de, muted #9a9390, same #ff5e1f brand.
CSS custom properties
/* Cloudflare Workers Platform — CSS custom properties. Generated from style.json */
:root {
/* Palette */
--color-background: #ffffff; /* Dominant page ground, nav bar, card fill */
--color-surface-subtle: #fdfdfc; /* Section bands and inline code chips that sit a hair off white */
--color-surface-tint: #f9f7f6; /* Recessed panels behind diagrams and pricing tables */
--color-border: #f0f0f0; /* Every 1px rule: card outlines, table rows, ghost button borders, grid ticks */
--color-foreground: #262626; /* Headlines, body copy, nav links, dark CTA band backgrounds */
--color-muted-foreground: #727272; /* Secondary descriptions, card subtext, footer labels */
--color-primary: #ff5e1f; /* Primary pill CTA fill, active tab, logo cloud, full-bleed closing band */
--color-primary-hover: #ff7038; /* Hover/lighter state of the orange CTA and gradient edges */
--color-accent: #0a95ff; /* Diagram selection boxes, Workers labels, isolate glyphs in hero illustration */
--color-accent-subtle: #79b8ff; /* Light fills inside the hero schematic rectangles */
--color-accent-warm: #fffbf5; /* Warm highlight wash inside the orange CTA band */
--color-semantic-info: #9616ff; /* Rare link/status accent in dense product grids */
/* Semantic roles */
--background: #ffffff;
--surface: #fdfdfc;
--surface-raised: #ffffff;
--border: #f0f0f0;
--text: #262626;
--text-muted: #727272;
--primary: #ff5e1f;
--primary-text: #ffffff;
--accent: #0a95ff;
--success: #0f9b6c;
--warning: #ffb224;
--danger: #e5484d;
/* Typography */
--font-display: 'STK Bureau Sans', Inter, 'Helvetica Neue', Arial, sans-serif;
--font-accent: 'FT Kunst Grotesk', Inter, 'Helvetica Neue', sans-serif;
--font-mono: 'Apercu Mono Pro', 'JetBrains Mono', SFMono-Regular, ui-monospace, monospace;
--text-display-h1: 56px;
--text-display-h1--line-height: 0.99;
--text-display-h1--letter-spacing: -0.025em;
--text-display-h1--font-weight: 500;
--text-h2-section: 48px;
--text-h2-section--line-height: 1.0;
--text-h2-section--letter-spacing: -0.025em;
--text-h2-section--font-weight: 500;
--text-h3: 32px;
--text-h3--line-height: 1.0;
--text-h3--letter-spacing: -0.025em;
--text-h3--font-weight: 500;
--text-lead: 19px;
--text-lead--line-height: 1.21;
--text-lead--letter-spacing: -0.025em;
--text-lead--font-weight: 400;
--text-card-title: 18px;
--text-card-title--line-height: 1.2;
--text-card-title--letter-spacing: -0.025em;
--text-card-title--font-weight: 500;
--text-body: 16px;
--text-body--line-height: 1.2;
--text-body--letter-spacing: -0.0025em;
--text-body--font-weight: 400;
--text-ui-button: 16px;
--text-ui-button--line-height: 1.5;
--text-ui-button--letter-spacing: normal;
--text-ui-button--font-weight: 500;
--text-small: 13px;
--text-small--line-height: 1.18;
--text-small--letter-spacing: normal;
--text-small--font-weight: 500;
--text-mono-caption: 12px;
--text-mono-caption--line-height: 1.33;
--text-mono-caption--letter-spacing: normal;
--text-mono-caption--font-weight: 400;
/* Spacing */
--space-1: 4px;
--space-2: 6px;
--space-3: 8px;
--space-4: 12px;
--space-5: 16px;
--space-6: 20px;
--space-7: 24px;
--space-8: 32px;
--space-9: 40px;
--space-10: 48px;
--space-11: 80px;
--space-12: 128px;
--container: 1200px;
--section-gap: 80px;
/* Radius */
--radius-chips-code-tabs-inline-tags: 3px;
--radius-code-blocks-small-panels: 6px;
--radius-secondary-outline-button-load-more: 8px;
--radius-cards-and-feature-tiles: 12px;
--radius-large-media-image-frames: 16px;
--radius-buttons-tabs-nav-pills: 9999px;
/* Shadows */
--shadow-none: none;
--shadow-lifted: 0 4px 12px rgba(0,0,0,0.02), 0 2px 12px rgba(0,0,0,0.03), inset 1px 6px 6px rgba(255,255,255,0.2);
--shadow-dropdown: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
}
Tailwind v4 theme
/* Cloudflare Workers Platform — Tailwind CSS v4 theme. Import after tailwindcss: @import "tailwindcss"; then paste this block. */
@theme {
--color-background: #ffffff;
--color-surface-subtle: #fdfdfc;
--color-surface-tint: #f9f7f6;
--color-border: #f0f0f0;
--color-foreground: #262626;
--color-muted-foreground: #727272;
--color-primary: #ff5e1f;
--color-primary-hover: #ff7038;
--color-accent: #0a95ff;
--color-accent-subtle: #79b8ff;
--color-accent-warm: #fffbf5;
--color-semantic-info: #9616ff;
--color-background: #ffffff;
--color-surface: #fdfdfc;
--color-surface-raised: #ffffff;
--color-border: #f0f0f0;
--color-text: #262626;
--color-text-muted: #727272;
--color-primary: #ff5e1f;
--color-primary-text: #ffffff;
--color-accent: #0a95ff;
--color-success: #0f9b6c;
--color-warning: #ffb224;
--color-danger: #e5484d;
--font-display: 'STK Bureau Sans', Inter, 'Helvetica Neue', Arial, sans-serif;
--font-accent: 'FT Kunst Grotesk', Inter, 'Helvetica Neue', sans-serif;
--font-mono: 'Apercu Mono Pro', 'JetBrains Mono', SFMono-Regular, ui-monospace, monospace;
--text-display-h1: 56px;
--text-display-h1--line-height: 0.99;
--text-display-h1--letter-spacing: -0.025em;
--text-display-h1--font-weight: 500;
--text-h2-section: 48px;
--text-h2-section--line-height: 1.0;
--text-h2-section--letter-spacing: -0.025em;
--text-h2-section--font-weight: 500;
--text-h3: 32px;
--text-h3--line-height: 1.0;
--text-h3--letter-spacing: -0.025em;
--text-h3--font-weight: 500;
--text-lead: 19px;
--text-lead--line-height: 1.21;
--text-lead--letter-spacing: -0.025em;
--text-lead--font-weight: 400;
--text-card-title: 18px;
--text-card-title--line-height: 1.2;
--text-card-title--letter-spacing: -0.025em;
--text-card-title--font-weight: 500;
--text-body: 16px;
--text-body--line-height: 1.2;
--text-body--letter-spacing: -0.0025em;
--text-body--font-weight: 400;
--text-ui-button: 16px;
--text-ui-button--line-height: 1.5;
--text-ui-button--letter-spacing: normal;
--text-ui-button--font-weight: 500;
--text-small: 13px;
--text-small--line-height: 1.18;
--text-small--letter-spacing: normal;
--text-small--font-weight: 500;
--text-mono-caption: 12px;
--text-mono-caption--line-height: 1.33;
--text-mono-caption--letter-spacing: normal;
--text-mono-caption--font-weight: 400;
--radius-chips-code-tabs-inline-tags: 3px;
--radius-code-blocks-small-panels: 6px;
--radius-secondary-outline-button-load-more: 8px;
--radius-cards-and-feature-tiles: 12px;
--radius-large-media-image-frames: 16px;
--radius-buttons-tabs-nav-pills: 9999px;
--shadow-none: none;
--shadow-lifted: 0 4px 12px rgba(0,0,0,0.02), 0 2px 12px rgba(0,0,0,0.03), inset 1px 6px 6px rgba(255,255,255,0.2);
--shadow-dropdown: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
--container-site: 1200px;
}
Theme tokens — light + dark
The shadcn-named layer DevDojo Sites speaks (bg-background, text-foreground, bg-primary, rounded-medium…). Paste into site.css after @import "tailwindcss" to restyle any site in this look.
/* Cloudflare Workers Platform — DevDojo theme tokens (light + dark). Generated from style.json. */
/* Drop into site.css after @import "tailwindcss": bg-background, text-foreground, bg-primary, border-border, rounded-medium… all read these. Both schemes come from the site. */
@custom-variant dark (&:where(.dark, .dark *));
:root {
color-scheme: light;
--background: #ffffff;
--foreground: #262626;
--card: #ffffff;
--card-foreground: #262626;
--popover: #ffffff; /* estimated */
--popover-foreground: #262626;
--primary: #ff5e1f;
--primary-foreground: #ffffff;
--secondary: #f9f7f6;
--secondary-foreground: #262626;
--muted: #fdfdfc;
--muted-foreground: #727272;
--accent: #fffbf5;
--accent-foreground: #ff5315;
--destructive: #e5484d; /* estimated */
--destructive-foreground: #ffffff; /* estimated */
--border: #f0f0f0;
--input: #f0f0f0;
--ring: #262626; /* estimated */
--radius-small: 6px;
--radius-medium: 8px;
--radius-large: 12px;
--radius: var(--radius-medium);
--font-display: 'STK Bureau Sans', Inter, 'Helvetica Neue', Arial, sans-serif;
--font-mono: 'Apercu Mono Pro', 'JetBrains Mono', SFMono-Regular, ui-monospace, monospace;
}
.dark {
color-scheme: dark;
--background: #151414;
--foreground: #f0e3de;
--card: #191817;
--card-foreground: #f0e3de;
--popover: #191817; /* estimated */
--popover-foreground: #f0e3de;
--primary: #ff5e1f;
--primary-foreground: #ffffff;
--secondary: #2a2927;
--secondary-foreground: #f0e3de;
--muted: #191817;
--muted-foreground: #9a9390;
--accent: #1a1209;
--accent-foreground: #ff7038;
--destructive: #ff6b6b; /* estimated */
--destructive-foreground: #151414; /* estimated */
--border: #2a2927;
--input: #2a2927;
--ring: #f0e3de; /* estimated */
}
@theme inline {
--color-background: var(--background);
--color-foreground: var(--foreground);
--color-card: var(--card);
--color-card-foreground: var(--card-foreground);
--color-popover: var(--popover);
--color-popover-foreground: var(--popover-foreground);
--color-primary: var(--primary);
--color-primary-foreground: var(--primary-foreground);
--color-secondary: var(--secondary);
--color-secondary-foreground: var(--secondary-foreground);
--color-muted: var(--muted);
--color-muted-foreground: var(--muted-foreground);
--color-accent: var(--accent);
--color-accent-foreground: var(--accent-foreground);
--color-destructive: var(--destructive);
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
--radius-small: var(--radius-small);
--radius-medium: var(--radius-medium);
--radius-large: var(--radius-large);
--font-display: var(--font-display);
--font-mono: var(--font-mono);
}
Cloudflare Workers Platform — Style Reference
blueprint grid with an orange flare
Theme: light · Mood: light, minimal, technical, precise, typographic, airy
A near-white engineering canvas where everything is drawn with 1px hairlines and almost nothing is filled. Type is the structure: 56px grotesque headlines at 0.99 line-height with -1.4px tracking sit centred in generous whitespace, and the only loud element on the page is a single pill-shaped orange CTA. Dotted construction lines, corner ticks and schematic diagrams run behind the content, giving the page the feel of a technical drawing that happens to be a marketing site.
Tokens — Colors
| Name |
Value |
Token |
Role |
| Paper White |
#ffffff |
--background |
Dominant page ground, nav bar, card fill |
| Bone |
#fdfdfc |
--surface-subtle |
Section bands and inline code chips that sit a hair off white |
| Warm Mist |
#f9f7f6 |
--surface-tint |
Recessed panels behind diagrams and pricing tables |
| Hairline Grey |
#f0f0f0 |
--border |
Every 1px rule: card outlines, table rows, ghost button borders, grid ticks |
| Graphite |
#262626 |
--foreground |
Headlines, body copy, nav links, dark CTA band backgrounds |
| Slate Grey |
#727272 |
--muted-foreground |
Secondary descriptions, card subtext, footer labels |
| Flare Orange |
#ff5e1f |
--primary |
Primary pill CTA fill, active tab, logo cloud, full-bleed closing band |
| Ember Hover |
#ff7038 |
--primary-hover |
Hover/lighter state of the orange CTA and gradient edges |
| Schematic Blue |
#0a95ff |
--accent |
Diagram selection boxes, Workers labels, isolate glyphs in hero illustration |
| Sky Tint |
#79b8ff |
--accent-subtle |
Light fills inside the hero schematic rectangles |
| Cream Glow |
#fffbf5 |
--accent-warm |
Warm highlight wash inside the orange CTA band |
| Violet Flag |
#9616ff |
--semantic-info |
Rare link/status accent in dense product grids |
Tokens — Typography
- Display: STK Bureau Sans (Inter, Helvetica Neue, Arial, sans-serif) — weights 400/500
- Accent: FT Kunst Grotesk (Inter, Helvetica Neue, sans-serif) — weights 400/500
- Mono: Apercu Mono Pro (JetBrains Mono, SFMono-Regular, ui-monospace, monospace) — weights 400/500
Tokens — Radius
| Element |
Value |
| Chips, code tabs, inline tags |
3px |
| Code blocks, small panels |
6px |
| Secondary outline button (Load More) |
8px |
| Cards and feature tiles |
12px |
| Large media / image frames |
16px |
| Buttons, tabs, nav pills |
9999px |
Do
- Build structure from 1px #f0f0f0 hairlines and dotted grid rules; reach for shadow only on floating menus.
- Keep exactly one #ff5e1f element per screen — the primary CTA — and leave everything else monochrome.
- Set headlines at 500 weight, line-height 0.99–1.0 and -0.025em tracking; let two-line 56px headings do the visual work.
- Pair every primary pill with a hairline-outlined ghost pill of identical height and 8–12px gap.
- Use Apercu Mono Pro at 12px for anything machine-flavoured: file names, commands, diagram labels, metrics.
- Give heroes 80–128px of vertical breathing room and centre the content column at 1200px max width.
Don't
- Don't use drop shadows or gradients to separate cards — borders and background steps only (#ffffff → #fdfdfc → #f9f7f6).
- Don't introduce a second saturated brand colour; #0a95ff belongs to schematic illustration, not UI chrome.
- Don't set headings above 500 weight or add positive letter-spacing — no uppercase tracked labels.
- Don't round buttons to 8–12px; interactive pills are fully rounded while containers stay at 12px.
- Don't fill large areas with orange except the single pre-footer CTA band.
- Don't crowd the grid — keep 24px card padding and 40–80px between sections even on dense directory pages.
{
"$name": "Cloudflare Workers Platform",
"$source": "https://workers.cloudflare.com",
"$theme": "light",
"$generated": "inspiration library",
"color": {
"background": {
"$type": "color",
"$value": "#ffffff",
"$description": "Dominant page ground, nav bar, card fill"
},
"surface-subtle": {
"$type": "color",
"$value": "#fdfdfc",
"$description": "Section bands and inline code chips that sit a hair off white"
},
"surface-tint": {
"$type": "color",
"$value": "#f9f7f6",
"$description": "Recessed panels behind diagrams and pricing tables"
},
"border": {
"$type": "color",
"$value": "#f0f0f0",
"$description": "Every 1px rule: card outlines, table rows, ghost button borders, grid ticks"
},
"foreground": {
"$type": "color",
"$value": "#262626",
"$description": "Headlines, body copy, nav links, dark CTA band backgrounds"
},
"muted-foreground": {
"$type": "color",
"$value": "#727272",
"$description": "Secondary descriptions, card subtext, footer labels"
},
"primary": {
"$type": "color",
"$value": "#ff5e1f",
"$description": "Primary pill CTA fill, active tab, logo cloud, full-bleed closing band"
},
"primary-hover": {
"$type": "color",
"$value": "#ff7038",
"$description": "Hover/lighter state of the orange CTA and gradient edges"
},
"accent": {
"$type": "color",
"$value": "#0a95ff",
"$description": "Diagram selection boxes, Workers labels, isolate glyphs in hero illustration"
},
"accent-subtle": {
"$type": "color",
"$value": "#79b8ff",
"$description": "Light fills inside the hero schematic rectangles"
},
"accent-warm": {
"$type": "color",
"$value": "#fffbf5",
"$description": "Warm highlight wash inside the orange CTA band"
},
"semantic-info": {
"$type": "color",
"$value": "#9616ff",
"$description": "Rare link/status accent in dense product grids"
}
},
"role": {
"background": {
"$type": "color",
"$value": "#ffffff"
},
"surface": {
"$type": "color",
"$value": "#fdfdfc"
},
"surface_raised": {
"$type": "color",
"$value": "#ffffff"
},
"border": {
"$type": "color",
"$value": "#f0f0f0"
},
"text": {
"$type": "color",
"$value": "#262626"
},
"text_muted": {
"$type": "color",
"$value": "#727272"
},
"primary": {
"$type": "color",
"$value": "#ff5e1f"
},
"primary_text": {
"$type": "color",
"$value": "#ffffff"
},
"accent": {
"$type": "color",
"$value": "#0a95ff"
},
"success": {
"$type": "color",
"$value": "#0f9b6c"
},
"warning": {
"$type": "color",
"$value": "#ffb224"
},
"danger": {
"$type": "color",
"$value": "#e5484d"
}
},
"fontFamily": {
"display": {
"$type": "fontFamily",
"$value": [
"STK Bureau Sans",
"Inter",
"Helvetica Neue",
"Arial",
"sans-serif"
],
"$description": "Primary face for everything: headlines at 500 with heavy negative tracking, body at 400. Never heavier than 500."
},
"accent": {
"$type": "fontFamily",
"$value": [
"FT Kunst Grotesk",
"Inter",
"Helvetica Neue",
"sans-serif"
],
"$description": "Corporate-page variant used on /about and some nav/footer text at the same sizes and tracking as the display face."
},
"mono": {
"$type": "fontFamily",
"$value": [
"Apercu Mono Pro",
"JetBrains Mono",
"SFMono-Regular",
"ui-monospace",
"monospace"
],
"$description": "Code blocks, terminal snippets, file-tab labels and diagram annotations at 12px."
}
},
"typography": {
"display-h1": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "56px",
"lineHeight": "0.99",
"fontWeight": 500,
"letterSpacing": "-0.025em"
}
},
"h2-section": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "48px",
"lineHeight": "1.0",
"fontWeight": 500,
"letterSpacing": "-0.025em"
}
},
"h3": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "32px",
"lineHeight": "1.0",
"fontWeight": 500,
"letterSpacing": "-0.025em"
}
},
"lead": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "19px",
"lineHeight": "1.21",
"fontWeight": 400,
"letterSpacing": "-0.025em"
}
},
"card-title": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "18px",
"lineHeight": "1.2",
"fontWeight": 500,
"letterSpacing": "-0.025em"
}
},
"body": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "16px",
"lineHeight": "1.2",
"fontWeight": 400,
"letterSpacing": "-0.0025em"
}
},
"ui-button": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "16px",
"lineHeight": "1.5",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"small": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.display}",
"fontSize": "13px",
"lineHeight": "1.18",
"fontWeight": 500,
"letterSpacing": "normal"
}
},
"mono-caption": {
"$type": "typography",
"$value": {
"fontFamily": "{fontFamily.mono}",
"fontSize": "12px",
"lineHeight": "1.33",
"fontWeight": 400,
"letterSpacing": "normal"
}
}
},
"spacing": {
"1": {
"$type": "dimension",
"$value": "4px"
},
"2": {
"$type": "dimension",
"$value": "6px"
},
"3": {
"$type": "dimension",
"$value": "8px"
},
"4": {
"$type": "dimension",
"$value": "12px"
},
"5": {
"$type": "dimension",
"$value": "16px"
},
"6": {
"$type": "dimension",
"$value": "20px"
},
"7": {
"$type": "dimension",
"$value": "24px"
},
"8": {
"$type": "dimension",
"$value": "32px"
},
"9": {
"$type": "dimension",
"$value": "40px"
},
"10": {
"$type": "dimension",
"$value": "48px"
},
"11": {
"$type": "dimension",
"$value": "80px"
},
"12": {
"$type": "dimension",
"$value": "128px"
}
},
"radius": {
"chips-code-tabs-inline-tags": {
"$type": "dimension",
"$value": "3px"
},
"code-blocks-small-panels": {
"$type": "dimension",
"$value": "6px"
},
"secondary-outline-button-load-more": {
"$type": "dimension",
"$value": "8px"
},
"cards-and-feature-tiles": {
"$type": "dimension",
"$value": "12px"
},
"large-media-image-frames": {
"$type": "dimension",
"$value": "16px"
},
"buttons-tabs-nav-pills": {
"$type": "dimension",
"$value": "9999px"
}
},
"shadow": {
"none": {
"$type": "shadow",
"$value": "none",
"$description": "Default for cards, nav and buttons — depth comes from 1px #f0f0f0 hairlines, not shadow."
},
"lifted": {
"$type": "shadow",
"$value": "0 4px 12px rgba(0,0,0,0.02), 0 2px 12px rgba(0,0,0,0.03), inset 1px 6px 6px rgba(255,255,255,0.2)",
"$description": "Floating controls such as the pricing tab group and login pill — barely perceptible lift with an inner white sheen."
},
"dropdown": {
"$type": "shadow",
"$value": "0 1px 3px rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",
"$description": "Nav mega-menu and popover panels."
}
},
"component": {
"primary-cta-start-building-for-free": {
"kind": "button",
"background": "#ff5e1f",
"color": "#ffffff",
"border": "1px solid #ff5e1f",
"radius": "9999px",
"padding": "14px 24px (compact variant 6px 12px)",
"font_size": "16px",
"font_weight": 500,
"shadow": "none",
"hover": "background #ff7038, no movement",
"notes": "Only one per viewport. Always a full pill; label is sentence case, never uppercase."
},
"secondary-ghost-button-view-docs": {
"kind": "button",
"background": "transparent",
"color": "#262626",
"border": "1px solid #f0f0f0",
"radius": "9999px",
"padding": "14px 24px",
"font_size": "16px",
"font_weight": 500,
"shadow": "none",
"hover": "border-color #262626 at 20%, background #fdfdfc",
"notes": "Sits immediately right of the primary with an 8–12px gap; identical height so the pair reads as one control."
},
"segmented-tab-pill": {
"kind": "button",
"background": "transparent (active: #ff5e1f)",
"color": "#262626 (active: #ffffff)",
"border": "none; group wrapper 1px solid #f0f0f0, radius 9999px",
"radius": "9999px",
"padding": "10px 14px",
"font_size": "16px",
"font_weight": 500,
"shadow": "group: 0 4px 12px rgba(0,0,0,0.02)",
"hover": "background #f9f7f6",
"notes": "Used for the pricing category switcher; each tab carries a 16px line icon before the label."
},
"hairline-card": {
"kind": "card",
"background": "#ffffff",
"color": "#262626",
"border": "1px solid #f0f0f0",
"radius": "12px",
"padding": "24px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "border-color #262626, no lift",
"notes": "~363px wide in a 3-up grid. Pattern: 20px line icon, 8px gap, 18px/500 title, 16px/#727272 description, then a 16px/500 'See solution ↗' link. On grid pages the cards share edges with the dotted construction grid and corner ticks."
},
"fixed-top-nav": {
"kind": "nav",
"background": "#ffffff",
"color": "#262626",
"border": "none (page content separated by dotted grid lines)",
"radius": "0",
"padding": "0 24px; height 72px",
"font_size": "16px",
"font_weight": 400,
"shadow": "none",
"hover": "link colour #262626 with caret rotation on open",
"notes": "Logo left, centred link cluster with chevron disclosure, right cluster of pill 'Login' (1px #f0f0f0 outline), pill 'Contact sales' and a 20px search glyph."
},
"mono-code-chip-file-tab": {
"kind": "badge",
"background": "#fdfdfc",
"color": "#262626",
"border": "none",
"radius": "6px",
"padding": "4px 8px",
"font_size": "12px",
"font_weight": 400,
"shadow": "none",
"hover": "background #f9f7f6",
"notes": "Apercu Mono Pro labels for 'npx', 'index.ts', 'Expand all'; also used for diagram annotations in #0a95ff."
},
"orange-closing-band": {
"kind": "other",
"background": "#ff5e1f with #fffbf5 radial glow at the lower edge",
"color": "#ffffff",
"border": "none",
"radius": "0",
"padding": "128px 24px",
"font_size": "56px headline / 16px body",
"font_weight": 500,
"shadow": "none",
"hover": "n/a",
"notes": "Full-bleed pre-footer with white outline product icons scattered at low opacity; CTAs invert to a white pill plus a white-outline ghost pill."
}
}
}