#201d1d--color-primary
OpenCode / Design system
The open source coding agent.
A terminal-native marketing system rendered entirely in Berkeley Mono — every word on the page, from the hero headline down to the footer fine print, is monospaced. The page itself reads like a manpage or a static-site README: warm cream canvas (`#fdfcfc`), nearly-black ink (`#201d1d`), 4px-radius rectangles for the few interactive elements, and bracketed…
01 / Foundation
Color tokens.
Real values from the packaged OpenCode design reference. Semantic names remain searchable in CSS and JSON exports.
#fdfcfc--color-on-primary
#201d1d--color-ink
#0f0000--color-ink-deep
#302c2c--color-charcoal
#424245--color-body
#646262--color-mute
#6e6e73--color-stone
#9a9898--color-ash
#fdfcfc--color-canvas
#f8f7f7--color-surface-soft
#f1eeee--color-surface-card
#201d1d--color-surface-dark
#302c2c--color-surface-dark-elevated
rgba(15,0,0,0.12)--color-hairline
#646262--color-hairline-strong
#fdfcfc--color-on-dark
#9a9898--color-on-dark-mute
02 / Typography
Voice at every scale.
Documented sizes, weights, line heights and tracking. Proprietary families fall back to an open-source preview substitute.
Font families
03 / Geometry
Rhythm and shape.
Spacing and corner geometry are presented directly from the package rather than normalized into a generic scale.
Spacing scale
1px
4px
8px
12px
16px
24px
32px
96px
Border radius
0px
4px
9999px
Shadows
No shadow tokens are documented for OpenCode. Surface contrast, borders and composition create hierarchy instead.
04 / Depth
Surface hierarchy.
Three working levels show how the brand creates hierarchy using contrast, borders and restrained elevation.
#fdfcfc
#f8f7f7
#201d1d
05 / Components
Brand behavior.
Live controls combine the documented palette, typography, geometry and interaction hierarchy.
Solid terminal command
.button-primary
Bracketed text action
.button-secondary
TUI output panel
.brand-card
Brand surface, type and border treatments working as one component.
Command input
input:focus
06 / Guidelines
Keep it recognizable.
Concrete implementation guardrails for preserving the visual character of OpenCode.
Do / Embrace
- Use monospaced type for every visible word.
- Keep the warm cream canvas and near-black ink.
- Use [ + ] and [ − ] markers as structural punctuation.
- Separate sections with single hairline rules.
Don't / Avoid
- Do not introduce non-monospace display fonts.
- Do not add gradients, glows or soft shadows.
- Do not round rectangles beyond 4px.
- Do not replace terminal density with oversized marketing cards.