PlanetScale DESIGN.md

Brands

Database platform design with official black-and-white restraint, purple primary brand color, and clean deploy-request workflows.

Raw DESIGN.md

At a glance

Group
Brands
Main color
#5b34daBlue design systems
Fonts
InterSF Mono

Colors in this file

  • #ffffff

    background

  • #5b34da

    background

  • #000000

    background

  • #f8fafc

    background

  • #e5e7eb

    Unnamed

  • #eee9ff

    Unnamed

  • #6b7280

    Unnamed

  • #16a34a

    Unnamed

Database platform design with official black-and-white restraint, purple primary brand color, and clean deploy-request workflows.

1. Visual Theme & Atmosphere

PlanetScale should feel like a precise database platform for teams that care about schema changes, branching, deploy requests, and production safety. The design language is restrained and technical with strong typography and sparse color.

  • Mood: precise, controlled, developer-native, reliable, minimal
  • Density: medium, with database dashboards and workflow panels
  • Character: black/white foundation, purple brand accent, monospace diagrams, clean product cards

2. Color Palette & Roles

TokenHexRole
--ps-black#000000Primary text and dark surface
--ps-white#FFFFFFMain surface
--ps-purple#5B34DAPrimary brand accent
--ps-purple-soft#EEE9FFLight active state
--ink-muted#6B7280Secondary text
--surface-page#F8FAFCPage background
--surface-card#FFFFFFCards and panels
--border-default#E5E7EBDividers and controls
--success#16A34ADeploy success / healthy state

Keep the palette mostly black, white, and neutral. Purple should clarify brand and primary action.

3. Typography Rules

css--font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Roboto Mono", Menlo, monospace;
ElementSizeWeightLine Height
Hero Display60px7001.05
Page Title40px7001.12
Section Title30px6501.2
Panel Title18px6501.3
Body16px4001.6
Code13px5001.55
Label13px6001.35

4. Component Stylings

css.button-primary {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #5B34DA;
  border-radius: 10px;
  background: #5B34DA;
  color: #FFFFFF;
  font: 600 14px/1 Inter, sans-serif;
}

.database-card {
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 18px;
}

.deploy-request {
  border-left: 3px solid #5B34DA;
  border-radius: 12px;
  background: #F8FAFC;
  padding: 16px;
}

.code-panel {
  border-radius: 14px;
  background: #000000;
  color: #FFFFFF;
  padding: 16px;
}

5. Layout Principles

TokenValueUsage
--space-28pxRow spacing
--space-416pxPanel rhythm
--space-524pxCard padding
--space-848pxMajor sections

Organize around organizations, databases, branches, deploy requests, schema changes, and production workflows.

6. Depth & Elevation

css.shadow-card { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06); }
.shadow-panel { box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12); }

Favor borders and clean alignment. Use depth only for active workflow panels and overlays.

7. Do's and Don'ts

Do make schema workflows explicit. Do use monospace for queries, branches, and diagrams. Do not make the interface colorful. Do not hide production safety warnings.

8. Responsive Behavior

BreakpointMin WidthBehavior
Mobile0pxStack database cards and workflow panels
Tablet768pxTwo-column dashboard sections
Desktop1200pxFull database sidebar, branches, deploy requests, and code panels

Allow code and ASCII diagrams to scroll horizontally on mobile.

9. Agent Prompt Guide

Design like PlanetScale: black-and-white database platform restraint, purple primary actions, clean branch and deploy-request cards, monospace schema details, and production-safe workflow clarity.

Use it with your agent

Save the file as DESIGN.md in your project root, then ask your agent to follow it for UI work. Or let the agent fetch it over MCP.

Download

curl -o DESIGN.md https://www.uiskillbook.com/design-md/planetscale.md

MCP server

https://www.uiskillbook.com/mcp

MCP tool call

get_design_md({ "slug": "planetscale" })