# Turso DESIGN.md

> Public preview. The complete DESIGN.md source (all 81 design tokens, spacing, components and frontmatter) requires DesignMD Pro: https://www.designmdpro.app/pricing

A deep-ink dark theme for Turso's SQLite-at-scale platform: extra-bold Inter headlines with one mint-green accent phrase, pill CTAs in bright mint, hairline slate-bordered cards and code windows, and syntax accents in magenta and sky — developer-infrastructure polish with a generous, spacious rhythm.

- Website: https://turso.tech
- Primary color: Green `#4FF8D2`
- Fonts: Inter, GeistMono
- Version: 1.0.0
- Details: https://www.designmdpro.app/websites/turso

## Palette preview

- `primary`: `#4ff8d2`
- `surface`: `#0d1318`
- `tertiary`: `#e879f9`
- `secondary`: `#7dd3fc`
- `on-primary`: `#000000`
- `on-surface`: `#ffffff`
- `inverse-surface`: `#4ff8d2`
- `surface-container`: `#152029`

## Typography preview

- `body-lg`: Inter
- `code-md`: GeistMono

---

## Overview

Turso sells a radical proposition — "Millions of Databases. One Architecture." — and dresses it in a confident, ink-dark interface. The background is a blue-black `#0d1318` rather than pure black; panels lift to `#152029` slate and every edge is ruled with `#283945` hairlines. A single luminous mint `#4ff8d2` carries all brand energy: the second line of every hero headline, pill CTAs, the announcement bar, toggle states, price figures, and link accents. Syntax highlighting contributes a secondary palette — magenta `#e879f9` and sky `#7dd3fc` — that occasionally escapes the code window (the "Contribute" card wears a magenta top edge).

The personality is technically credible but friendly: extra-bold 60px headlines with tight tracking, small semi-bold UI text, code samples in framed editor windows with file tabs (setup.ts, per-agent.ts), a logo strip of agent-era customers, and generous 56px section spacing. Cards are rounded 12–16px; actions are always pills. The overall impression is a modern dev-tool dark mode that's warmer and more spacious than the stark black of Neon or Vercel.

## Colors

- **Mint — primary `#4ff8d2`:** The brand accent. Headline emphasis spans, solid CTAs ("Try Cloud free", "Start for free now"), the announcement bar fill, active toggles, plan prices, category labels, and link accents. Always paired with black text when used as a fill — the mint is bright enough that dark ink reads cleanly on it.
- **Ink — surface `#0d1318`:** A navy-leaning near-black page background. Cards and nav rails step to `#152029` (surface-container); recessed areas like code windows dip to `#0f1317`. Hairline borders are `#283945` slate, often at 60–80% opacity.
- **Text — `#ffffff` + alpha steps:** Primary text is pure white; secondary and muted copy is literally `white` at 50% / 40% opacity (`on-surface-variant` `#ffffff80`), which keeps the palette perfectly tonal.
- **Syntax accents — secondary `#7dd3fc` (sky), tertiary `#e879f9` (magenta), `#34d399` (checkmark green):** Used inside code samples and sparingly in UI (the magenta "Contribute" card border, green checks in plan lists). Decorative, never for primary actions.

## Typography

All UI is **Inter** (variable, 100–900); code and micro-labels use **GeistMono**. Unlike Neon's light-weight headlines, Turso goes heavy: the hero is Inter **800** at 60px with −0.025em tracking and a tight 1.0 line-height — the mint second line carries the emphasis, not a different font.

- **Display:** 60px/800, 1.0 lh, −0.025em — two-line heroes where the second line turns mint.
- **Headlines:** 36px/700 for section titles (also −0.025em).
- **Titles:** 18–20px/600 for card headings and stats.
- **Body:** 16px/400; long-form paragraphs at 18px/32px; dense UI copy at 14px — all usually at 50% white opacity on dark.
- **Labels/nav/buttons:** 14px/600 — compact and semi-bold across nav, CTAs, filter chips.
- **Mono:** GeistMono 13px for code (1.85 line-height inside editor cards) and small-caps-style category labels.

## Layout

Centered **1280px** container on the ink field; content is organized in wide, clearly-separated sections (~56px rhythm) with hairline dividers. The hero splits headline-left / code-card-right above a full-width logo strip. Pricing uses five hairline-bordered plan cards; the blog uses a bordered title box, a centered category filter row, and 2-up article cards.

- **Rhythm:** 4px base; 12/16/24/32 for component spacing; **56px** is the signature section gap; 24px gutters.
- **Structure:** Bordered boxes and cards on the flat field — no full-bleed imagery; visual interest comes from code windows, syntax color, and the mint accent.
- **Nav:** 64px dark bar — mint TURSO logotype, centered links (14px/600), "Login" ghost + mint "Try Cloud free" pill. A solid mint announcement bar sits above it.

