Relay Hub.
An honest open-source control room after dark, where one glowing hub sends work out along dashed lines. Neutral graphite surfaces with hairline borders, heavy Onest headlines that end in a yellow pulse dot, and Martian Mono labels. Filled violet buttons carry the main action. The signature moves are a dashed relay diagram around a glowing violet hub, app windows with status pill tables, and a hairline supporter wall with one lit yellow tile.
Use it with Claude Code or Codex
Download the kit into your project, then paste this prompt. Fill in the last line. New to this? See how it works.
Build my page in the Relay Hub style. Read DESIGN.md first and follow it exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows. The example pages (demo.html, pricing.html, blog.html, signup.html) show the style on landing, pricing, blog post, and sign up. My page: [describe what you're building, who it's for and the sections you need]
Colors
Click a hex to copy it.
Fonts
All free on Google Fonts.
How the Relay Hub style works
From the kit's DESIGN.md, the file your AI reads first. What is DESIGN.md?
An honest open-source control room after dark. The page is neutral graphite, never blue, with hairline borders doing the structure. Headlines are heavy, friendly and short, and each one ends in a small yellow pulse dot. The main action is always a filled violet button. Proof comes from the product itself: app windows with status pill tables, a terminal snippet, and the signature relay diagram where one glowing violet hub sends work out along dashed lines to many places. It feels plain spoken, useful and a little nerdy, like software made by people who run it themselves.
Use it for: open-source and community software, co-ops, nonprofits, lending and sharing services, local operations tools, booking and logistics for small networks, anything that wants to show "one hub, many places" and earn trust by showing the real screen. Avoid it for: luxury, fashion, kids, wellness, editorial magazines, anything that leans on photography or wants a soft warm mood.
Read the full style guide: fonts, color, type scale, components and page recipes
How to use this file
Give this file, tokens.css and components.css to your AI coding tool and say:
Build [your page] in the Relay Hub style. Follow DESIGN.md exactly. Use the tokens in tokens.css and the classes in components.css; don't invent new colors, fonts, radii or shadows.
demo.html (a landing page), pricing.html, blog.html and signup.html are complete example pages built only with the kit, for an invented open-source app for community tool libraries called Lendwell.
Fonts
All free on Google Fonts:
<link href="https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700&family=Martian+Mono:wght@400;500&display=swap" rel="stylesheet">
| Role | Font | Use |
|---|---|---|
| Headlines | Onest 700 | Display, h1, h2, prices, window titles, supporter names. Tight tracking (-0.03em), sentence case. |
| Body and UI | Onest 400 to 600 | Body at 400, buttons and labels at 500, h3 and table names at 600. |
| Labels and code | Martian Mono 400 | Eyebrows, table heads, node titles, dates, version lines, step numbers and code. Uppercase with 0.04em tracking for labels, normal case for code. 10 to 13px. |
Color
| Token | Hex | Role |
|---|---|---|
--rh-void |
#0C0C0D | The page and input fills |
--rh-slab |
#151516 | Windows, cards, plans, panels, nodes |
--rh-slab-2 |
#1C1C1E | Table heads, active sidebar rows, hover |
--rh-line |
#27272A | Every hairline |
--rh-line-2 |
#3A3A3E | Input and ghost button borders, the dashes |
--rh-chalk |
#F3F3F1 | Headlines and strong text |
--rh-mute |
#A1A1A8 | Leads and body |
--rh-dim |
#66666D | Meta, captions, placeholders, eyebrows |
--rh-violet |
#7B45F5 | Filled buttons, the hub, the featured plan, checked inputs, focus |
--rh-pulse |
#F4D23C | The pulse dot, the spark on the relay line, one lit wall tile, step numbers |
--rh-go / --rh-stop |
#3CCF85 / #EF5468 | Status pills, LEDs, checks and errors only |
Rules: - Violet is for doing things (buttons, the hub, focus). Yellow is for being alive (dots, sparks). Never swap them, and never fill a whole section with either. - One yellow pulse dot per headline, on the final period. Not on every heading in a long article: section h2s only. - Green, yellow and red appear only inside status pills, LEDs and meters, always as a soft wash with a colored dot.
Type scale
| Token | Size | Use |
|---|---|---|
--rh-text-display |
clamp(42px, 6vw, 80px) | Landing hero, centered, two lines |
--rh-text-h1 |
clamp(36px, 4.6vw, 60px) | Page titles, CTA titles |
--rh-text-h2 |
clamp(28px, 3.2vw, 40px) | Section headings |
--rh-text-h3 |
19px | Card, plan and step titles, weight 600 |
--rh-text-lead |
18px | Mute lead, max 600px |
--rh-text-body |
16px | Body |
--rh-text-micro |
11px | Mono labels |
Headlines are plain verbs and nouns ("Push your shelf. Lendwell does the rest."), never clever wordplay, never uppercase.
Shape and space
- Radius: 8px for buttons, inputs and nodes, 14px for windows, cards, plans and the CTA, 6px for table pills and kbd, full pills for status and the announcement chip.
- Borders: 1px
--rh-lineeverywhere. Ghost buttons and inputs use--rh-line-2. Grids like the supporter wall use a 1px gap on a--rh-linebackground so they read as one sheet. - Depth: one big soft shadow under app windows only. Glow belongs to the hub, the featured plan and the yellow dots. Nothing else glows.
- The relay diagram:
.rh-relaywith a.rh-node--source(with a.rh-sparkinside), a.rh-node--hub, and a.rh-relay__outholding 2 to 4.rh-nodes, each with a.rh-ledand a.rh-meterof 8 bars. On phones it stacks into a vertical line by itself. - Layout: 1120px container with 32px gutters (16px on phones), 680px for articles. Sections 96px apart. Heroes and section heads are centered; splits and FAQs are two columns.
Components (in components.css)
| Class | What it is |
|---|---|
.rh |
Put on <body>: graphite page, Onest, clipped sideways overflow |
.rh-container, .rh-narrow, .rh-section, --tight, .rh-center, .rh-rule |
Layout |
.rh-display, .rh-h1, .rh-h2, .rh-h3, .rh-lead, .rh-eyebrow, .rh-mono, .rh-dim, .rh-chalk, .rh-small, .rh-kbd |
Type |
.rh-dot |
Wrap the final period of a headline: <span class="rh-dot">.</span> |
.rh-btn, --primary, --sm, --lg, --block, .rh-link, .rh-actions |
Ghost and violet buttons with an optional 16px icon, underlined link |
.rh-nav, __inner, __links, __end, __meta, .rh-wordmark, __mark |
Sticky blurred nav; the mark is a violet square ring holding a yellow dot |
.rh-hero, .rh-chip, .rh-proof |
Centered hero, announcement chip with a pulse dot, small proof line |
.rh-window, __bar, __body, __side, __main, __head |
App window with breadcrumb bar and sidebar (sidebar hides on phones) |
.rh-table-wrap, .rh-table, .rh-pill, --go, --wait, --stop, --plain, .rh-caption |
Hairline tables and status pills |
.rh-relay, .rh-node, --source, --hub, .rh-spark, .rh-relay__out, .rh-led, --busy, .rh-meter |
The signature relay diagram |
.rh-head, .rh-grid, --2, --3, .rh-card, __icon |
Centered section head and feature cards with a boxed line icon |
.rh-wall, __tile, --lit, --empty, __name, __meta, .rh-logos |
Hairline supporter wall with one yellow tile |
.rh-steps, .rh-split, .rh-code |
Numbered steps with yellow mono numbers, two-column split, terminal snippet (b command, em yellow bullet, i comment) |
.rh-toggle, .rh-plans, .rh-plan, --hub, __top, __price, .rh-compare, .rh-yes, .rh-no, .rh-faq |
Pricing |
.rh-article-head, .rh-crumbs, .rh-byline, .rh-avatar, .rh-prose, .rh-callout, .rh-figure, .rh-quote |
Article |
.rh-form, .rh-field, .rh-label, .rh-hint, .rh-input, --error, .rh-error, .rh-select, .rh-row-2, .rh-check, .rh-choice, .rh-divider, .rh-panel |
Forms |
.rh-cta, .rh-footer, __grid, __base |
CTA card with a violet glow rising from the bottom, and the footer |
Pages in this kit
demo.html: nav, centered hero with chip, two buttons and proof line, an app window with a status table, the relay diagram, six feature cards, a self-host split with steps and a terminal, the supporter wall, CTA, footer.pricing.html: centered title with a monthly or yearly toggle, three plans with the middle one glowing violet, a compare table, FAQ.blog.html: crumbs, h1 with a pulse dot, byline, tag pills, prose with a table figure, a list, a pull quote and a callout, then a CTA.signup.html: two columns: the pitch with steps and a one-line install on the left, a form panel on the right with a choice row, checkboxes and an error state.
Page recipe
.rh-navwith the wordmark, four or five quiet links, and one small violet button on the right.- A centered
.rh-hero:.rh-chip,.rh-displayending in.rh-dot, a lead, one violet and one ghost button, a.rh-proofline. - Show the real product next: a
.rh-windowwith a status table and a.rh-captionunder it. - The
.rh-relaydiagram to explain how it works, under a centered.rh-head. - Cards, a split with
.rh-stepsand.rh-code, and the.rh-wallif there are supporters or partners. - Finish with a
.rh-ctaand the.rh-footer.
Pricing recipe: centered head with .rh-toggle, .rh-plans with exactly one .rh-plan--hub, a pill on every plan, a .rh-caption about where the money goes, a .rh-compare table, then a two-column FAQ.
Article recipe: .rh-narrow column, .rh-crumbs, .rh-h1 with a pulse dot, a lead, .rh-byline, tag pills; in the prose use h2s without dots, yellow-dot bullets, one .rh-figure that shows a real screen or table, one .rh-quote and one .rh-callout.
Sign-up recipe: two columns that stack on phones; the left side sells with .rh-steps and an escape hatch (self-host), the right is a .rh-panel form with a .rh-choice row, .rh-checks, one violet block button, a .rh-divider and a ghost alternative.
Don'ts
- Don't tint the graphite blue or purple. The surfaces stay neutral.
- Don't put a gradient on buttons or text. Violet is flat.
- Don't use yellow for buttons or violet for dots.
- Don't round windows more than 14px or use pill-shaped buttons.
- Don't add stock photos or illustrations. Show the product, the diagram and the terminal.
- Don't drop the dashes in the relay for solid lines, and don't add more than one hub.
- No em dashes in copy.
The reference
The site this style was studied from. The kit uses its own colors, content and code.
Similar styles
Plain-spoken and useful, with handwritten notes pointing at the good bits.
A friendly cream page with an outlined mascot that rolls into navy through layered waves.
A friendly community notebook: white and sage bands, heavy serif headlines and typewriter notes signed by real people.
Plain, warm, open-source dark: bold headlines and big charcoal tiles full of things drawn in code.