Backend, Database & DevOps Light theme No. 053 / 134

PlanetScale

Serverless database. Plain-text manual look, single 16px monospace size, ASCII diagrams

#fafafa #f35815 20 colors 8 type styles 2px radius
planetscale/design Light theme
PlanetScale ProductCompanyPricing Get started
Backend, Database & DevOps
Infrastructure, made legible.

Serverless database. Plain-text manual look, single 16px monospace size, ASCII diagrams

Start building Documentation
Type specimenTitle
Aa
ui-monospace16px
#f35815 20 color tokens 8 type styles 2px radius
01

Color

Palette & roles.

20 tokens extracted from the file. Ratios shown against the light canvas.

Aa 3.2:1
Primary #f35815 Brand · primary
Aa 1.0:1
On Primary #ffffff Text · on-primary
Aa 1.0:1
Canvas #fafafa Surface · canvas
Aa 9.8:1
Ink #414141 Text · ink
Aa 20.1:1
Ink Contrast #000000 Text · ink-contrast
Aa 4.5:1
Ink Muted #737373 Text · ink-muted
Aa 1.7:1
Hairline #c1c1c1 Border · hairline
Aa 9.8:1
Rule #414141 Border · rule
Aa 3.7:1
Field Line #818181 Token · field-line
Aa 1.0:1
Surface White #ffffff Surface · surface-white
Aa 1.1:1
Surface Soft #ebebeb Surface · surface-soft
Aa 1.2:1
Surface Track #e9e9e9 Surface · surface-track
Aa 18.1:1
Surface Black #111111 Surface · surface-black
Aa 5.0:1
Link #0b6ec5 Text · link
Aa 1.1:1
Link Soft #ddf2ff Text · link-soft
Aa 1.0:1
Note Soft #f3fbff Token · note-soft
Aa 2.9:1
Selected Line #1e9de7 Token · selected-line
Aa 1.5:1
Announcement #fbca00 Semantic · announcement
Aa 1.4:1
Highlight #fed54a Token · highlight
Aa 4.5:1
Success #13862e Semantic · success
02

Typography

The type ramp.

Families, sizes, weights and tracking exactly as specified. Local faces fall back to the closest system stack.

ui-monospaceLocal
Title ui-monospace · 16px · 700 / 1.5 · 0

Clarity at every scale.

Body ui-monospace · 16px · 400 / 1.5 · 0

The quick brown fox jumps over the lazy dog.

Body Strong ui-monospace · 16px · 600 / 1.5 · 0

The quick brown fox jumps over the lazy dog.

Medium ui-monospace · 16px · 500 / 1.5 · 0

The quick brown fox jumps over the lazy dog.

Button ui-monospace · 16px · 600 / 1 · 0

The quick brown fox jumps over the lazy dog.

Button Lg ui-monospace · 16px · 600 / 1.5 · 0

The quick brown fox jumps over the lazy dog.

Field ui-monospace · 16px · 400 / 1.38 · 0

The quick brown fox jumps over the lazy dog.

Diagram ui-monospace · 16px · 500 / 1.25 · 0

The quick brown fox jumps over the lazy dog.

03

Shape & space

Radii & rhythm.

The geometry and spacing scale that give the system its physical feel.

Corner radii

None0px
Xs2px

Spacing scale

4px Xxs
8px Xs
16px Sm
24px Md
48px Lg
96px Xl
04

The source

Read the file.

The complete DESIGN.md behind PlanetScale, rendered for reading — or copy the raw Markdown for your agent.

Download

Overview#

PlanetScale hosts databases, and its site reads like the manual page of one. Every character on it is the system monospace at 16px on a 24px line. There is no larger headline, no hero, no illustration and no photograph. Hierarchy is made with weight (400 to 700), with color, and with the marks a text file allows: asterisks for lists, pipes between links, rows of periods between sections, a vertical bar in the margin beside the page title. The architecture drawing of Vitess is made of box-drawing characters.

The page is an off-white sheet ({colors.canvas}) with a 96px margin, and text runs the full 1088px of the remaining measure, as it would in a terminal. Boxes are outlined once in the text color ({colors.rule}), square, and share edges: the customer wall is literally a table of 85 cells. A double frame marks the total, a dashed one the footer. Colored fills appear as text runs, a word set in reverse, a yellow marker, a pale blue arrow, more often than as areas.

Four colors have jobs. {colors.primary} orange is for getting in touch, {colors.link} blue for everything clickable in text and for chosen options, {colors.announcement} yellow for news, {colors.success} green for engines and prices. They arrive at full strength and without tints, because the ground is so plain.

