OpenCode Brand
OpenCode Brand
opencode.ai
Design System

Opencode.ai

OpenCode's website embodies a terminal-native, monospace-first aesthetic that reflects its identity as an open source AI coding agent. The entire visual system is built on a stark dark-on-light contrast using a near-black background (`#201d1d`) with warm off-white text (`#fdfcfc`). This isn't a generic dark theme -- it's a warm, slightly reddish-brown dark t

#201d1dprimary#007affaccentInter
01

Color Palette

Top 18 hex values found in §2 of DESIGN.md, ranked by usage frequency.

#9a9898
#9a9898
#646262
#646262
#201d1d
#201d1d
#fdfcfc
#fdfcfc
#302c2c
#302c2c
#f1eeee
#f1eeee
#007aff
#007aff
#0056b3
#0056b3
#004085
#004085
#ff3b30
#ff3b30
#d70015
#d70015
#a50011
#a50011
#30d158
#30d158
#ff9f0a
#ff9f0a
#cc7f08
#cc7f08
#995f06
#995f06
#6e6e73
#6e6e73
#424245
#424245
Primary
#201d1d
Accent
#007aff
Background
#201d1d
Foreground
#fdfcfc
02

Typography

01 / TYPE SCALE

Type Scale

Rendered in system-ui to clearly show scale & weight. See the cards below for the brand's actual fonts.
Design at scaleDisplay XXL
3rem (48px)·600·line-height: 1.25·letter-spacing: -0.01emDisplay
Section headingHeading XL
2rem (32px)·600·line-height: 1.25Heading 1
SubheadingHeading L
1.5rem (24px)·600·line-height: 1.4Heading 2
Body text. The quick brown fox jumps over the lazy dog. Designed for readable line-height in long-form content.Body M
1rem (16px)·400·line-height: 1.5Body
Supporting textSmall S
0.75rem (12px)·400·line-height: 1.5Small
Caption · timestamp · 2026Caption XS
0.75rem (12px)·400·line-height: 1.5Caption
BADGE / LABELSmallest XXS
0.625rem (10px)·500·line-height: 1.5·letter-spacing: 0.06emSmallest
02 / FONTS USED BY THIS BRAND

2 fonts extracted from DESIGN.md

License + install link per font. Brand-only fonts mean the company uses a custom typeface that isn't publicly available.
Primary
Inter
Open · OFL
Designed by Rasmus Andersson. Variable font with full weight range.
Install via Google Fonts
Primary
Berkeley Mono
Commercial
Used by Linear, OpenCode. Foundry moved from berkeleygraphics.com to usgraphics.com.
Source · US Graphics
03

Buttons

04

Cards

Total Revenue
$45,231
+20.1% from last month
Subscriptions
2,350
+18.2% from last month
Active Now
573
-2.4% from last month

Featured product

A wider example card showing how content sits inside the radius and shadow combination defined by this brand. Card radius is capped at 16px even on pill systems (LINE/Wise/Spotify) so large surfaces stay readable.

05

Form Elements

06

Badges & Tabs

Badges (radius capped to 8px)
DefaultSecondaryOutlineDestructiveSuccess
Tabs (pill / underline)
07

Spacing & Radius

Spacing Scale
2px
4px
6px
8px
12px
16px
20px
24px
Component Radius (per-type)
Button
4px
Input
4px
Card
4px
Dialog
4px
Badge
4px
08

Elevation

Shadow recipes parsed from §6 of DESIGN.md, or default 5-tier scale if none found.

Subtle
0 1px 2px 0 rgba(0,0,0,0.05)
Default
0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06)
Elevated
0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)
Floating
0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05)
Modal
0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04)