OpenCode
Identity
AI & LLM
Bundled OpenDesign package for OpenCode, derived from curated DESIGN.md, tokens.css, and components.html fixtures.
Typography
Ag
Ag
Ag
--text-4xl · 48pxThe quick brown fox--text-3xl · 38pxThe quick brown fox--text-2xl · 28pxThe quick brown fox--text-xl · 22pxThe quick brown fox--text-lg · 18pxThe quick brown fox--text-base · 16pxThe quick brown fox--text-sm · 14pxThe quick brown fox--text-xs · 12pxThe quick brown foxPalette
#201d1dPage background — defines the brand canvas.#302c2cCard / lifted container background.var(--surface)Tertiary surface tier (kami warm-sand).#fdfcfcPrimary text color.#c8c6c4Secondary text tier (kami dark-warm).#9a9898Subtext / captions.#6e6e73Tertiary FG / metadata tier (kami stone).#464343Default border / card edge.#302c2cInner row separator that should not visually compete.#007affBrand accent. ≤2 visible uses per screen (lint enforced).#ffffffFG when --accent is the bg.#30d158Success state.#ff9f0aWarning state.#ff3b30Danger state.Also named in DESIGN.md
#646262Stronger borders, outline rings on interactive elements.#f1eeeeLight mode surface, subtle background variation.#0056b3Darker blue for hover states.#004085Deepest blue for pressed/active states.#d70015Darker red for hover on danger elements.#a50011Deepest red for pressed danger states.Imagery & layout
Radius
4px6px8px9999pxSpacing
--space-1 · 4px--space-2 · 8px--space-3 · 12px--space-4 · 16px--space-5 · 20px--space-6 · 24px--space-8 · 32px--space-12 · 48pxElevation
--elev-raisedLayout
No decorative dividers. Sections are separated by generous vertical spacing (48-96px) rather than borders or background changes.
Layout rules
- Base unit: 8px
- Fine scale: 1px, 2px, 4px (sub-8px for borders and micro-adjustments)
- Standard scale: 8px, 12px, 16px, 20px, 24px
- Extended scale: 32px, 40px, 48px, 64px, 80px, 96px
- The system follows a clean 4/8px grid with consistent doubling
- Max content width: approximately 800-900px (narrow, reading-optimized)