Key Characteristics:

  • One monospace family, one size, one line height.
  • Text marks instead of graphics: *, |, ...., box drawing.
  • One-pixel square boxes that share edges.
  • Links in blue without underline; titles with one.
  • Orange, blue, yellow and green, each with one task.
  • A pricing calculator built from plain form controls.
  • Page rhythm: yellow strip → piped navigation → barred title and paragraphs → logo table → tabs with ASCII diagram → underlined sections divided by dots → dashed footer.

Colors#

Brand & Accent#

  • Orange ({colors.primary} — #f35815): "Get in touch", "Submit", the sandbox frame, the title bar, "NEW", required asterisks.
  • On Primary ({colors.on-primary} — #ffffff): labels on orange and on reversed runs.
  • Yellow ({colors.announcement} — #fbca00): the strip at the top.
  • Highlight ({colors.highlight} — #fed54a): the marker behind "Includes 3 nodes".

Surface#

  • Canvas ({colors.canvas} — #fafafa): every page and box.
  • White ({colors.surface-white} — #ffffff): inputs, the chosen contact option.
  • Soft ({colors.surface-soft} — #ebebeb): total bar, code, idle segment, table total.
  • Track ({colors.surface-track} — #e9e9e9): slider rail.
  • Black ({colors.surface-black} — #111111): open product tab, the "Learn more" run.
  • Link Soft ({colors.link-soft} — #ddf2ff): arrow runs after case studies.
  • Note Soft ({colors.note-soft} — #f3fbff): the Enterprise note.
  • Rule ({colors.rule} — #414141): all box lines, the same grey as text.
  • Field Line ({colors.field-line} — #818181): selects and the message field on contact.
  • Hairline ({colors.hairline} — #c1c1c1): pipes and underlines of titles.

Text#

  • Ink ({colors.ink} — #414141): copy, navigation, labels.
  • Contrast ({colors.ink-contrast} — #000000): titles, diagram, code.
  • Muted ({colors.ink-muted} — #737373): attributions, hints, copyright.
  • Link ({colors.link} — #0b6ec5): inline links, disclosures, chosen radios, slider fill, active segment, the agent callout's frame.

Semantic#

  • Success ({colors.success} — #13862e): "Vitess" and "Postgres" beside case studies, prices.
  • Selected Line ({colors.selected-line} — #1e9de7): 2px frame of the chosen contact option.

Typography#

Font Family#

The system monospace stack, ui-monospace (SF Mono, Menlo, Consolas by platform), for everything.

Hierarchy#

TokenSizeWeightLine HeightLetter SpacingUse
{typography.title}16px7001.50"The world's fastest and most scalable…", section heads
{typography.body}16px4001.50Copy, links, footer
{typography.body-strong}16px6001.50Navigation, radio names, tabs
{typography.medium}16px5001.50Engine names, segments, "NEW"
{typography.button}16px60010"View sandbox", "Get in touch"
{typography.button-lg}16px6001.50"Get started", "Submit"
{typography.field}16px4001.380Inputs and selects
{typography.diagram}16px5001.250VTGate drawing

Principles#

All eight roles are 16px. 700 is for titles, and black instead of grey doubles the effect; 600 is for things with names (navigation, options, buttons); 500 for values; 400 for reading. Line height is 24px except in buttons (1), fields (22px) and the diagram (20px, so that vertical strokes meet). Sections are announced by a bold word with a thin underline, never by size. Nothing is uppercase, italic or tracked. Long lines are accepted, because the measure belongs to the text and not to a column grid.

Note on Font Substitutes#

The stack resolves to the platform's own monospace. Where one face must be shipped, IBM Plex Mono or JetBrains Mono at 400–700 keeps the proportions.

Layout#

Spacing System#

  • Base unit: 8px; the 24px line is the vertical module.
  • Tokens: {spacing.xxs} 4px · {spacing.xs} 8px · {spacing.sm} 16px · {spacing.md} 24px · {spacing.lg} 48px · {spacing.xl} 96px.
  • Uses: page gutter {spacing.xl}; boxes pad {spacing.md}; paragraphs stand one line ({spacing.md}) apart; dotted rules have {spacing.lg} on both sides; buttons pad {spacing.xs} or {spacing.sm}; colored runs {spacing.xxs}.

Grid & Container#

A single 1088px column between 96px margins; the logo mark hangs in the left margin. The logo wall is five columns of 219px. The calculator is 752px with a 288px column of notes, 48px apart. Contact and Enterprise boxes split in half at 545px, the footer in five. Case studies give 160px to a logo and the rest to text.

Whitespace Philosophy#

Blank lines, as in a text file. One line separates paragraphs, two surround a rule, and no element is given room for effect.

Responsive Strategy#

Breakpoints#

NameWidthKey Changes
Desktop≥ 1280pxFull navigation, five-column logos
Laptop1024–1279pxPricing notes drop below the calculator
Phone≤ 640pxTwo-column logos, single-column forms, menu

Touch Targets#

Logo cells are 109px, tabs 56px, inputs and selects 42px, large buttons 40px, navigation buttons 32px, radios 24px rows, text links one 24px line.

Collapsing Strategy#

Tables lose columns and keep their lines. Boxes that shared an edge stack and still share it. The ASCII diagram scrolls sideways instead of scaling.

Image Behavior#

Logos are shown in their own colors, centered in their cells. A single product chart appears as a screenshot, unframed, with a caption indented below.

Elevation & Depth#

LevelTreatmentUse
0Text on canvasMost of every page
11px {colors.rule}Tables, panels, inputs
21px with an inner second frameTotal bar
32px {colors.selected-line} on whiteChosen contact option

Decorative Depth#

None. Dropdown selects carry a 0 1px 2px shadow at 5%, barely visible. Dashed and double frames, taken from text-mode interfaces, do what elevation does elsewhere.

Shapes#

Border Radius Scale#

TokenValueUse
{rounded.none}0pxEverything
{rounded.xs}2px"NEW" badge

Photography Geometry#

No photographs. The round planet mark is the only circle on the site.

Components#

Buttons#

button-primary — "Get in touch" in the navigation.

  • {colors.primary} block, {colors.on-primary} label in {typography.button}, square, padding 0 8px, 132×32px, no border. The outlined "View sandbox" and the plain "Sign in" stand left of it.

button-primary-lg — "Get started" in the total bar, "Submit" on contact.

  • {colors.primary} fill, {colors.on-primary} label, square corners. The same block with {typography.button-lg}, padding 0 16px, 40px tall; "Submit" is stretched to half the form, 519px.

button-outline — "View sandbox", left of the primary.

  • 2px {colors.primary} frame, no fill, {colors.ink} label in {typography.button}, 136×32px, padding 0 8px. The label is not orange, only the frame, so the pair keeps one solid block.

button-announcement — "Learn more" in the yellow strip.

  • Square corners. A {colors.surface-black} text run, {colors.on-primary} in {typography.body-strong}, padding 0 4px, 19px tall, like selected text. The strip has no other control and cannot be closed.

button-disclosure — "+ Show advanced options".

  • {colors.link} in {typography.body-strong} with a plus character, no underline, 24px tall; "▶ Connect to pricing database" is the grey version with a triangle.

button-arrow — "→" closing each case study.

  • Label in {typography.body}, square corners. A {colors.link-soft} run with a {colors.link} arrow, padding 0 4px, 18×19px, sitting in the sentence.

button-copy — beside code.

  • {colors.surface-soft} square, 1px {colors.rule}, 34px, a small copy icon, at the block's upper right, {colors.ink} icon, padding 8px; the block's right padding of 64px keeps text away from it.

Cards & Containers#

logo-grid — 85 customers in five columns: a 1088px table in 1px {colors.rule}, from Square and Cash App to Mixedbread, {colors.canvas} fill, square corners. It replaces the marquee other sites use and takes two screens.

logo-cell — 219×109px, a full-color logo centered; cells that lead to a case study are links and look the same. No cell is larger than another.

  • {colors.canvas} fill, {colors.link} text in {typography.body}, square corners.

tab-panel — the box under the product tabs.

  • 1px {colors.rule}, padding 24px, {colors.canvas} fill, {colors.ink} text in {typography.body}, square corners, 1088px wide; two paragraphs, the ascii-diagram, a quote-block. The open tab joins it without a line between them.

callout-blue — "You and your agent can query Vitess, Neki, and Postgres cluster pricing using SQL".

  • 1px {colors.link}, padding 24px, 1088×146px, no fill, {colors.ink} text in {typography.body}, square corners; a blue file name and a disclosure line inside. Blue frames speak to readers who bring tools.

calculator — the pricing form.

  • {colors.canvas} fill, {colors.ink} text in {typography.body}, square corners. One 752px frame in 1px {colors.rule}, its sections stacked without gaps, 1,881px tall, beside an unframed column that explains each engine in plain paragraphs.

calculator-section — "Region", "Database engine", "Cluster type", "Storage".

  • {colors.canvas} fill, {colors.ink} text, square corners, 750px wide. Padding 24px, 1px {colors.rule} below; underlined {typography.title}, a {colors.ink-muted} hint, then the controls.

total-bar — the calculator's last row.

  • {colors.surface-soft} inside a double frame (1px, 2px gap, 1px), padding 24px, 95px, {colors.ink} text, square corners, 752px wide; button-primary-lg at the left, "Estimated monthly total:" in {typography.body-strong} and the sum in {colors.success} at the right.

resource-table — "Includes 3 nodes / CPU / Memory".

  • {colors.canvas} fill, {colors.ink} text, square corners, 513px wide. Rows in {typography.body} without lines, a bold total row on {colors.surface-soft} under a 1px rule. Column heads are {colors.ink-muted} and numbers align right.

feature-table — "Database expertise", "Migration assistance", "Custom pricing".

  • {colors.canvas} fill, {colors.ink} text, square corners, 1088px wide. Two 545px columns of cells with shared lines, padding 24px, {typography.title} and one or two lines of {typography.body}, a blank line apart; no icons.

note-panel — "Have questions about Enterprise options, plan features, or pricing?".

  • {colors.note-soft}, 1px {colors.rule}, padding 24px, 288×170px, {typography.body-strong} in black and a blue "Get in touch", {colors.ink-contrast} text, square corners.

choice-card — "Open a support ticket".

  • 1px {colors.rule}, padding 20px 24px, 545×146px, an empty radio-square, text faded to about 70%, {colors.canvas} fill, {colors.ink} text in {typography.body-strong}. The two cards share an edge like a split control.

choice-card-active — "Talk to an expert".

  • {colors.ink} text in {typography.body-strong}, square corners, padding 20px 24px, 146px tall, 545px wide. The same on {colors.surface-white} with a 2px {colors.selected-line} frame that overlaps its neighbor, a filled radio and full-strength text.

case-row — "Cash App: Scaling to 400TiB and 4 million QPS on PlanetScale".

  • {colors.canvas} fill, {colors.ink-contrast} text, square corners. A logo, a black {typography.title} with a thin underline, the engine in {colors.success} {typography.medium}, one sentence and button-arrow; dotted-rule between rows.

code-block — connection commands.

  • {colors.surface-soft}, padding 16px 64px 16px 16px, {typography.medium} in {colors.ink-contrast}, button-copy, square corners, 80px tall. It sits in the text column like a paragraph and is the only tinted box there.

form-panel — the contact form.

  • 1px {colors.rule}, padding 24px, 1088×856px, names and company in two columns, the rest full width, {colors.canvas} fill, {colors.ink} text in {typography.title}, square corners; labels, hints and fields follow each other on the 24px line, with the legal sentence before "Submit".

Inputs & Forms#

text-input — "First name", "Work email".

  • {colors.surface-white}, 1px {colors.rule}, square, padding 8px 12px, 42px, {colors.ink} text in {typography.field}; a {typography.title} label above with an orange asterisk, placeholder "e.g. 500GB" in muted grey.

select-input — "Select an option", "AWS us-east-1".

  • {colors.surface-white} fill, {colors.ink} text in {typography.field}, square corners, padding 8px 12px, 42px tall. The same shell with a thin chevron; on contact its line is {colors.field-line}.

size-select — "PS-5 1/16 vCPU · 512 MB memory · 10 GB storage".

  • 513×42px, padding 6px 8px, led by badge-size, the price in green far right on the same line, {colors.surface-white} fill, {colors.ink} text in {typography.field}, square corners.

textarea-input — "What would you like to discuss?".

  • 1038×128px, 1px {colors.field-line}, a hint in {colors.ink-muted} between label and field, {colors.surface-white} fill, {colors.ink} text in {typography.field}, square corners, padding 8px 12px.

radio-square — a 16px square outline; chosen, it holds a 8px {colors.link} square, {colors.canvas} fill. Name in {typography.body-strong}, hint below in {colors.ink-muted}. The text of an option wraps under its name, not under the square.

range-slider — "Storage", "Egress bandwidth".

  • Square corners, 317px wide. A 12px {colors.surface-track} rail, {colors.link} up to the thumb, a white 16×40px rectangle with a dark line as thumb, and a 96px text-input with "GB" beside it.

segment — "aarch64 (10)".

  • {colors.surface-soft} run, {typography.medium}, padding 0 8px, 24px. segment-active — "x86-64 (10)", {colors.ink} text, square corners: {colors.link} with white text; runs touch without a gap.

announcement-bar — "Neki, sharded Postgres, is now available.".

  • {colors.announcement}, 40px, centered {typography.medium} in {colors.surface-black} and button-announcement, square corners. It is the only colored band of the site and runs the full width, above the header.

top-nav — 96px tall: the round mark hanging in the margin, "Platform▾ | Resources▾ | Blog | Documentation | Pricing | Migrate" in {typography.body-strong} with {colors.hairline} pipes, then "Sign in", button-outline, button-primary, {colors.canvas} fill, {colors.ink} text, square corners. No line below, no change on scroll; arrows are the ▾ character.

product-tab — "Neki", "Postgres".

  • 362×56px cells joined to the panel, centered {typography.body-strong}, 1px {colors.rule}. product-tab-active — "Vitess" reversed, {colors.ink} text, square corners, padding 16px 0: {colors.surface-black} with {colors.canvas} text.

footer-grid — a 1px dashed frame, dash 12px, split into "Company", "Product", "Resources", "Courses", "Open source" and a legal row; underlined {typography.title} heads, plain links, copyright in {colors.ink-muted}, {colors.canvas} fill, {colors.ink} text in {typography.body}, square corners, padding 24px, 1088px wide.

footer-links — "GitHub | X | LinkedIn | YouTube | Discord | Facebook" under the frame, piped in {colors.hairline}, in {typography.body}; the last line of every page, {colors.ink} text.

Signature Components#

page-title — "The world's fastest and most scalable cloud databases".

  • {typography.title} in {colors.ink-contrast} with a 2px {colors.primary} bar 16px to its left, outside the text margin, 24px tall.

section-heading — "Performance", "Uptime", "Cost".

  • {typography.title} in {colors.ink-contrast} with a {colors.hairline} underline as long as the word. On home it is also a link to itself.

text-link — {colors.link} in {typography.body}, no underline; dense in lists, where half of each line can be blue. It is the main navigation of the long pages. Weight stays normal, so only the hue marks it.

quote-block — "We chose PlanetScale to host our most demanding Vitess and Postgres workloads".

  • {colors.ink} text in {typography.body}. A 2px grey bar at the left, 12px away from the text, an attribution below in {colors.ink-muted} that starts with a dash.

ascii-diagram — VTGate, three Primaries and six Replicas in box-drawing characters, {typography.diagram} in {colors.ink-contrast}, 889×552px; a dithered fill for the gate, double lines for primaries, dashed connectors with solid triangles, {colors.canvas} fill, square corners, padding 16px.

bullet-list — asterisks in {colors.ink} hanging one character out, items in {typography.body}; bold lead words where an item names a feature. A second line hangs under the first word, never under the asterisk.

dotted-rule — a full line of periods in {colors.rule}, 48px above and below, between sections and case studies, text in {typography.body}. The dots run the full width of the text column and take the place of every section gap.

badge-new — "NEW" beside "Neki".

  • {colors.primary}, {rounded.xs}, padding 0 4px, 24px, white {typography.medium}, {colors.on-primary} text; the only rounded corner. It follows a product's name inside the text line.

badge-size — "PS-5" in the size select.

  • {colors.rule} fill, white {typography.medium}, padding 2px 8px, 28px, {colors.surface-white} text, square corners. It opens the option and repeats in the selected value.

mark-highlight — "Includes 3 nodes".

  • {colors.highlight} run behind {colors.ink-contrast} text, padding 0 4px, 19px, like a marker pen, text in {typography.title}, square corners. It is used for a single fact per block and never for links.

Do's and Don'ts#

Do#

  • Set everything at 16px on a 24px line and change only weight and color.
  • Separate sections with dotted-rule and list items with asterisks.
  • Let boxes share 1px {colors.rule} edges.
  • Use {colors.link} for links and chosen options, {colors.primary} for contact.
  • Reverse text instead of adding a chip or button shape.
  • Draw architecture in box characters.
  • Hang the title bar and the mark in the margin.
  • Underline section titles with a 1px {colors.hairline} line and keep them at body size.
  • Draw the footer as a table with dashed lines (footer-grid).
  • Quote customers as a ruled paragraph (quote-block) with the name on its own line in {colors.ink-muted}.

Don't#

  • Don't enlarge headings.
  • Don't round corners, cast shadows or tint sections.
  • Don't underline links; underlines belong to titles.
  • Don't use icons where a character exists.
  • Don't mix a second typeface in.
  • Don't give {colors.announcement} to anything but news.
  • Don't color logos grey; logo-cell keeps each mark's own color.
  • Don't use {colors.primary} as text.