Best For
terminal / CLI / command line
Turn a website into a terminal session: phosphor-green mono text, prompt prefixes, paired command-and-output blocks, and a tmux status bar. Tool authenticity as developer identity.
Best For
terminal / CLI / command line
Primary Move
Use font-mono everywhere, no exceptions
Watch Out
Never use sans-serif or serif fonts (font-sans, font-serif)
design.md
One document describes the colour roles, type rules, spacing and component construction behind this style. Copy or download it into Claude Code or Codex.
The whole site is one terminal session: command, output, comment, status bar.
Theme: dark
Developer Terminal organizes the whole interface as a shell session: phosphor-green monospace on near black, content always structured as paired command and output, comments prefixed with # in blue-grey, lists aligned like ls -la, tables with ps aux headers, a tmux status bar at the bottom, and a blinking cursor block at input points. Its prohibitions are thorough — no sans or serif faces anywhere, no light grounds, no gradients or glass, no photography or illustration, no more than four accents, no heavy shadow. Inside a terminal there are only characters.
| Name | Value | Token | Role |
|---|---|---|---|
| Phosphor Green | #4af626 | --color-phosphor | Primary text and the cursor — the only identifier, like a CRT's phosphor. |
| Terminal Black | #0a0e12 | --color-terminal-black | The page ground — a deep blue-black that makes green read as emitting rather than reflecting. |
| Cyan | #8be9fd | --color-cyan | The first accent on paths, links and keywords — the string color in syntax highlighting. |
| Magenta | #ff79c6 | --color-magenta | The second accent on function names and commands. |
| Amber | #ffb86c | --color-amber | The third accent on warnings and arguments — the last one a terminal needs. |
| Comment Grey | #6272a4 | --color-comment-grey | Comments, metadata and disabled states — always one step dimmer than the text. |
| Role | Family | Weight | Size | Line Height | Letter Spacing | Token |
|---|---|---|---|---|---|---|
| heading | — | 700 | 28px | 1.25 | — | --text-heading |
| subheading | — | 700 | 20px | 1.3 | — | --text-subheading |
| body-lg | — | 400 | 16px | 1.55 | — | --text-body-lg |
| body | — | 400 | 14px | 1.6 | — | --text-body |
| body-sm | — | 400 | 13px | 1.55 | — | --text-body-sm |
| label | — | 400 | 12px | 1.4 | 0.08em | --text-label |
Base unit: 4px Density: compact
| Name | Value | Token |
|---|---|---|
| 4 | 4px | --spacing-4 |
| 8 | 8px | --spacing-8 |
| 12 | 12px | --spacing-12 |
| 16 | 16px | --spacing-16 |
| 24 | 24px | --spacing-24 |
| 32 | 32px | --spacing-32 |
| 48 | 48px | --spacing-48 |
| Element | Value |
|---|---|
| cards | 2px |
| buttons | 2px |
| inputs | 2px |
Role: The command-and-output pair — the core component
The command line opens with $, spaced 8px from the command in white or phosphor green; output lines indent 16px in a dimmer tone. No blank line sits between command and output, while 16px separate one pair from the next. Everything runs 13px monospace on 1.6 leading with no border or ground.
Role: Panels and divided regions
A #0f141a fill, 2px radius, a 1px #1f2937 border, 16px padding, no shadow. A 12px blue-grey path header such as ~/projects may cap the panel. Panels sit 16px apart.
Role: The blinking cursor
An 8px by 16px phosphor-green block trailing a heading or input text, toggling visibility every second on steps(1) with no fade. One per screen at most.
Role: The tmux-style status bar
Pinned to the bottom at 24px tall on a 15% phosphor ground with a 1px #1f2937 top border. The left shows session and branch at 12px uppercase 0.08em; the right shows time and a CPU placeholder. No radius anywhere on the bar.
Role: ls-style lists and tables
Lists align into three or four monospace columns (permissions, size, time, name) separated by fixed widths rather than tabs. Headers sit in 12px uppercase blue-grey above a 1px #1f2937 rule. Row height is 24px.
| Level | Name | Value | Purpose |
|---|---|---|---|
| 0 | Terminal Black | #0a0e12 | 页面底 |
| 1 | Panel | #0f141a | 面板与卡片 |
none — the terminal is flat0 0 0 1px #4af626No imagery. Only characters, ASCII art and block-character progress bars such as ███░░. Icons are excluded because they break the pure-text premise; use characters like → and » instead.
Capped at 1100px with 16px padding, sections 32px apart. The page reads as a scrolling session log: a $ command, then output, then comments, then the next command. Measure stays under one hundred characters to match terminal reading.
QUICK COLOR REFERENCE:
#4af626#0a0e12#0f141a#8be9fd#ff79c6#6272a4EXAMPLE COMPONENT PROMPTS:
:root {
/* Colors */
--color-phosphor: #4af626;
--color-terminal-black: #0a0e12;
--color-cyan: #8be9fd;
--color-magenta: #ff79c6;
--color-amber: #ffb86c;
--color-comment-grey: #6272a4;
/* Typography — Font Families */
--font-mono: 'JetBrains Mono', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-heading: 28px;
--leading-heading: 1.25;
--text-subheading: 20px;
--leading-subheading: 1.3;
--text-body-lg: 16px;
--leading-body-lg: 1.55;
--text-body: 14px;
--leading-body: 1.6;
--text-body-sm: 13px;
--leading-body-sm: 1.55;
--text-label: 12px;
--leading-label: 1.4;
--tracking-label: 0.08em;
/* Typography — Weights */
--font-weight-regular: 400;
--font-weight-bold: 700;
/* Spacing */
--spacing-unit: 4px;
--spacing-4: 4px;
--spacing-8: 8px;
--spacing-12: 12px;
--spacing-16: 16px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
/* Layout */
--page-max-width: 1100px;
--section-gap: 32px;
--card-padding: 16px;
--element-gap: 8px;
--density: compact;
/* Border Radius */
--radius-cards: 2px;
--radius-buttons: 2px;
--radius-inputs: 2px;
/* Surfaces */
--surface-terminal-black: #0a0e12;
--surface-panel: #0f141a;
}
Component Templates
FAQ
@keyframes developer-terminal-blink {
0%, 49% { opacity: 1; }
50%, 100% { opacity: 0; }
}
.developer-terminal-cursor {
display: inline-block;
width: 0.55em;
height: 1.1em;
background: #4af626;
vertical-align: text-bottom;
animation: developer-terminal-blink 1.06s steps(1, end) infinite;
}
.developer-terminal-prompt::before {
content: "visitor@stylekit:~$ ";
color: #8be9fd;
}
.developer-terminal-glow {
text-shadow: 0 0 8px rgba(74, 246, 38, 0.35);
}
/* Optional faint CRT scanline texture. Apply to a positioned container. */
.developer-terminal-scanlines::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background: repeating-linear-gradient(
to bottom,
rgba(139, 233, 253, 0.025) 0px,
rgba(139, 233, 253, 0.025) 1px,
transparent 1px,
transparent 3px
);
}
.developer-terminal-selection ::selection {
background: rgba(74, 246, 38, 0.3);
color: #4af626;
}Related Styles
Explore these styles for ready-made tokens and components.
Developer Terminal and Asymmetric Grid sit closest to each other. The table below gives the real differences in color, use case, and tags, so the choice between them is made on facts.
| Attribute | Developer Terminal | Asymmetric Grid |
|---|---|---|
| Primary color | #4AF626 | #0f0f0f |
| Secondary color | #0A0E12 | #ffffff |
| Best for | terminal / CLI / command line | asymmetric grid / broken grid layout / asymmetrical layout |
| Unique tags | — | — |
Developer Terminal does not imitate how a terminal looks; it borrows how a terminal speaks. For developers, the terminal is home -- the most honest, efficient, decoration-free tool they own. Building a personal site as a terminal session is a statement: my identity needs no marketing page, the tool itself is my business card.