Phosphor, a dark design system template for developer tools
A deep teal-black page, calm medium-weight headlines, uppercase mono on every control and one lime signal for the action that matters. Phosphor is the design system for developer tools, APIs and startup launches that want to look polished, not neon.
What Phosphor looks like
Test migrations on a copy of production
Offshoot gives each pull request its own Postgres branch, cloned from production in seconds, with personal data masked before anyone can query it.
Pull request opened10:42
#482 Add gift notes to orders
r.okafor wants to merge 3 commits into main
- migrations/0042_gift_note.sql+12
- app/orders/note.ts+48
- app/orders/note.test.ts+31
Offshoot, on the pull request4.1 s
$ offshoot branch create pr-482 Cloning main, 38.2 GB Masking 3 personal columns Running 1 migration ready pr-482 Schema diff posted to #482
BranchReady
pr-482
- Parent
- main
- Size
- 38.2 GB
- Masked
- 3 columns
Production data, none of the production risk
Every branch starts as an exact, private copy. Change it, break it, throw it away.
Copy-on-write branches
A 38 GB database branches in about four seconds, because nothing is copied until the branch writes.
Masked before it lands
Columns you tag as personal are rewritten on the way into every branch, never after.
Schema diff on the pull request
Offshoot comments the exact schema change, so reviewers read SQL instead of guessing.
Gone when you merge
Branches delete themselves when the pull request closes. Nothing to clean up, nothing left running.
Bars show pages each branch has changed. Pages shared with main are not billed.
Every branch, next to its pull request
See what each branch has changed and what state it is in, without opening a database client.
Open the dashboardPay for the branches you keep
Free while you try it. Billed by branch-hours after that.
MonthlyYearlyHobby
For side projects and trying it out.
$0/month
- 3 active branches
- 10 GB per branch
- Masking rules
Team
For teams shipping migrations every week.
$29/month, billed yearly
- 25 active branches
- 100 GB per branch
- Schema diff comments
- SSO
Scale
For large databases and strict audits.
Custom
- Unlimited branches
- Your own cloud region
- Audit log export
Open your next pull request with its own database
Connect GitHub and one Postgres database. Your first branch is ready before the coffee is.
A Postgres branch for every pull request.
Branches
Search branches⌘ KNew branch| Branch | Pull request | Status | Changed | Created |
|---|---|---|---|---|
| pr-482 | Add gift notes to orders | Ready | 2.6 GB | 4 min ago |
| pr-481 | Split the orders table | Migrating | 0.9 GB | 22 min ago |
| pr-479 | Drop a legacy index | Ready | 0.1 GB | 2 h ago |
| pr-476 | Backfill order currencies | Failed | None | 5 h ago |
| pr-474 | Rename vendor fields | Ready | 1.4 GB | 1 d ago |
| staging | Long-lived | Ready | 12.8 GB | 9 d ago |
Components
The components in DESIGN.md and their main states, built from the same tokens.
Button
Input
Tabs and badges
OverviewSchemaLogSettingsStat card, tiles and usage bar
Alert
Code block
1$ npm i -g offshoot 2$ offshoot login --token "osk_test_4f1a" 3 Signed in to acme-api
Feature card, plan and dialog
Schema diff on the pull request
Reviewers read the exact SQL change.
Team
For teams shipping migrations every week.
$29/month
- 25 active branches
- Schema diff comments
Delete branch pr-476?
Its data and connection string are removed at once. The pull request stays open. This cannot be undone.
Scaled down so you can take in the whole page at a glance. Scroll inside the window, switch pages, or flip between desktop and mobile.
How to use Phosphor
You do not need to know design. The design system knows it for you, and your AI coding agent does the work.
- Get accessPro Monthly or Lifetime unlocks Phosphor and every other design system on this site.
- Add it to your AI tool onceAdd our server to Claude Code, Claude or Cursor and sign in. There is no key to copy.
- Ask for PhosphorYour AI saves DESIGN.md, restyles shared components first, then each page, and leaves your features alone.
Where Phosphor fits
- Developer tools, CLIs, SDKs and APIs
- Databases, hosting and infrastructure products
- AI and SaaS launch pages with a product demo
- Startup landing, pricing and changelog pages
Pick something else when
- Readers spend long stretches reading in daylight
- The brand is warm, playful or lifestyle
- The screen is a dense admin table (use Console)
A look inside Phosphor
What your AI receives: one DESIGN.md it follows on every change, plus CSS variables and a Tailwind theme. Here is part of it.
Color, and what each one is for
- bg
#071113Page background, sidebar, inputs, badges, the terminal cell, URL fields - surface
#0f1a1cCards, panels, stat cards, plans, code blocks, dialogs - raised
#162325Tiles inside a panel, selected rows, active tabs, secondary buttons, tags - text
#eef3f1Headings, body text on cards, the light button fill - muted
#a5b0b4Paragraphs, ledes, labels, help text, table headers - subtle
#818f93Line numbers, placeholders, inactive icons, input outlines, diagram lines - border
#1f2d30Card outlines, dividers, table rules, usage-bar tracks - primary
#b4f78cLime: see the lime roster below - primary-hover
#c8fba9Primary button hover fill - on-primary
#12260aText and icons onprimary, the toggle knob when on - accent
#b4f78cThe same lime used as text and lines: links, focus, the highlighted phrase - success
#b4f78cReady and running status dots (the same lime) - warning
#f2c46dIn-progress status, usage at 80% or more of a limit - danger
#ff7b70Errors, failed states, destructive actions, removed diff lines - scrim
rgba(3,9,10,0.76)The dimmed page behind a dialog
Typography
The full file covers
- ColorEvery token and the one job it does
- TypographyFonts, loading and an 11-step scale
- Spacing and layoutScale, container, grid and density
- Shape and depthRadius, borders and when shadows are allowed
- ComponentsSizes and every state, for each component
- MotionDurations, easing, what may move
- Icons and imageryIcon style and the kind of images that fit
- Voice and microcopyTone, button labels, error messages
- AccessibilityContrast, focus and touch targets
- Do and don'tWhat makes the style work, and what breaks it
- Rules for the agentHow your AI must use the file, and when to ask you
One rule from the file
Button
Height 44px, padding 0 20px, radius 10px, mono-label text, optional 14px chevron (2.75 stroke) 8px after the label.
Primary: primary fill, on-primary label. Hover: primary-hover fill plus the primary shadow, 150ms.
Light: text fill, bg label. The one button in the navigation bar ("Sign in"). Hover: muted fill.
Secondary: raised fill, 1px border, text label. Hover: border subtle.
Ghost: no fill, no padding, text label with a chevron. Hover: label primary. Sits beside a primary button or under a split section's lede.
Destructive: no fill, 1px danger outline at 40%, danger label. Hover: danger at 10% behind it. Only in confirmations and detail panels.
Small: height 34px, padding 0 16px.
Disabled: 40% opacity, no shadow. Loading: the verb turns into its -ing form with an ellipsis ("Create branch" → "Creating…"), width kept, aria-busy="true".
Focus: 2px accent outline with 2px offset.
Link-button: mono-label in accent with a 14px chevron and a 6px gap, no box ("CLI reference ›"). Inside a sentence a link is body text in accent, underlined with a 3px offset.
The full file has rules like this for:
- Button
- Input
- Navigation
- Product strip (hero)
- Feature card
- Panel and list rows
- Tile, stat card and usage bar
- Definition rows
- Code block
- Segmented tabs
- Badge, pill and tag
- Table
- Pricing plan
- Alert
- Dialog
- Closing band
- Footer
When a dark developer design system is the right choice
Pick Phosphor when the people reading your page write code: they open a terminal before they open a pitch deck, and they trust a product more when they can see the command it runs. Phosphor leads with that proof. The first screen pairs one plain headline with a product strip that shows the input, the work and the result side by side, and the rest of the page shows the product in lists, diagrams and usage bars instead of stock illustrations.
Many AI-built developer sites land on the same dark look: pure black, purple gradients, glowing borders on every card. Phosphor stays dark but quieter. The ground is a deep teal-black, headlines are medium weight rather than bold, and lime appears only on the action, the live status and the last phrase of the headline.
What makes Phosphor feel precise
- Mono for everything you press. Navigation, buttons and tabs are uppercase Roboto Mono, so controls read like commands. Headlines stay in Archivo and paragraphs in Roboto.
- One lime signal. Lime does four jobs, each listed in the file: action, focus, live status, and a few chosen words such as the end of the hero headline. It fills only the primary button and an active toggle; everywhere else it is a line, a dot or text.
- Light from below. Cards and the closing band carry a faint lime glow rising from the bottom edge, and illustrations sit on a dot grid that fades at the edges.
- Three dark steps. Page, card and tile. Depth comes from these three surfaces and a 1px line, not from heavy shadows.
How to adapt Phosphor to your brand
The preview shows Offshoot, a made-up database tool: its commands, prices and numbers are samples for you to replace. To change the signal color, replace primary, accent and success together with your brand color, keep it light enough for 4.5:1 contrast on the dark ground, and pick a matching dark on-primary. Then fill the hero product strip with your own flow: what goes in, what your product does, what comes out. For an API that is a request, the call and the response; for an AI tool it can be a prompt, the run and the result.
Ask your AI tool to apply Phosphor inside the existing project. It writes DESIGN.md, audits your current styles and restyles shared components first, without touching features.
Phosphor questions
How is Phosphor different from Night Shift?
Both are dark. Night Shift is a neutral black control room with mint and violet, bold headlines and trace panels for monitoring tools. Phosphor uses a teal-black ground, one lime color, medium-weight headlines, mono uppercase controls and glowing feature cards, so it suits launch pages and developer products that want a more polished marketing look.
Do I need a terminal in my hero?
No. The hero strip should show your product doing its job in three steps: the input, the work and the result. For a CLI the middle step is a terminal; for other products it can be an API call, an AI run or a processing step, drawn with the same tokens.
Does Phosphor include a light mode?
Not in this file. Phosphor is defined as a dark system. If you need light mode, ask your AI to add a second token set to DESIGN.md first and check the contrast yourself before it restyles components.
