OpenCode
A developer-focused, monospace-driven design system characterized by a clean light aesthetic, high-contrast dark interactive elements, sharp rectangular geometry with subtle 4px/6px rounded accents, and terminal-inspired UI components.
Works with
Claude Code·Cursor·Codex·Gemini CLI·Copilot·v0·Lovable·Bolt·Windsurf·Replit
Color Palette
Accent
Neutrals
Typography
heading-xl
38px · 700 · 1.5
The quick brown fox jumps
heading-lg
20px · 700 · 1.4
The quick brown fox jumps
heading-md
16px · 700 · 1.5
The quick brown fox jumps
body
16px · 400 · 1.5
The quick brown fox jumps
body-medium
16px · 500 · 1.5
The quick brown fox jumps
caption
14px · 400 · 1.75
The quick brown fox jumps
Spacing & Shape
Spacing
| Name | Value | Preview |
|---|---|---|
| xs | 4px | |
| sm | 12px | |
| md | 16px | |
| lg | 24px | |
| xl | 64px | |
| section | 96px | |
| container | 1078px | |
| grid-gap | 40px |
Border Radius
| Name | Value | Preview |
|---|---|---|
| none | 0px | |
| button | 4px | |
| input | 6px | |
| card | 6px | |
| tab-top | 6px 6px 0px 0px |
FAQ
- What colors does OpenCode use?
- OpenCode's core palette includes #fdfcfc, #f8f7f7, #f5f5f7, #201d1d, #000000. The full color set with usage roles (canvas, ink, surfaces, accent, semantic) is documented in the OpenCode DESIGN.md.
- What font does OpenCode use?
- OpenCode's primary typeface is \"Berkeley Mono\. The complete type scale (sizes, weights, line-height and letter-spacing per role), with an open substitute where the original is licensed, is documented in the DESIGN.md.
- What is the OpenCode design system?
- A developer-focused, monospace-driven design system characterized by a clean light aesthetic, high-contrast dark interactive elements, sharp rectangular geometry with subtle 4px/6px rounded accents,…