Editor Dark
A code editor's chrome: muted surfaces, syntax-colored accents, monospace figures.
Construction · Well
Content sits in a shallow well cut into the page: a slightly darker floor, a soft shade at the top of the cut, and a light line where it comes back up.
Every style renders this same screen, so the only thing changing between two of them is the style. The component above is the file below, running.
Prompt
Design this interface in the Editor Dark style. Muted dark surfaces with a low-saturation palette borrowed from syntax highlighting. Figures and identifiers are monospace; chrome stays out of the way. Build every
The numbers in this prompt are printed from the tokens below, so it cannot drift from what the specimen renders.
What carries the look
- muted dark surfaces
- syntax-derived accents
- monospace identifiers
- quiet chrome
What this style refuses
- saturated brand color
- large radii
- shadows
- decorative headings
The refusals are the half that keeps generated interfaces from converging — a prompt that only says what to add gets the default look.
Tokens
Palette
#1e222a#16191f#252b34#1c2028#353c47#2c323c#e6e9ef#e6e9ef#98a0ae#959daa#7aa2f7#7aa2f7#0a1020#0a1020Shape and type
Measured contrast — body 13.11:1 light, 14.47:1 dark; secondary text 6.05:1 and 6.44:1. Every pair clears WCAG AA in both themes, checked on each build.
Specimen · Specimen.tsx
import type { CSSProperties } from "react";
/**
* Vibary · Editor Dark
*
* A code editor's chrome: muted surfaces, syntax-colored accents, monospace figures.
*
* One complete product screen, rendered from the token object below —