## Elevation & Depth

Nearly flat: hierarchy is hairlines + tonal steps (`#0d1318` → `#152029` → `#283945`). The only real shadow observed is a soft 10%-opacity dropdown shadow (`0 20px 25px -5px`), reserved for floating menus. Cards gain presence from their 1px slate border and slightly lighter fill, not elevation.

## Shapes

Two clear families: **pills (`9999px`)** for anything clickable — CTAs, the Monthly/Yearly billing toggle, nav hover states, tags — and **soft rectangles (8–16px)** for containers: 16px plan/feature cards, 12px code windows and blog cards, 8px small panels. Code-window file tabs are square (0px) with a mint active underline. Icons are simple filled/line glyphs; the logo is a geometric "T" mark.

## Motion & Micro-interaction

Quiet and standardized: almost everything transitions `color/background/border` over **0.15s** `cubic-bezier(0.4, 0, 0.2, 1)`. The file-tab and toggle indicators animate `left` over the same duration (sliding underline/pill). Hovered buttons deepen or brighten; nav items fade to muted white. There are no scroll-driven reveals or looping decorations observed — motion exists only to confirm interaction.

- **state-change:** ~150ms `cubic-bezier(0.4, 0, 0.2, 1)` — fills, text color, borders.
- **indicator-move:** ~150ms same curve — tab/toggle indicator sliding.
- **surface-enter:** soft 10% drop shadow + fade for dropdown menus.

## Voice & Content Strategy

- **Tone of voice:** Bold, thesis-driven, developer-fluent. Headlines make claims ("The database wasn't built for a world where every agent wants its own.", "Generous pricing for every stage."), and supporting copy argues architecture ("When a database is as lightweight as a file, creating one costs almost nothing.").
- **Capitalization:** Sentence case for headlines and buttons; the mint accent phrase is lowercase mid-sentence ("every stage."). Category labels are mono caps (`PRODUCT UPDATES`).
- **Terminology:** "database per agent, user, or tenant", "embedded replicas", "database branching", "point-in-time recovery", "Platform API". Plans: Free / Developer / Scaler / Pro / Enterprise.
- **Button and action labels:** Warm imperatives — "Start for free now", "Try Cloud free", "Read the news →", "Get started". Links append `→`.
- **Proof style:** Numeric and comparative — "$4.99/month", "500× lower tail latency than SQLite", "7× higher write throughput", head-to-head "Turso vs Neon/Postgres" pages.

## Components

- **Buttons:** 40px pills. `button-primary` = solid mint with black 14/600 text; `button-secondary` = slate/translucent pill with white text; ghost links ("Login") have no chrome. Hovered mint buttons dim slightly over ~150ms.
- **Announcement bar:** Full-width solid mint strip, black 14px/600 text, "Read the news →" link — the page's brightest element, matching the CTA color.
- **Cards:** `#152029` fill, 1px `#283945` border, 16px radius, ~32px padding; feature cards add mint icon chips. The "Contribute" card swaps its top border to magenta.
- **Code window:** `#0f1317` recessed panel, 12px radius, a row of flat file tabs (active = mint underline), GeistMono 13px with mint/magenta/sky syntax.
- **Billing toggle:** A dark pill track containing two pill options; the active option inverts to solid mint with black text, sliding over ~150ms.
- **Plan cards:** Hairline-bordered; plan name in white bold, price in mint (`stat-price`), feature lists with green checks, mint CTA only on the recommended tier.
- **Category badges:** GeistMono caps labels in mint ("PRODUCT UPDATES", "ENGINEERING") above blog titles.
- **Blog cards:** 12px-radius cards with duotone/gradient cover art, mono category label, bold title, author + date row.
- **Footer:** Dark, multi-column link directory over a green waveform/terrain motif; "Built in the open" cards for Contribute (magenta accent) and Discord (mint accent).

## Do's and Don'ts

- Do use mint `#4ff8d2` for exactly one emphasis span per headline and for all primary actions; don't spread it across body text or backgrounds beyond the announcement bar.
- Do keep fills mint-with-black-text; on dark surfaces mint appears only as text, underline, or small accents.
- Do set headlines at Inter 700–800 with −0.025em tracking and tight line-height; body and UI stay 14–16px at 400/600.
- Do build depth from the ink ladder (`#0d1318` → `#152029` → `#283945` hairlines), not shadows or gradients.
- Do render secondary text as literal white at 40–60% opacity rather than inventing gray hexes.
- Do keep clickable things pill-shaped and containers soft-rectangular (8–16px); file tabs stay square with a mint underline.
- Don't use magenta/sky outside syntax highlighting and the rare themed card accent — they're code palette, not brand palette.
- Don't introduce a second accent hue, light mode, or drop shadows beyond the soft menu shadow.
- Don't underline text links in body copy; mint color + `→` arrows carry affordance.
